[Freeswitch-users] NDLB-connectile-dysfunction and sending SMS

openser openser at 163.com
Sat Jan 18 07:44:36 MSK 2014


freeswitch will get endpoint contact header stored in registration table when send sms to it.
use this parameter will add fs_path in contact header when endpoint is behind nat. it should work for you.









At 2014-01-17 23:50:25,"Sean Devoy" <sdevoy at bizfocused.com> wrote:


From the wiki:

NDLB-connectile-dysfunction-2.0

Needs documentation; apparently rewrites IP and port and adds a `fs_path` parameter in the Contact header.

 

Anyone have more info?

 

Sean

 

From:freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of openser
Sent: Friday, January 17, 2014 9:28 AM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] NDLB-connectile-dysfunction and sending SMS

 

Hi,

you may try NDLB-connectile-dysfunction-2.0





At 2014-01-17 09:59:24,"Steve Kieu" <msh.computing at gmail.com> wrote:



Problem also happened with version

 

FreeSWITCH Version 1.5.3b+git~20130709T135336Z~267ef728e1 (git 267ef72 2013-07-09 13:53:36Z)

 

Can you please tell me what debug param - variable is? From fs_cli does not see anything usefull even with /log 9. It just like this

 

2014-01-17 11:55:28.395559 [INFO] mod_sms.c:335 Processing text message 1005->1001 in context public

Chatplan: 1001 parsing [public->demo] continue=false

Chatplan: 1001 at inxuanthuy.com Regex (FAIL) [demo] to(1001 at inxuanthuy.com) =~ /^1([a-zA-Z0-9]{4,})@.*$/ break=on-true

Chatplan: 1001 at inxuanthuy.com Regex (PASS) [demo] from_user(1005) =~ /^(.*)$/ break=on-true

Chatplan: 1001 at inxuanthuy.com Action send() 

 

 

but the message never get out.

 

In the working situation message on console is the same but message getting out (verified by tcpdump and client gets it.

 

 

thanks

 

 

 

 

On Fri, Jan 17, 2014 at 12:48 AM, Michael Jerris <mike at jerris.com> wrote:

I have no idea what 1.0.head is.  Can you try building from our current git master branch of 1.2 stable branch and let us know if its still an issue, if so, try turning on some debug and comparing working to non working.

Thanks
Mike


On Jan 16, 2014, at 1:34 AM, Steve Kieu <msh.computing at gmail.com> wrote:

> Hello everybody,
>
> To fix the problem with linphone (wrong contact IP in teh sip packet that makes FS send ACK to local IP address and then linphone drop call after 30secs or so) I added
>
> <variable name="sip-force-contact" value="NDLB-connectile-dysfunction"/>
>
> to my directory/default.xml
>
> But that changes stop sending SMS from working!
>
> when sending SMS (via sip MESSAGE) the sms is not delivered. FS does not say anything in fs_cli - if I load mod_sms and then it print out log saying it pasing the chatplan correctly and ends up with action send() but the actual sip message never gets into the client machine
>
> Is it know problem? Is ther any work around that? I am using FreeSWITCH Version 1.0.head on OpenWRT
>
> many thanks,
>
> regards,
>
>
> --
> Steve Kieu

> _________________________________________________________________________
> 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


_________________________________________________________________________
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





 

--
Steve Kieu

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140118/f8c5cca5/attachment-0001.html 


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