Actually I'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->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->demo] continue=false<br>2012-05-09 19:17:42.224503 [DEBUG] sofia_presence.c:208 Can'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'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> sofia_count_reg 1234@176.*.*.*<br>-1<br>freeswitch@internal> 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"><<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You can't call send again on an inbound message because it'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 <<a href="mailto:john.gathm@gmail.com">john.gathm@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> I am trying to make mod_sms work, it seems that with the configuration I<br>
> give to freeswitch, it does not forward sms (though it might not be related<br>
> to mod_sms but perhaps chatplan ?)<br>
><br>
> works :<br>
> -two extentions can call each other<br>
> -the default example chatplan works with the autoreply ( Action reply(Hello,<br>
> you said: ${_body} ), I receive the response SMS.<br>
><br>
> however, when I just wan to use the "send" action ( <action<br>
> application="send"/> ) it does not work,<br>
><br>
> (*.*.* in ip's are only replaced by me in the mail for privacy, are full and<br>
> correct in logs)<br>
><br>
> 2012-05-08 23:15:38.784507 [INFO] mod_sms.c:300 Processing text message<br>
> 1234->1005 in context default<br>
> 2012-05-08 23:15:38.784507 [CONSOLE] mod_xml_curl.c:318 XML response is in<br>
> /tmp/b953861e-9963-11e1-b83f-5d2cc73f3eee.tmp.xml<br>
> Chatplan: 1005 parsing [default->demo] continue=false<br>
> Chatplan: 1005@176.*.*.* Regex (PASS) [demo] to(1005@176.*.*.*) =~ /^(.*)$/<br>
> break=on-false<br>
> Chatplan: 1005@176.*.*.* Action send()<br>
> 2012-05-08 23:15:38.784507 [DEBUG] sofia_presence.c:208 Can't find<br>
> registered user 1005@176.*.*.*<br>
> 2012-05-08 23:15:38.784507 [WARNING] sofia_presence.c:4021 Not sending<br>
> message to ourselves!<br>
><br>
> although my clients are registered properly (and can call each other)<br>
><br>
> 2012-05-08 22:44:20.944505 [WARNING] sofia_reg.c:1442 SIP auth challenge<br>
> (REGISTER) on sofia profile 'internal' for [1234@176.*.*.*] from ip 78.*.*.*<br>
> 2012-05-08 22:44:21.165051 [CONSOLE] mod_xml_curl.c:318 XML response is in<br>
> /tmp/5a2cb204-995f-11e1-b7fb-5d2cc73f3eee.tmp.xml<br>
> 2012-05-08 22:44:21.184514 [CONSOLE] mod_xml_curl.c:318 XML response is in<br>
> /tmp/5a300bc0-995f-11e1-b7fc-5d2cc73f3eee.tmp.xml<br>
> 2012-05-08 22:44:21.244503 [WARNING] sofia_reg.c:1442 SIP auth challenge<br>
> (REGISTER) on sofia profile 'internal' for [1005@176.*.*.*] from ip 78.*.*.*<br>
> 2012-05-08 22:44:21.324503 [CONSOLE] mod_xml_curl.c:318 XML response is in<br>
> /tmp/5a463dd2-995f-11e1-b7fe-5d2cc73f3eee.tmp.xml<br>
> 2012-05-08 22:44:21.384540 [CONSOLE] mod_xml_curl.c:318 XML response is in<br>
> /tmp/5a4ff886-995f-11e1-b7ff-5d2cc73f3eee.tmp.xml<br>
><br>
> trying to send a sms to myself does not work either, I also get "can't find<br>
> registered user " even when I'm the sender and logged.<br>
><br>
> Thanks in advance for any help.<br>
> Regards,<br>
><br>
> J.<br>
><br>
</div></div>> _________________________________________________________________________<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>
><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>