[Freeswitch-users] Error: cannot find profile

David Villasmil Govea david.villasmil at gmail.com
Tue Jan 13 03:28:53 MSK 2015


Try "internal" instead of "users"?
On Jan 13, 2015 1:22 AM, "chun" <chun at reachme.com> wrote:

> Hello,
>
> 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");
> event:addHeader("MWI-Message-Account",
> "sip:sofia/users/801.24118 at 10.0.151.110");
> event:fire();
>
> freeswitch at internal> luarun /etc/freeswitch/scripts/lua/mwi_event.lua
> +OK
> 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
> 10.0.151.110
>
> Thank you,
> Chun-Ju
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150113/6edf355c/attachment.html 


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