<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
HI Snabel,<br>
<br>
did you issue a reloadxml after creating the new extension?<br>
<br>
<br>
thanks<br>
Matt<br>
<br>
<br>
<div class="moz-cite-prefix">On 03/09/2014 13:18, Snabel Kabiya
wrote:<br>
</div>
<blockquote
cite="mid:CACsa_ANMvX2G39CyWjry=Ox4QqZiob3YNZS7TvJtQfTPqRKCDg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>Hi,<br>
<br>
I'm using X-lite to test mod_sms in freeswitch.<br>
</div>
I've created two users on server x.x.x.1<br>
<br>
<include><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>
</include><br>
<br>
<include><br>
<domain name="x.x.x.1"><br>
<user id="4444"><br>
<params><br>
<param name="password" value="4444"/><br>
</params><br>
</user><br>
</domain> <br>
</include><br>
<br>
</div>
<div>I've but both files: 1111.xml, 4444.xml in
/usr/local/freeswitch/conf/directory. restarted freeswitch
after that.<br>
<br>
</div>
<div><br>
</div>
i managed to register user 1111 using X-Lite, but when i tried
to register user 4444, i got this error on freeswitch:<br>
<div><br>
<span style="background-color:rgb(255,255,0)"><font size="4"><b>2014-09-03
15:05:57.177795 [WARNING] sofia_reg.c:2566 Can't find
user [<a class="moz-txt-link-abbreviated" href="mailto:4444@x.x.x.1">4444@x.x.x.1</a>] 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="4444" attribute<br>
and you must configure your device to use the proper
domain in it's authentication credentials.</b></font></span><br>
<br>
</div>
<div>
<div>
<div>is there some limitation in freeswitch? do i need to
change some configuration file?<br>
<br>
<br>
</div>
<div>Thanks,<br>
</div>
<div>Snabel<br>
</div>
<div><br>
<br>
Hi,<br>
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px
0px 0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote"
style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div>
<div>
<div><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 moz-do-not-send="true"
href="http://wiki.freeswitch.org/wiki/Mod_sms#Args"
target="_blank">http://wiki.freeswitch.org/wiki/Mod_sms#Args</a><br>
<a moz-do-not-send="true"
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|<a class="moz-txt-link-abbreviated" href="mailto:2222@x.x.x.2">2222@x.x.x.2</a>|<a class="moz-txt-link-abbreviated" href="mailto:external/sip:1111@x.x.x.1">external/sip:1111@x.x.x.1</a>|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: <a class="moz-txt-link-abbreviated" href="mailto:1111@x.x.x.1">1111@x.x.x.1</a> Regex (PASS)
[public] to(<a class="moz-txt-link-abbreviated" href="mailto:1111@x.x.x.1">1111@x.x.x.1</a>) =~ /^(.*)$/
break=on-false<br>
Chatplan: <a class="moz-txt-link-abbreviated" href="mailto:1111@x.x.x.1">1111@x.x.x.1</a> Action log(INFO
to_chat remote) <br>
Chatplan: <a class="moz-txt-link-abbreviated" href="mailto:1111@x.x.x.1">1111@x.x.x.1</a> 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>
</blockquote>
</div>
</div>
<br>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>
Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a></pre>
</blockquote>
<br>
</body>
</html>