mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-13 20:50:41 +00:00
fix sangoma
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1214 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
f69777b251
commit
da448c26a3
@ -790,7 +790,7 @@ static switch_status wanpipe_outgoing_channel(switch_core_session *session, swit
|
||||
|
||||
if (bchan) {
|
||||
int chan, span;
|
||||
sangoma_span_chan_fromif(bchan, &span, &chan);
|
||||
|
||||
if (sangoma_span_chan_fromif(bchan, &span, &chan)) {
|
||||
if ((tech_pvt->socket = sangoma_open_tdmapi_span_chan(span, chan)) < 0) {
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Can't open fd!\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user