Actually I&#39;m just trying to send a simple message between two endpoints extensions.<br><br>I was mistaken and believed the chatplan was necessary to achieve this, so I disabled it to get the default behaviour of sending.<br>
<br>But I still get the error<br>2012-05-09 19:17:42.224503 [INFO] mod_sms.c:300 Processing text message 1234-&gt;1234 in context default<br>2012-05-09 19:17:42.224503 [CONSOLE] mod_xml_curl.c:318 XML response is in /tmp/a64045dc-9a0b-11e1-852b-5d2cc73f3eee.tmp.xml<br>
Chatplan: 1234 parsing [default-&gt;demo] continue=false<br>2012-05-09 19:17:42.224503 [DEBUG] sofia_presence.c:208 Can&#39;t find registered user 1234@176.*.*.*<br>2012-05-09 19:17:42.224503 [WARNING] sofia_presence.c:4021 Not sending message to ourselves!<br>
<br>FYI, I&#39;m using freeswitch in Amazon Web Services, and it is NATted. Freeswitch does see the client registered with the internal private IP, not the public one.<br>Could this be a lead ? Although this does not explain why it works with voice calls.<br>
<br>freeswitch@internal&gt; sofia_count_reg 1234@176.*.*.*<br>-1<br>freeswitch@internal&gt; sofia_count_reg 1234@10.*.*.*<br>1<br><br>Regards,<br>J.<br><br><div class="gmail_quote">On Wed, May 9, 2012 at 5:56 PM, Anthony Minessale <span dir="ltr">&lt;<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You can&#39;t call send again on an inbound message because it&#39;s already<br>
sent to you.<br>
What exactly are you looking to do?<br>
<div><div class="h5"><br>
<br>
On Wed, May 9, 2012 at 12:42 AM, John Gathm &lt;<a href="mailto:john.gathm@gmail.com">john.gathm@gmail.com</a>&gt; wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; I am trying to make mod_sms work, it seems that with the configuration I<br>
&gt; give to freeswitch, it does not forward sms (though it might not be related<br>
&gt; to mod_sms but perhaps chatplan ?)<br>
&gt;<br>
&gt; works :<br>
&gt; -two extentions can call each other<br>
&gt; -the default example chatplan works with the autoreply ( Action reply(Hello,<br>
&gt; you said: ${_body}  ), I receive the response SMS.<br>
&gt;<br>
&gt; however, when I just wan to use the &quot;send&quot; action ( &lt;action<br>
&gt; application=&quot;send&quot;/&gt; ) it does not work,<br>
&gt;<br>
&gt; (*.*.* in ip&#39;s are only replaced by me in the mail for privacy, are full and<br>
&gt; correct in logs)<br>
&gt;<br>
&gt; 2012-05-08 23:15:38.784507 [INFO] mod_sms.c:300 Processing text message<br>
&gt; 1234-&gt;1005 in context default<br>
&gt; 2012-05-08 23:15:38.784507 [CONSOLE] mod_xml_curl.c:318 XML response is in<br>
&gt; /tmp/b953861e-9963-11e1-b83f-5d2cc73f3eee.tmp.xml<br>
&gt; Chatplan: 1005 parsing [default-&gt;demo] continue=false<br>
&gt; Chatplan: 1005@176.*.*.* Regex (PASS) [demo] to(1005@176.*.*.*) =~ /^(.*)$/<br>
&gt; break=on-false<br>
&gt; Chatplan: 1005@176.*.*.* Action send()<br>
&gt; 2012-05-08 23:15:38.784507 [DEBUG] sofia_presence.c:208 Can&#39;t find<br>
&gt; registered user 1005@176.*.*.*<br>
&gt; 2012-05-08 23:15:38.784507 [WARNING] sofia_presence.c:4021 Not sending<br>
&gt; message to ourselves!<br>
&gt;<br>
&gt; although my clients are registered properly (and can call each other)<br>
&gt;<br>
&gt; 2012-05-08 22:44:20.944505 [WARNING] sofia_reg.c:1442 SIP auth challenge<br>
&gt; (REGISTER) on sofia profile &#39;internal&#39; for [1234@176.*.*.*] from ip 78.*.*.*<br>
&gt; 2012-05-08 22:44:21.165051 [CONSOLE] mod_xml_curl.c:318 XML response is in<br>
&gt; /tmp/5a2cb204-995f-11e1-b7fb-5d2cc73f3eee.tmp.xml<br>
&gt; 2012-05-08 22:44:21.184514 [CONSOLE] mod_xml_curl.c:318 XML response is in<br>
&gt; /tmp/5a300bc0-995f-11e1-b7fc-5d2cc73f3eee.tmp.xml<br>
&gt; 2012-05-08 22:44:21.244503 [WARNING] sofia_reg.c:1442 SIP auth challenge<br>
&gt; (REGISTER) on sofia profile &#39;internal&#39; for [1005@176.*.*.*] from ip 78.*.*.*<br>
&gt; 2012-05-08 22:44:21.324503 [CONSOLE] mod_xml_curl.c:318 XML response is in<br>
&gt; /tmp/5a463dd2-995f-11e1-b7fe-5d2cc73f3eee.tmp.xml<br>
&gt; 2012-05-08 22:44:21.384540 [CONSOLE] mod_xml_curl.c:318 XML response is in<br>
&gt; /tmp/5a4ff886-995f-11e1-b7ff-5d2cc73f3eee.tmp.xml<br>
&gt;<br>
&gt; trying  to send a sms to myself does not work either, I also get &quot;can&#39;t find<br>
&gt; registered user &quot; even when I&#39;m the sender and logged.<br>
&gt;<br>
&gt; Thanks in advance for any help.<br>
&gt; Regards,<br>
&gt;<br>
&gt; J.<br>
&gt;<br>
</div></div>&gt; _________________________________________________________________________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
&gt; <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
<br>
<br>
<br>
--<br>
Anthony Minessale II<br>
<br>
FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br>
<br>
AIM: anthm<br>
<a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
<br>
FreeSWITCH Developer Conference<br>
<a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:<a href="tel:%2B19193869900" value="+19193869900">+19193869900</a><br>
<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>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.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://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.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>