]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[mod_valet_parking] Fix typo in valet_parking_orbit_dialplan channel variable.
authorLen <Len-PGH@users.noreply.github.com>
Thu, 21 Oct 2021 14:58:11 +0000 (10:58 -0400)
committerAndrey Volk <andywolk@gmail.com>
Sat, 23 Oct 2021 19:01:08 +0000 (22:01 +0300)
src/mod/applications/mod_valet_parking/mod_valet_parking.c

index 9d8f9e6938fb12fc29ab151ca1365e36060a4a90..1b088ec957edf84ca4e48672da7424d7bfe2577c 100644 (file)
@@ -96,7 +96,7 @@ static switch_status_t valet_on_dtmf(switch_core_session_t *session, void *input
 
                                switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "valet_on_dtmf() - digit pressed '%d' matched valet_parking_orbit_exit_key '%d'\n", dtmf->digit, exit_key_pvt->digit);
 
-                               dp = switch_channel_get_variable(channel, "valet_parking_orbin_dialplan");
+                               dp = switch_channel_get_variable(channel, "valet_parking_orbit_dialplan");
                                if (zstr(dp)) {
                                        dp = switch_channel_get_variable(channel, "XML");
                                }