<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Jim,</div><span class="Apple-tab-span" style="white-space:pre">        </span>You seem to be making the whole ordeal overly complex for no reason.<br><div><br></div><div><div> <condition field="${sip_has_crypto}" expression="^(AES_CM_128_HMAC_SHA1_32|AES_CM_128_HMAC_SHA1_80)$" break="never"></div><div><span class="Apple-tab-span" style="white-space:pre">        </span><!-- export sets it local and on export --><br></div><div> <action application="export" data="sip_secure_media=${sip_has_crypto}"/></div><div><span class="Apple-tab-span" style="white-space:pre">        </span><anti-action application="respond" data="503 TURN ON SRTP"/></div><div> </condition> </div><div><br></div><div>You can not accept the call and send it out and get a 415 back and expect to do the process all over again automatically. Once you get the 415 its done.. finished OVER gotta do it again. Remember we are a B2BUA not a proxy... so its all done per leg.</div><div><br></div><div>If all else fails just go get libzrtp and install it as per the wiki and enable zrtp support. Then get zfone for your two PC's and you're done. We don't do the trusted man in the middle stuff yet but you can get the same end result.</div><div><br></div><div>/b</div><div><br></div><div><br></div><div><br></div></div><div><br><div><div>On May 21, 2009, at 11:17 PM, Jim Burke wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="color: rgb(0, 0, 0); ">What I am hoping to acheive is, if the A leg does not have SRTP set<br>and no SRTP Descriptors are sent in the INVITE to the B leg, when the<br>B leg responds with 415 Bad Security Level this is intercepted and a<br>re-invite is sent with the security descriptions so this call, 1,<br>terminates and 2, is B leg secure.</span></blockquote></div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Brian West</div><div><a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a></div><div><br></div></div></span>-- Meet us at ClueCon! <a href="http://www.cluecon.com/">http://www.cluecon.com</a><br><div><br></div></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"> </div><br></div></body></html>