From: Michael S Collins Date: Tue, 23 Jul 2013 18:08:48 +0000 (-0700) Subject: mod_valet_parking: add valet_lot_extension chan var - stores the current park locatio... X-Git-Tag: v1.4.1~19^2~72^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01d45ae506f50cdefa9ccfb9c5d08c3b5adbdfec;p=thirdparty%2Ffreeswitch.git mod_valet_parking: add valet_lot_extension chan var - stores the current park location of the channel --- 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"))) {