From: Anthony Minessale Date: Sat, 2 Feb 2008 16:54:21 +0000 (+0000) Subject: cleanup X-Git-Tag: v1.0.6~38^2~478 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2dd2b0134547db9460be29fa8d094e47c202b318;p=thirdparty%2Ffreeswitch.git cleanup git-svn-id: http://svn.openzap.org/svn/openzap/trunk@384 a93c3328-9c30-0410-af19-c9cd2b2d52af --- diff --git a/libs/openzap/mod_openzap/mod_openzap.c b/libs/openzap/mod_openzap/mod_openzap.c index d28de8fb01..84baeaa284 100644 --- a/libs/openzap/mod_openzap/mod_openzap.c +++ b/libs/openzap/mod_openzap/mod_openzap.c @@ -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);