diff options
Diffstat (limited to 'src/router/call.h')
-rw-r--r-- | src/router/call.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/router/call.h b/src/router/call.h index e782c26..255ee20 100644 --- a/src/router/call.h +++ b/src/router/call.h @@ -28,6 +28,7 @@ typedef struct call_relation { struct call_relation *next; int num; /* number counter for debugging */ struct call *call; /* points to the call */ + osmo_cc_endpoint_t *cc_ep; /* what endpoint is used for this relation */ uint32_t cc_callref; /* callref for each relation */ const char *sdp; /* received SDP? */ int tones_recv; /* are inband tones available? */ @@ -89,7 +90,7 @@ struct telephone_event { uint16_t duration; }; -int call_init(osmo_cc_endpoint_t *ep, const char *_routing_script, const char *_routing_shell); +int call_init(osmo_cc_endpoint_t *cc_ep1, osmo_cc_endpoint_t *cc_ep2, const char *_routing_script, const char *_routing_shell); void call_exit(void); int call_handle(void); void cc_message(osmo_cc_endpoint_t *ep, uint32_t callref, osmo_cc_msg_t *msg); |