[Freeswitch-users] Error: cannot find profile

chun chun at reachme.com
Tue Jan 13 03:10:56 MSK 2015


We have a freeswitch installed behind opensip which handles registration. 
We'd like to turn on and off MWI and cisco phones. When we use the following 
lua code, it will fail. We also tried using fs_path but it did not work. We 
appreciate any help.

freeswitch.console_log("info", "Lua in da house!!!\n");
local event = freeswitch.Event("message_waiting");
event:addHeader("MWI-Messages-Waiting", "no");
"sip:sofia/users/801.24118 at");

freeswitch at internal> luarun /etc/freeswitch/scripts/lua/mwi_event.lua
2015-01-12 16:03:19.991140 [INFO] switch_cpp.cpp:1275 Lua in da house!!!
2015-01-12 16:03:20.011145 [ERR] sofia_presence.c:542 Cannot find profile

Thank you,

Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list