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

Iskren Hadzhinedev iskren.hadzhinedev at ikiji.com
Sat Dec 14 00:28:15 MSK 2013


Thing is that even after i changed the application from reply to send i still don't get any messages between the peers.
I think it's a NAT issue because my freeswitch is behind a router with DMZ on and I can send messages from clients connected from the internal network.
Anyway, I'm going to investigate some more and come back to you. Thanks for your thoughts :)
Kind regards,
-- 
Iskren Hadzhinedev
System Administrator


The Idea Factory | 20 Mearns Street | Aberdeen | AB11 5AT | UK
T: 01224 607500
VAT Reg No: 982 4936 74. Company registered in Scotland, SC237116

On Friday 13 December 2013 17:50:35 Daniel Ivanov wrote:

Well, you wouldn't care about that. Just change the chatplan to use the "send" application. Reply just replies to the extension where it came from. I have seen this problem too when sending raw messages to the profile. 



On Fri, Dec 13, 2013 at 11:21 AM, Iskren Hadzhinedev <iskren.hadzhinedev at ikiji.com> wrote:

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

_________________________________________________________________________
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









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