[Freeswitch-users] FreeSwith does not setup secure call with leg B.

Chandrakant Marathe cwmarathe at gmail.com
Tue Sep 9 09:52:22 MSD 2014

Hi All,
I have setup FreeSwith PBX. I am facing an issue of not having end to end
secure call. Caller sends INVITE request with SIPS in request URI and
RTP/SAVP in SDP. But when FreeSwith forwards the request to caller, it is
not using RTP/SAVP in SDP.

I have followed the steps mentioned in WIKI (
https://wiki.freeswitch.org/wiki/SIP_TLS#Configuration) for TLS
configuration and marked "exports sip_secure_media" true in
"conf/dialplan/default.xml" file (as per
https://wiki.freeswitch.org/wiki/SRTP). But still FreeSwitch does not use
RTP/SAVP for leg-B.

Also, I am bit confused with following condition in "default.xml" when wiki
page suggests that
late coded negotiation must NOT to be turned on.

         Since we have inbound-late-negotation on by default now the
         above behavior isn't the same so you have to do one extra step.

      <condition field="${endpoint_disposition}" expression="^(DELAYED
      <condition field="${switch_r_sdp}"
        <action application="set" data="sip_secure_media=true"/>
        <!-- Offer SRTP on outbound legs if we have it on inbound. -->
        <action application="export" data="sip_secure_media=true"/>

By commenting/un-commenting "sip_secure_media=true" above, it did not

Any help with this would be greatly appreciated.

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

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