Revision
15168
Author
anthm
Date
2009-10-16 11:45:44 -0500 (Fri, 16 Oct 2009)

Log Message

add sleep to inline dp to make xfer to valet wait a second

Modified Paths

Diff

Modified: freeswitch/trunk/src/mod/applications/mod_valet_parking/mod_valet_parking.c (15167 => 15168)


--- freeswitch/trunk/src/mod/applications/mod_valet_parking/mod_valet_parking.c	2009-10-16 15:48:40 UTC (rev 15167)
+++ freeswitch/trunk/src/mod/applications/mod_valet_parking/mod_valet_parking.c	2009-10-16 16:45:44 UTC (rev 15168)
@@ -225,7 +225,7 @@
 			}
 		}
 
-		dest = switch_core_session_sprintf(session, "valet_park:%s %s", lot_name, ext);
+		dest = switch_core_session_sprintf(session, "sleep:1000,valet_park:%s %s", lot_name, ext);
 		switch_channel_set_variable(channel, "inline_destination", dest);
 
 		if ((uuid = switch_channel_get_variable(channel, SWITCH_SIGNAL_BOND_VARIABLE))) {