[Freeswitch-svn] [commit] r12340 - freeswitch/trunk/conf/dialplan

FreeSWITCH SVN brian at freeswitch.org
Fri Feb 27 15:11:49 PST 2009


Author: brian
Date: Fri Feb 27 17:11:49 2009
New Revision: 12340

Log:
Ok this is a stop gap for some people running 3.x polycom firmware.  We smack down the ability to turn on SRTP.

I'm currently working with Polycom to resolve this issue. (SR #: 1-31824511)



Modified:
   freeswitch/trunk/conf/dialplan/default.xml

Modified: freeswitch/trunk/conf/dialplan/default.xml
==============================================================================
--- freeswitch/trunk/conf/dialplan/default.xml	(original)
+++ freeswitch/trunk/conf/dialplan/default.xml	Fri Feb 27 17:11:49 2009
@@ -86,6 +86,16 @@
 	<!-- Offer SRTP on outbound legs if we have it on inbound. -->
 	<!-- <action application="export" data="sip_secure_media=true"/> -->
       </condition>
+
+      <!-- 
+	   This will cause us to not enable SRTP on known broken 3.x.x Polycom Firmware.
+      -->
+      <condition field="${sip_secure_media}" expression="^true$" break="never"/>
+      <condition field="${sip_user_agent}" expression="^PolycomSound(Point|Station)IP-S(S|P)IP_\d{3,4}-UA\/((3).(\d).(\d).(\d{4}))$" break="never">
+	<action application="set" data="sip_secure_media=false"/>
+	<action application="log" data="crit Your phone is a Polycom running 3.x firmware that is known broken for SRTP."/>
+      </condition>
+
       <condition>
 	<action application="hash" data="insert/${domain_name}-spymap/${caller_id_number}/${uuid}"/>
 	<action application="hash" data="insert/${domain_name}-last_dial/${caller_id_number}/${destination_number}"/>



More information about the Freeswitch-svn mailing list