[Freeswitch-users] [ERR] switch_loadable_module.c:769 Invalid chat application interface [log]!
Steven Ayre
steveayre at gmail.com
Wed Sep 3 14:14:30 MSD 2014
log is a dialplan app, not a chatplan app
On 3 September 2014 09:35, Snabel Kabiya <snabel at lexifone.com> wrote:
> Hi,
>
> i'm trying to use mod_sms.
>
> i did the following steps
> 1 - used the instructions here to compile the module
> http://wiki.freeswitch.org/wiki/Mod_sms#Args
> https://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_chat
>
> created two users on both servers x.x.x.1, x.x.x.2
>
> <domain name="x.x.x.1">
> <user id="2222">
> <params>
> <param name="password" value="2222"/>
> </params>
> </user>
> </domain>
>
> <domain name="x.x.x.1">
> <user id="1111">
> <params>
> <param name="password" value="1111"/>
> </params>
> </user>
> </domain>
>
> created this chatplan:
>
> public.xml:
> <?xml version="1.0" encoding="utf-8"?>
> <include>
> <context name="public">
> <extension name="public">
> <condition field="to" expression="^(.*)$">
> <action application="log" data="INFO to_chat remote"/>
> <action application="reply" data="Hello, you said:
> ${_body}"/>
> </condition>
> </extension>
> </context>
> </include>
>
>
> but now when i send this from server x.x.x.2
> freeswitch at internal> chat sip|2222 at x.x.x.2|external/sip:1111 at x.x.x.1|hi
> from freeswitch snabel is here
> Sent
>
> i get the following on server x.x.x.1
> 2014-09-03 11:18:18.780102 [INFO] mod_sms.c:336 Processing text message
> 2222->1111 in context public
> Chatplan: 1111 parsing [public->public] continue=false
> Chatplan: 1111 at x.x.x.1 Regex (PASS) [public] to(1111 at x.x.x.1) =~ /^(.*)$/
> break=on-false
> Chatplan: 1111 at x.x.x.1 Action log(INFO to_chat remote)
> Chatplan: 1111 at x.x.x.1 Action reply(Hello, you said: ${_body})
> *2014-09-03 11:18:18.780102 [ERR] switch_loadable_module.c:769 Invalid
> chat application interface [log]!*
>
>
> what does it mean? what did i miss?
>
> Thanks,
> Snabel
>
>
> _________________________________________________________________________
> 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/20140903/736083f5/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list