From: Brian West Date: Fri, 12 Nov 2010 19:50:12 +0000 (-0600) Subject: Use the right variable X-Git-Tag: v1.2-rc1~265^2~11^2~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c12f81cd0f24a8ea5cf7ce26cf83f88e3ffcd4a4;p=thirdparty%2Ffreeswitch.git Use the right variable --- diff --git a/scripts/lua/zrtp_agent.lua b/scripts/lua/zrtp_agent.lua index c657359fba..2ce8b3e0a6 100644 --- a/scripts/lua/zrtp_agent.lua +++ b/scripts/lua/zrtp_agent.lua @@ -8,7 +8,7 @@ session:sleep(3000); -- Give the agent time to bring up ZRTP. local zrtp_secure_media_confirmed = session:getVariable("zrtp_secure_media_confirmed_audio"); -local zrtp_new_user_enrolled = session:getVariable("zrtp_new_user_enrolled"); +local zrtp_new_user_enrolled = session:getVariable("zrtp_new_user_enrolled_audio"); local zrtp_already_enrolled = session:getVariable("zrtp_already_enrolled_audio"); if zrtp_secure_media_confirmed == "true" then