<div dir="ltr">log is a dialplan app, not a chatplan app</div><div class="gmail_extra"><br><br><div class="gmail_quote">On 3 September 2014 09:35, Snabel Kabiya <span dir="ltr"><<a href="mailto:snabel@lexifone.com" target="_blank">snabel@lexifone.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hi,<br><br></div>i'm trying to use mod_sms.<br></div><br>i did the following steps<br>
</div><div>1 - used the instructions here to compile the module <br></div><a href="http://wiki.freeswitch.org/wiki/Mod_sms#Args" target="_blank">http://wiki.freeswitch.org/wiki/Mod_sms#Args</a><br>
<a href="https://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_chat" target="_blank">https://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_chat</a><br><br>created two users on both servers x.x.x.1, x.x.x.2 <br><br><div><div>
<div><domain name="x.x.x.1"><br>
<user id="2222"><br> <params><br> <param name="password" value="2222"/><br> </params><br> </user><br></domain> <br><br><domain name="x.x.x.1"><br>
<user id="1111"><br> <params><br> <param name="password" value="1111"/><br> </params><br> </user><br></domain> <br><br></div><div>created this chatplan:<br>
<br></div><div>public.xml:<br><?xml version="1.0" encoding="utf-8"?><br><include><br> <context name="public"><br> <extension name="public"><br> <condition field="to" expression="^(.*)$"><br>
<action application="log" data="INFO to_chat remote"/><br> <action application="reply" data="Hello, you said: ${_body}"/><br> </condition><br>
</extension><br> </context><br></include><br><br><br></div><div>but now when i send this from server x.x.x.2<br>freeswitch@internal> chat sip|2222@x.x.x.2|external/sip:1111@x.x.x.1|hi from freeswitch snabel is here<br>
Sent<br><br></div><div>i get the following on server x.x.x.1<br>2014-09-03 11:18:18.780102 [INFO] mod_sms.c:336 Processing text message 2222->1111 in context public<br>Chatplan: 1111 parsing [public->public] continue=false<br>
Chatplan: 1111@x.x.x.1 Regex (PASS) [public] to(1111@x.x.x.1) =~ /^(.*)$/ break=on-false<br>Chatplan: 1111@x.x.x.1 Action log(INFO to_chat remote) <br>Chatplan: 1111@x.x.x.1 Action reply(Hello, you said: ${_body}) <br><font size="4"><b><span style="background-color:rgb(255,255,0)">2014-09-03 11:18:18.780102 [ERR] switch_loadable_module.c:769 Invalid chat application interface [log]!</span></b></font><br>
<br><br></div><div>what does it mean? what did i miss?<br><br></div><div>Thanks,<br></div><div>Snabel<br></div><div><br></div></div></div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>