[Freeswitch-users] mod_sms send() not working as expected

Anthony Minessale anthony.minessale at gmail.com
Wed May 9 19:56:00 MSD 2012


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 at 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 at 176.*.*.* Regex (PASS) [demo] to(1005 at 176.*.*.*) =~ /^(.*)$/
> break=on-false
> Chatplan: 1005 at 176.*.*.* Action send()
> 2012-05-08 23:15:38.784507 [DEBUG] sofia_presence.c:208 Can't find
> registered user 1005 at 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 at 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 at 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 at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at 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 at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
googletalk:conf+888 at conference.freeswitch.org
pstn:+19193869900



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list