Hi!

How do I setup FS so that placing a call from an extension that only
support SRTP (1002) to an extension that only supports RTP (1000)?

I put this dialstring, from the wiki
http://wiki.freeswitch.org/wiki/Tls, into the users xml file under
directory/default

 <param name="dial-string"
value="{sip_secure_media=${regex(${sofia_contact(${dialed_us...@${dialed_domain})}|transport=tls)},
  
presence_id=${dialed_us...@${dialed_domain}}${sofia_contact(${dialed_us...@${dialed_domain})}"
/>

I have also put a <action application="export"
data="sip_secure_media=true"/> when 1000 is dialing 1002.
      <condition field="destination_number" expression="^(1002)$">
        <action application="set" data="dialed_extension=$1"/>
        <action application="export" data="dialed_extension=$1"/>
        <action application="export" data="sip_secure_media=true"/>
        <action application="bridge" data="user/${dialed_extensi...@${domain}"/>

However I never see crytpo sent in the RTP to 1002 and it responds
with Bad Security Level

What have I missed?

Thanks

_______________________________________________
FreeSWITCH-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to