From 01d45ae506f50cdefa9ccfb9c5d08c3b5adbdfec Mon Sep 17 00:00:00 2001 From: Michael S Collins Date: Tue, 23 Jul 2013 11:08:48 -0700 Subject: [PATCH] mod_valet_parking: add valet_lot_extension chan var - stores the current park location of the channel --- src/mod/applications/mod_valet_parking/mod_valet_parking.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mod/applications/mod_valet_parking/mod_valet_parking.c b/src/mod/applications/mod_valet_parking/mod_valet_parking.c index 76cf7b218e..a428f82684 100644 --- a/src/mod/applications/mod_valet_parking/mod_valet_parking.c +++ b/src/mod/applications/mod_valet_parking/mod_valet_parking.c @@ -650,6 +650,8 @@ SWITCH_STANDARD_APP(valet_parking_function) switch_event_fire(&event); } + switch_channel_set_variable(channel, "valet_lot_extension", ext); + valet_send_presence(lot_name, lot, token, SWITCH_TRUE); if ((rf.exten = switch_channel_get_variable(channel, "valet_parking_orbit_exten"))) {