mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-05-07 16:31:12 +00:00
fix dest
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@383 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
parent
6a8f752cfe
commit
3ece98d910
@ -823,9 +823,12 @@ static switch_call_cause_t channel_outgoing_channel(switch_core_session_t *sessi
|
|||||||
} else {
|
} else {
|
||||||
chan_id = atoi(p);
|
chan_id = atoi(p);
|
||||||
}
|
}
|
||||||
|
if ((p = strchr(p, '/')) && *++p) {
|
||||||
|
dest = p;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!span_id) {
|
if (!span_id) {
|
||||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Missing span\n");
|
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Missing span\n");
|
||||||
return SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER;
|
return SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user