<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Open Sans'; font-size:8pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Hi Snabel,</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Can you try replacing the domain name with $${local_ip_v4} and verify that the file with your users is located in freeswitch/conf/directory ?</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">If it’s in a subdirectory (e.g. freeswitch/conf/directory/default) it won’t load correctly. The other thing you might want to check is the freeswitch/log/freeswitch.xml.fsxml  file, as that holds the parsed configuration from FreeSWITCH. Check if your directory is loaded like this:</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">....</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'cousine';">&lt;section name=”directory” description=”User Directory”&gt;</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'cousine';">  &lt;!--the domain or ip (the right hand side of the @ in the addr--&gt;</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'cousine';">    &lt;domain name=&quot;x.x.x.1&quot;&gt;</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'cousine';">        &lt;groups&gt;</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'cousine';">            &lt;group name=&quot;Lexifone&quot;&gt;</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'cousine';">                &lt;users&gt;</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'cousine';">                    &lt;user id=&quot;1111&quot;&gt;</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'cousine';">                        &lt;params&gt;</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'cousine';">                            &lt;param name=&quot;password&quot; value=&quot;1111&quot;/&gt;</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'cousine';">                        &lt;/params&gt;</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'cousine';">                    &lt;/user&gt;</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'cousine';">                    &lt;user id=&quot;2222&quot;&gt;</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'cousine';">                        &lt;params&gt;</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'cousine';">                            &lt;param name=&quot;password&quot; value=&quot;2222&quot;/&gt;</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'cousine';">                        &lt;/params&gt;</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'cousine';">                    &lt;/user&gt;</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'cousine';">                    &lt;user id=&quot;3333&quot;&gt;</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'cousine';">                        &lt;params&gt;</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'cousine';">                            &lt;param name=&quot;password&quot; value=&quot;3333&quot;/&gt;</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'cousine';">                        &lt;/params&gt;</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'cousine';">                    &lt;/user&gt;</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'cousine';">                    &lt;user id=&quot;4444&quot;&gt;</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'cousine';">                        &lt;params&gt;</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'cousine';">                            &lt;param name=&quot;password&quot; value=&quot;4444&quot;/&gt;</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'cousine';">                        &lt;/params&gt;</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'cousine';">                    &lt;/user&gt;</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'cousine';">                &lt;/users&gt;</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'cousine';">            &lt;/group&gt;</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'cousine';">        &lt;/groups&gt;</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'cousine';">    &lt;/domain&gt;</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'cousine';">&lt;/section&gt;</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">....</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">If that’s fine too, you might want to check is the output of the “sofia status” command and see if you have an aliased domain named “x.x.x.1”. If you don’t, you might want to put <span style=" font-family:'cousine';">&lt;domain name=&quot;all&quot; alias=&quot;true&quot; parse=”false”/&gt;</span> in your freeswitch/conf/sip_profiles/internal.xml (if it’s not there already) and issue “reload mod_sofia” or “sofia profile internal rescan”.</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Hope this helps.</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; ">&nbsp;</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Kind regards,</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">-- </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-weight:600;">Iskren Hadzhinedev</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br />On Thursday 04 September 2014 10:28:46 Snabel Kabiya wrote:<br /></p>
<p style=" margin-top:12px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">OK, I've created one XML file called it users.xml, deleted the previous ones and restarted freeswitch <br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-weight:600;">now i get the same error for all users...</span><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br />&lt;include&gt;<br />  &lt;!--the domain or ip (the right hand side of the @ in the addr--&gt;<br />    &lt;domain name=&quot;x.x.x.1&quot;&gt;<br />        &lt;groups&gt;<br />            &lt;group name=&quot;Lexifone&quot;&gt;<br />                &lt;users&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;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;user id=&quot;3333&quot;&gt;<br />                        &lt;params&gt;<br />                            &lt;param name=&quot;password&quot; value=&quot;3333&quot;/&gt;<br />                        &lt;/params&gt;<br />                    &lt;/user&gt;<br />                    &lt;user id=&quot;4444&quot;&gt;<br />                        &lt;params&gt;<br />                            &lt;param name=&quot;password&quot; value=&quot;4444&quot;/&gt;<br />                        &lt;/params&gt;<br />                    &lt;/user&gt;<br />                &lt;/users&gt;<br />            &lt;/group&gt;<br />        &lt;/groups&gt;<br />    &lt;/domain&gt;<br />&lt;/include&gt;<br /><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:47px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">---------- Forwarded message ----------<br />From: Lucas Castro &lt;<a href="mailto:lucasmcastro@gmail.com"><span style=" text-decoration: underline; color:#0057ae;">lucasmcastro@gmail.com</span></a>&gt;<br />To: FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org"><span style=" text-decoration: underline; color:#0057ae;">freeswitch-users@lists.freeswitch.org</span></a>&gt;<br />Cc: <br />Date: Wed, 3 Sep 2014 10:17:47 -0300<br />Subject: Re: [Freeswitch-users] Can't register more than one user to freeswitch<br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:47px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">you need once to define the domain <span style=" font-family:'arial,sans-serif'; font-size:13px;">&lt;domain name=&quot;x.x.x.1&quot;&gt; and the 2 users must be within it.</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:47px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'arial,sans-serif'; font-size:13px;">i guess its not working now 'cause you removed both domain tags.<br /></span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:47px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:47px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">On Wed, Sep 3, 2014 at 9:54 AM, Snabel Kabiya &lt;<a href="mailto:snabel@lexifone.com"><span style=" text-decoration: underline; color:#0057ae;">snabel@lexifone.com</span></a>&gt; wrote:<br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:54px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Hi,<br /><br />now i can't register both of them and i get the error for both users. <br /><br />&lt;include&gt;</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:54px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br />  &lt;user id=&quot;4444&quot;&gt;<br />    &lt;params&gt;<br />      &lt;param name=&quot;password&quot; value=&quot;4444&quot;/&gt;<br />    &lt;/params&gt;<br />  &lt;/user&gt; <br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&lt;/include&gt;<br /><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:54px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&lt;include&gt;</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:54px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><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 /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&lt;/include&gt;<span style=" color:#888888;"><br /><br /></span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" color:#888888;">Snabel,<br /></span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:61px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br />---------- Forwarded message ----------<br />From: Brian West &lt;<a href="mailto:brian@freeswitch.org"><span style=" text-decoration: underline; color:#0057ae;">brian@freeswitch.org</span></a>&gt;<br />To: FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org"><span style=" text-decoration: underline; color:#0057ae;">freeswitch-users@lists.freeswitch.org</span></a>&gt;<br />Cc: <br />Date: Wed, 3 Sep 2014 07:36:13 -0500<br />Subject: Re: [Freeswitch-users] Can't register more than one user to freeswitch<br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:61px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">You do not need domain tags on the 1111.xml or 4444.xml the domain is wrapped from a higher level include, the possibly reason 1111 is working and not 4444 is the domain is listed twice in the XML and the first one found doesn't contain a user 4444 in it. </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:61px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:61px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">On Wed, Sep 3, 2014 at 7:18 AM, Snabel Kabiya &lt;<a href="mailto:snabel@lexifone.com"><span style=" text-decoration: underline; color:#0057ae;">snabel@lexifone.com</span></a>&gt; wrote:<br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:68px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Hi,<br /><br />I'm using X-lite to test mod_sms in freeswitch.<br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">I've created two users on server x.x.x.1<br /><br />&lt;include&gt;<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 />&lt;/include&gt;<br /><br />&lt;include&gt;<br />&lt;domain name=&quot;x.x.x.1&quot;&gt;<br />  &lt;user id=&quot;4444&quot;&gt;<br />    &lt;params&gt;<br />      &lt;param name=&quot;password&quot; value=&quot;4444&quot;/&gt;<br />    &lt;/params&gt;<br />  &lt;/user&gt;<br />&lt;/domain&gt; <br />&lt;/include&gt;<br /><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:68px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">I've but both files: 1111.xml, 4444.xml in /usr/local/freeswitch/conf/directory. restarted freeswitch after that.<br /><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:68px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">i managed to register user 1111 using X-Lite, but when i tried to register user 4444, i got this error on freeswitch:<br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:68px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /><span style=" font-size:large; font-weight:600; background-color:#ffff00;">2014-09-03 15:05:57.177795 [WARNING] sofia_reg.c:2566 Can't find user [4444@x.x.x.1] from x.x.x.x<br />You must define a domain called 'x.x.x.1' in your directory and add a user with the id=&quot;4444&quot; attribute<br />and you must configure your device to use the proper domain in it's authentication credentials.</span><br /><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:68px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">is there some limitation in freeswitch? do i need to change some configuration file?<br /><br /><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:68px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Thanks,<br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:68px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Snabel<br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:68px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /><br />Hi,<br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:82px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">i'm trying to use mod_sms.<br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br />i did the following steps<br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:82px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">1 - used the instructions here to compile the module <br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><a href="http://wiki.freeswitch.org/wiki/Mod_sms#Args"><span style=" text-decoration: underline; color:#0057ae;">http://wiki.freeswitch.org/wiki/Mod_sms#Args</span></a><br /><a href="https://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_chat"><span style=" text-decoration: underline; color:#0057ae;">https://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_chat</span></a><br /><br />created two users on both servers x.x.x.1, x.x.x.2 <br /><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:82px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&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 /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:82px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">created this chatplan:<br /><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:82px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">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 /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:82px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">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 /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:82px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">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 /><span style=" font-size:large; font-weight:600; background-color:#ffff00;">2014-09-03 11:18:18.780102 [ERR] switch_loadable_module.c:769 Invalid chat application interface [log]!</span><br /><br /><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:82px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">what does it mean? what did i miss?<br /><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:82px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Thanks,<br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:82px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Snabel<br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /><br /></p></body></html>