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

Daniel Ivanov sertys at gmail.com
Fri Dec 13 19:50:35 MSK 2013


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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20131213/e873079b/attachment.html 


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