diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/mgcp/mgcp.h | 3 | ||||
-rw-r--r-- | include/mgcp/mgcp_internal.h | 2 | ||||
-rw-r--r-- | include/ss7_vty.h | 1 |
3 files changed, 5 insertions, 1 deletions
diff --git a/include/mgcp/mgcp.h b/include/mgcp/mgcp.h index d5574ed..50b11cc 100644 --- a/include/mgcp/mgcp.h +++ b/include/mgcp/mgcp.h @@ -122,6 +122,7 @@ struct mgcp_trunk_config { struct mgcp_endpoint *endpoints; /* Special MGW handling */ + char *virtual_domain; int target_trunk_start; int vad_enabled; @@ -165,7 +166,7 @@ struct mgcp_config { void *data; /* trunk handling */ - struct mgcp_trunk_config trunk; + struct llist_head vtrunks; struct llist_head trunks; /* only used for start with a static configuration */ diff --git a/include/mgcp/mgcp_internal.h b/include/mgcp/mgcp_internal.h index d499166..f0faf52 100644 --- a/include/mgcp/mgcp_internal.h +++ b/include/mgcp/mgcp_internal.h @@ -154,7 +154,9 @@ static inline int endp_back_channel(int endpoint) } struct mgcp_trunk_config *mgcp_trunk_alloc(struct mgcp_config *cfg, int index); +struct mgcp_trunk_config *mgcp_vtrunk_alloc(struct mgcp_config *cfg, const char *); struct mgcp_trunk_config *mgcp_trunk_num(struct mgcp_config *cfg, int index); +struct mgcp_trunk_config *mgcp_trunk_domain(struct mgcp_config *cfg, const char *); void mgcp_trunk_free(struct mgcp_trunk_config *cfg); diff --git a/include/ss7_vty.h b/include/ss7_vty.h index a0368bd..da599e5 100644 --- a/include/ss7_vty.h +++ b/include/ss7_vty.h @@ -28,6 +28,7 @@ enum ss7_vty_node { MGCP_NODE = _LAST_OSMOVTY_NODE + 1, TRUNK_NODE, + VTRUNK_NODE, CELLMGR_NODE, SS7_NODE, LINKSETS_NODE, |