]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix error handling in user proxy endpoint (MODENDP-64)
authorMichael Jerris <mike@jerris.com>
Wed, 26 Dec 2007 19:43:22 +0000 (19:43 +0000)
committerMichael Jerris <mike@jerris.com>
Wed, 26 Dec 2007 19:43:22 +0000 (19:43 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6985 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_dptools/mod_dptools.c

index 8df5cc93b26975434dccbe832190dfa56f7dbeec..f5ccf384f61a41d4ff1bdf61b783640a40d6c27f 100644 (file)
@@ -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;