Hello,<br><br> I have the following transformation on the SDP Body:<br><br>$(rb{re.subst,/^(.*)m=audio ([0-9]+) RTP\/AVP ([0-9 ]+)\015\012(.*)$/\3/s})<br><br>However when I assign this to an AVP, i.e.<br><br>$avp(s:sdp-payloads) = $(rb{re.subst,/^(.*)m=audio ([0-9]+) RTP\/AVP ([0-9 ]+)\015\012(.*)$/\3/s});<br>
<br>I receive back a NULL result / transformation "regex does not match" is what I receive with high verbose syslog on kamailio.<br><br>HOWEVER.<br><br>When I do something like this:<br><br>xlog("L_INFO", "Payloads Available: $(rb{re.subst,/^(.*)m=audio ([0-9]+) RTP\/AVP ([0-9 ]+)\015\012(.*)$/\3/s})");<br>
<br>It executes properly -- transformation regex matches and the payloads are displayed as expected.<br><br>If anyone can provide any insight as to what I may be doing wrong it would be greatly appreciated.<br><br>P.S. Kamailio SVN Revision # 2:5906M (1.5.2-notls).<br>
<br>Also I CC'ed devel list (as I do believe this may be a bug).<br><br>Thanks!<br><br>Sincerely,<br>Brandon Armstead<br>