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
afeee9bd12
commit
620eaf86d4
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
--create the api object
|
--create the api object
|
||||||
api = freeswitch.API();
|
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);
|
array = explode("/", sofia_contact);
|
||||||
sip_profile = array[2];
|
sip_profile = array[2];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue