Update mwi_notify.lua (#2836)

Search all profiles for the sofia_contact. For some reason on server it would automatically search all profiles, but on the other servers I had to add "*/".
This commit is contained in:
konradSC
2017-09-11 10:53:57 -04:00
committed by FusionPBX
parent d82c0638f7
commit afbba1203d

View File

@@ -8,7 +8,7 @@
--create the api object
api = freeswitch.API();
local sofia_contact = trim(api:executeString("sofia_contact "..account));
local sofia_contact = trim(api:executeString("sofia_contact */"..account));
array = explode("/", sofia_contact);
sip_profile = array[2];