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