提交 0180852f authored 作者: Michael Jerris's avatar Michael Jerris

this should not have compiled, but gcc didn't complain. fix for MODENDP-32

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6086 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 fa7d8da5
...@@ -1062,7 +1062,7 @@ static switch_call_cause_t wanpipe_outgoing_channel(switch_core_session_t *sessi ...@@ -1062,7 +1062,7 @@ static switch_call_cause_t wanpipe_outgoing_channel(switch_core_session_t *sessi
outbound_profile->destination_number = dest; outbound_profile->destination_number = dest;
if (!(*new_session = switch_core_session_request(&wanpipe_endpoint_interface, pool))) { if (!(*new_session = switch_core_session_request(wanpipe_endpoint_interface, pool))) {
cause = SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER; cause = SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER;
goto error; goto error;
} }
...@@ -1510,7 +1510,7 @@ static int on_ring(struct sangoma_pri *spri, sangoma_pri_event_t event_type, pri ...@@ -1510,7 +1510,7 @@ static int on_ring(struct sangoma_pri *spri, sangoma_pri_event_t event_type, pri
pri_acknowledge(spri->pri, pevent->ring.call, pevent->ring.channel, 0); pri_acknowledge(spri->pri, pevent->ring.call, pevent->ring.channel, 0);
switch_mutex_unlock(chanmap->mutex); switch_mutex_unlock(chanmap->mutex);
if ((session = switch_core_session_request(&wanpipe_endpoint_interface, NULL))) { if ((session = switch_core_session_request(wanpipe_endpoint_interface, NULL))) {
private_object_t *tech_pvt; private_object_t *tech_pvt;
char ani2str[4] = ""; char ani2str[4] = "";
//wanpipe_tdm_api_t tdm_api; //wanpipe_tdm_api_t tdm_api;
...@@ -1817,7 +1817,7 @@ static void handle_call_start(ss7boost_handle_t *ss7boost_handle, ss7boost_clien ...@@ -1817,7 +1817,7 @@ static void handle_call_start(ss7boost_handle_t *ss7boost_handle, ss7boost_clien
} }
if ((session = switch_core_session_request(&wanpipe_endpoint_interface, NULL))) { if ((session = switch_core_session_request(wanpipe_endpoint_interface, NULL))) {
private_object_t *tech_pvt; private_object_t *tech_pvt;
switch_core_session_add_stream(session, NULL); switch_core_session_add_stream(session, NULL);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论