<div dir="ltr">I was using one of these functions on SDP with Git master around 3 or 4 months ago.<div><br></div><div>I can't remember exactly what I did as fixes to the equipment I was connected to allowed me to take out the "hack", but it worked at that point.</div>
<div><br></div><div>Regards,</div><div><br></div><div>Peter</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 17 October 2013 09:53, Juha Heinanen <span dir="ltr"><<a href="mailto:jh@tutpro.com" target="_blank">jh@tutpro.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">Peter Dunkley writes:<br>
<br>
> I think I used replace_body_re() from textops.<br>
<br>
</div>peter,<br>
<br>
replace_body_re() does not exist, but replace_body(re,txt) does.<br>
<br>
i made a test call:<br>
<br>
replace_body("c=IN IP4", "c=IN IP5");<br>
<br>
and result was that original c=IN IP4 ... line is still in outgoing<br>
request, but a new line<br>
<br>
c=IN IP5<br>
<br>
is added as the last line to the sdp.<br>
<br>
very weird.  perhaps a bug in the function?<br>
<div class="HOEnZb"><div class="h5"><br>
-- juha<br>
<br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div><font face="courier new, monospace">Peter Dunkley</font></div><div><font face="courier new, monospace">Technical Director</font></div>
<div><font face="courier new, monospace">Crocodile RCS Ltd</font></div></div>
</div>