mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-05 19:23:49 +00:00
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:
@@ -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];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user