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

FreeSWITCH SVN anthm at freeswitch.org
Wed May 6 15:52:09 PDT 2009


Author: anthm
Date: Wed May  6 17:52:09 2009
New Revision: 13246

Log:
doh

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

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 May  6 17:52:09 2009
@@ -2428,11 +2428,12 @@
 			} else {
 				switch_event_create(&event, SWITCH_EVENT_REQUEST_PARAMS);
 				switch_assert(event);
-				switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "dialed_user", user);
-				switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "dialed_domain", domain);
-				d_dest = switch_event_expand_headers(event, dest);
-				switch_event_destroy(&event);
-			}			
+			}
+
+			switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "dialed_user", user);
+			switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "dialed_domain", domain);
+			d_dest = switch_event_expand_headers(event, dest);
+			switch_event_destroy(&event);
 		}
 
 		if ((flags & SOF_FORKED_DIAL)) {



More information about the Freeswitch-svn mailing list