Thank you for replying to my query. And yes your feedback has been very very helpful. My problem was indeed related to NAT. After configuring my kamailio, rtpproxy and freeswitch with the appropriate flags on rtpproxy_manage. I was able to fix the issue. Thanks for pointing me to the right direction.


On Sat, Mar 22, 2014 at 10:52 PM, Frank Carmickle <frank@carmickle.com> wrote:

On Mar 22, 2014, at 3:18 AM, MrIhaveAnOpinionOnEverything <melryanf@gmail.com> wrote:

> To whom it may concern:
>
>    We are configuring a SIP platform with Kamailio and Freeswitch with this setup:
>
> UAC  1 ==>  Kamailio ==> Freeswitch
>
> UAC 2  <==  Kamailio <== Freeswitch
>
>    We followed the instructions in http://kb.asipto.com/freeswitch:kamailio-3.1.x-freeswitch-1.0.6d-sbc
>
>     We are using Kamailio on kamailio 4.0.3
>
>     and Freeswitch FreeSWITCH Version 1.5.6b
>
>     Everything is working fine with the default setting. But when we configured TLS what we noticed some errors.
>
>    UAC configured with no TLS calling a UAC configured with TLS works ok.
>
>    UAC configured with TLS calling a UAC configured with TLS gets disconnected 15-30 seconds after answering the call.
>
>    UAC configured with TLS calling a UAC configured with no TLS gets disconnected 15-30 seconds after answering the call.
>
>    I cant seem to find any error in the logs or in the ngrep.
>
Just a stab in the dark here, we really need traces and full configs.  Freeswitch sends updates which may not be getting to the user agents when using tls.  I'm guessing that freeswitch is trying to send an update directly to the user agents.  This could happen if you aren't using recordroute.  Turn on siptrace on the FS profile

sofia profile $MYPROFILE siptrace on

You should see the update go out to the wrong place.  It maybe going out to a udp/tcp, not tls, port on the user agent, or it maybe trying to setup a tls socket to a UA but with out a NAT helper to find out the real ip/port.

http://kamailio.org/docs/modules/4.0.x/modules/rr.html

>    Can anyone assist me regarding this issue. Good day.
>
Hopefully I've pointed you in the right direction.  If not maybe I've at least helped you think of something you hadn't thought of yet.

Also I recommend that you upgrade to Kamailio and Freeswitch latest.

--FC


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users



--
"When I look at you I see two people, ther person you are
and the person you are supposed to be. Someday these two
people will meet. And when they do, they will achieve great things"
- Gene Hackman, The Replacements

Catch up on me and check my BLOG at
http://mrihaveanopiniononeverything.blogspot.com