From: Michael Jerris Date: Wed, 26 Dec 2007 19:43:22 +0000 (+0000) Subject: fix error handling in user proxy endpoint (MODENDP-64) X-Git-Tag: v1.0-rc1~910 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=371a80e76a75d4483aaa818ccc6d777884fcceed;p=thirdparty%2Ffreeswitch.git fix error handling in user proxy endpoint (MODENDP-64) git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6985 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/applications/mod_dptools/mod_dptools.c b/src/mod/applications/mod_dptools/mod_dptools.c index 8df5cc93b2..f5ccf384f6 100644 --- a/src/mod/applications/mod_dptools/mod_dptools.c +++ b/src/mod/applications/mod_dptools/mod_dptools.c @@ -1469,7 +1469,7 @@ static switch_call_cause_t user_outgoing_channel(switch_core_session_t *session, switch_xml_t x_domain = NULL, xml = NULL, x_user = NULL, x_param, x_params; char *user = NULL, *domain = NULL; const char *dest = NULL; - static switch_call_cause_t cause = SWITCH_CAUSE_SUCCESS; + static switch_call_cause_t cause = SWITCH_CAUSE_UNALLOCATED; unsigned int timelimit = 60; switch_channel_t *new_channel = NULL;