[Freeswitch-trunk] [commit] r6985 - freeswitch/trunk/src/mod/applications/mod_dptools

Freeswitch SVN mikej at freeswitch.org
Wed Dec 26 14:43:23 EST 2007


Author: mikej
Date: Wed Dec 26 14:43:22 2007
New Revision: 6985

Modified:
   freeswitch/trunk/src/mod/applications/mod_dptools/mod_dptools.c

Log:
fix error handling in user proxy endpoint (MODENDP-64)

Modified: freeswitch/trunk/src/mod/applications/mod_dptools/mod_dptools.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_dptools/mod_dptools.c	(original)
+++ freeswitch/trunk/src/mod/applications/mod_dptools/mod_dptools.c	Wed Dec 26 14:43:22 2007
@@ -1469,7 +1469,7 @@
 	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;
 



More information about the Freeswitch-trunk mailing list