mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-30 15:14:17 +00:00
sense att xfer in valet
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15126 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
1cbd982a37
commit
421a609066
2 files changed
+15
-3
No files matched your search
@@ -97,6 +97,7 @@ SWITCH_STANDARD_APP(valet_parking_function)
|
||||
switch_status_t status;
|
||||
switch_input_args_t args = { 0 };
|
||||
char dbuf[10];
|
||||
char *dest;
|
||||
|
||||
lot = valet_find_lot(lot_name);
|
||||
switch_assert(lot);
|
||||
@@ -152,7 +153,12 @@ SWITCH_STANDARD_APP(valet_parking_function)
|
||||
switch_mutex_unlock(lot->mutex);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
dest = switch_core_session_sprintf(session, "valet_park:%s %s", lot_name, ext);
|
||||
switch_channel_set_variable(channel, "inline_destination", dest);
|
||||
|
||||
|
||||
if (!(tmp = switch_channel_get_variable(channel, "valet_hold_music"))) {
|
||||
tmp = switch_channel_get_variable(channel, "hold_music");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user