[Freeswitch-users] mod_sms send() not working as expected
John Gathm
john.gathm at gmail.com
Wed May 9 09:42:15 MSD 2012
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120509/b60bde64/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list