]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix sangoma
authorAnthony Minessale <anthony.minessale@gmail.com>
Thu, 20 Apr 2006 18:05:15 +0000 (18:05 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Thu, 20 Apr 2006 18:05:15 +0000 (18:05 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1214 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_wanpipe/mod_wanpipe.c

index 62e4db84edb05ae7e5ab473d9697eab446d9c4e7..d7ae63ff9a39ef377eaa1f3e65d6e536b160ace7 100644 (file)
@@ -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");