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:
parent
d82c0638f7
commit
afbba1203d
|
|
@ -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];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue