Compare commits

..

5 Commits

Author SHA1 Message Date
Alexander Couzens 1e33b7dd37 example config: some thoughs about static profiles 2022-06-16 17:05:18 +02:00
Alexander Couzens 553dc46cb6 WIP: PCRF: use a harded profile as session data
Allow to attach with default bearer without mongodb. No secondary bearer or IMS is supported
right now.
2022-06-16 17:05:18 +02:00
Alexander Couzens 3e63d41699 FIXME: remove dependency mongodb. FIXME: use get_option() to dynamic depend on mongodb 2022-06-16 17:05:18 +02:00
Alexander Couzens 41894d8188 PCRF: allow to build without mongodb 2022-06-16 17:05:18 +02:00
root c1e0dee55b FIXME: libsctp: add define HAVE_NETINET_SCTP_H to allow build on debian bullseye
This is a quick fix. Need to investigate why the autodetect doesn't work
or the compilation otherwise fails.
2022-06-16 16:58:45 +02:00
3 changed files with 1 additions and 7 deletions

View File

@ -28,7 +28,6 @@
extern "C" {
#endif /* __cplusplus */
typedef struct ogs_mongoc_s {
bool initialized;
const char *name;

View File

@ -19,11 +19,6 @@
#include "ogs-dbi.h"
/* how does this function work?!
*
*
*/
#ifdef OGS_DBI_WITH_MONGODB
int ogs_dbi_session_data(char *supi, ogs_s_nssai_t *s_nssai, char *dnn,
ogs_session_data_t *session_data)

View File

@ -292,7 +292,7 @@ int pcrf_db_qos_data(
ogs_free(supi);
ogs_thread_mutex_unlock(&self.db_lock);
return 0;
return rv;
}
void pcrf_sess_set_ipv4(const void *key, uint8_t *sid)