git-svn-id: http://svn.openzap.org/svn/openzap/trunk@384 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
Anthony Minessale 2008-02-02 16:54:21 +00:00
parent 3ece98d910
commit 3a72affc9e
1 changed files with 0 additions and 5 deletions

View File

@ -806,11 +806,6 @@ static switch_call_cause_t channel_outgoing_channel(switch_core_session_t *sessi
return SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER;
}
if (switch_strlen_zero(outbound_profile->destination_number)) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Invalid dial string\n");
return SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER;
}
dest = outbound_profile->destination_number;
span_id = atoi(dest);