<div dir="ltr"><div><div><div>Hi,<br><br></div>i&#39;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">http://wiki.freeswitch.org/wiki/Mod_sms#Args</a><br>
<a href="https://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_chat">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>&lt;domain name=&quot;x.x.x.1&quot;&gt;<br>
  &lt;user id=&quot;2222&quot;&gt;<br>    &lt;params&gt;<br>      &lt;param name=&quot;password&quot; value=&quot;2222&quot;/&gt;<br>    &lt;/params&gt;<br>  &lt;/user&gt;<br>&lt;/domain&gt; <br><br>&lt;domain name=&quot;x.x.x.1&quot;&gt;<br>
  &lt;user id=&quot;1111&quot;&gt;<br>    &lt;params&gt;<br>      &lt;param name=&quot;password&quot; value=&quot;1111&quot;/&gt;<br>    &lt;/params&gt;<br>  &lt;/user&gt;<br>&lt;/domain&gt; <br><br></div><div>created this chatplan:<br>
<br></div><div>public.xml:<br>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;<br>&lt;include&gt;<br>    &lt;context name=&quot;public&quot;&gt;<br>        &lt;extension name=&quot;public&quot;&gt;<br>            &lt;condition field=&quot;to&quot; expression=&quot;^(.*)$&quot;&gt;<br>
                &lt;action application=&quot;log&quot; data=&quot;INFO to_chat remote&quot;/&gt;<br>                &lt;action application=&quot;reply&quot; data=&quot;Hello, you said: ${_body}&quot;/&gt;<br>            &lt;/condition&gt;<br>
        &lt;/extension&gt;<br>    &lt;/context&gt;<br>&lt;/include&gt;<br><br><br></div><div>but now when i send this from server x.x.x.2<br>freeswitch@internal&gt; 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-&gt;1111 in context public<br>Chatplan: 1111 parsing [public-&gt;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>