<div dir="ltr">I am having difficulties forcefully stripping the a:crypto lines from the remote sdp string. At first i was doing &lt;action application=&quot;set&quot;&gt;&lt;![CDATA[switch_r_sdp=$sdp]]&gt;<div><span class="" style="white-space:pre">        </span>&lt;/action&gt;</div>
<div style>from the diaplan, but this breaks the proxy media easily, because it doesn&#39;t patch the SDP later for glueing. </div><div style>I commented the following lines where the patcher is checking if the sdp string has been set before :</div>
<div style><div>void sofia_glue_tech_patch_sdp(private_object_t *tech_pvt)</div><div>{</div><div>        switch_size_t len;</div><div>        char *p, *q, *pe, *qe;</div><div>        int has_video = 0, has_audio = 0, has_ip = 0;</div>
<div>        char port_buf[25] = &quot;&quot;;</div><div>        char vport_buf[25] = &quot;&quot;;</div><div>        char *new_sdp;</div><div>        int bad = 0;</div><div><b>/*</b></div><div><b>        if (zstr(tech_pvt-&gt;local_sdp_str)) {</b></div>
<div><b>                return;</b></div><div><b>        }</b></div><div><b>*/</b></div><div><br></div><div style>And now i got the correct sdp sent to the b-leg(patched for proxy media and nat), but no audio is going either way. Would there be a more clever way to &quot;rip&quot; some lines from the SDP and not break the NAT/Proxy media processing afterwards?</div>
<div style><br></div><div style>Help is much appreciated.</div></div></div>