]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
mod_valet_parking: add valet_lot_extension chan var - stores the current park locatio...
authorMichael S Collins <msc@freeswitch.org>
Tue, 23 Jul 2013 18:08:48 +0000 (11:08 -0700)
committerMichael S Collins <msc@freeswitch.org>
Tue, 23 Jul 2013 18:09:00 +0000 (11:09 -0700)
src/mod/applications/mod_valet_parking/mod_valet_parking.c

index 76cf7b218ec12b1536c7d71c23e82ce04b273178..a428f82684f675b71ab28206591a274d67f2d9d4 100644 (file)
@@ -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"))) {