mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-09 01:06:00 +00:00
mod_valet_parking: add valet_lot_extension chan var - stores the current park location of the channel
This commit is contained in:
parent
5873e6ff37
commit
8b87b601a4
@ -650,6 +650,8 @@ SWITCH_STANDARD_APP(valet_parking_function)
|
|||||||
switch_event_fire(&event);
|
switch_event_fire(&event);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
switch_channel_set_variable(channel, "valet_lot_extension", ext);
|
||||||
|
|
||||||
valet_send_presence(lot_name, lot, token, SWITCH_TRUE);
|
valet_send_presence(lot_name, lot, token, SWITCH_TRUE);
|
||||||
|
|
||||||
if ((rf.exten = switch_channel_get_variable(channel, "valet_parking_orbit_exten"))) {
|
if ((rf.exten = switch_channel_get_variable(channel, "valet_parking_orbit_exten"))) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user