]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
update
authorAnthony Minessale <anthony.minessale@gmail.com>
Wed, 30 Jan 2008 00:15:08 +0000 (00:15 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Wed, 30 Jan 2008 00:15:08 +0000 (00:15 +0000)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@377 a93c3328-9c30-0410-af19-c9cd2b2d52af

libs/openzap/mod_openzap/mod_openzap.c

index 8f74c1290259496b5489a8e737f3416a9ea7f160..51faebc0117b338634c16fc4f77e0fbd013a7e4a 100644 (file)
@@ -821,11 +821,11 @@ static switch_call_cause_t channel_outgoing_channel(switch_core_session_t *sessi
                        } else if (*p == 'a') {
                                direction =  ZAP_TOP_DOWN;
                        } else {
-                               chan_id = atoi(dest);
+                               chan_id = atoi(p);
                        }
                }
        }
-       
+               
        if (!span_id) {
                switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Missing span\n");
                return SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER;