MNCC<->SIP bridge; attaches to OsmoMSC to interface with external SIP VoIP telephony
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
435 B

#pragma once
#include "mncc.h"
#include "sip.h"
struct app_config {
struct {
const char *local_addr;
int local_port;
const char *remote_addr;
int remote_port;
struct sip_agent agent;
} sip;
struct {
const char *path;
struct mncc_connection conn;
} mncc;
//int use_imsi_as_id;
extern struct app_config g_app;
void app_setup(struct app_config *cfg);
void app_mncc_disconnected(struct mncc_connection *conn);