]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
add sleep to inline dp to make xfer to valet wait a second
authorAnthony Minessale <anthony.minessale@gmail.com>
Fri, 16 Oct 2009 16:45:44 +0000 (16:45 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Fri, 16 Oct 2009 16:45:44 +0000 (16:45 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15168 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_valet_parking/mod_valet_parking.c

index ccd5e52f428ad3b9a9362441f9d180cf80348b9d..a95cfadd748c8d71f6a4356e7292a221f37dba8b 100644 (file)
@@ -225,7 +225,7 @@ SWITCH_STANDARD_APP(valet_parking_function)
                        }
                }
 
-               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))) {