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

Freeswitch SVN anthm at freeswitch.org
Tue Dec 11 17:56:20 EST 2007


Author: anthm
Date: Tue Dec 11 17:56:20 2007
New Revision: 6681

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

Log:
add a var

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	Tue Dec 11 17:56:20 2007
@@ -1501,6 +1501,8 @@
 			timelimit = atoi(var);
 		}
 		
+		switch_channel_set_variable(channel, "dialed_user", user);
+
 		d_dest = switch_channel_expand_variables(channel, dest);
 		
 		if (switch_ivr_originate(session, new_session, &cause, d_dest, timelimit, NULL, NULL, NULL, NULL) == SWITCH_STATUS_SUCCESS) {



More information about the Freeswitch-trunk mailing list