[Freeswitch-users] Unable to send peer-to-peer messages with mod_sms

Iskren Hadzhinedev iskren.hadzhinedev at ikiji.com
Fri Dec 13 13:21:33 MSK 2013


Greetings!
I installed freeswitch from the yum repository on a clean centos 6.5, loaded 
mod_sms and tried to send a text message between two clients.
I use extensions 1001 and 1002 for testing. Had to change the default chatplan 
to "public" and when I send a message from one client to the other the debug 
console prints out:

--
2013-12-13 11:48:20.545501 [INFO] mod_sms.c:336 Processing text message 1002->1001 in context public
Chatplan: 1001 parsing [public->demo] continue=false
Chatplan: 1001 at 172.16.1.10 Regex (PASS) [demo] to(1001 at 172.16.1.10) =~ /^(.*)$/ break=on-false
Chatplan: 1001 at 172.16.1.10 Action reply(Hello, you said: ${_body}) 
2013-12-13 11:48:20.545501 [DEBUG] sofia_presence.c:224 Can't find registered user 1002 at 172.16.1.10
2013-12-13 11:48:20.567453 [WARNING] sofia_presence.c:4523 Not sending message to ourselves!
-- 
and the demo reply doesn't show up on the sending device.

When I invoke "sofia_contact 1001" from fs_cli, however I get this:
sofia/internal/sip:1001 at 172.16.1.10:54302;ob
Invoking "sofia_contact 1000", which is not used at the moment returns this:
error/user_not_registered

So, why can't sofia_presence find the registered user when it's listed 
correctly and how do I fix this? Thank you in advance.

P.S. Before installing from the RPM repository I compiled it from scratch 
following the installation guide, but I had the exactly same problem.

Kind regards,
Iskren Hadzhinedev



Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list