Hello all,<div><br></div><div>I'm trying subst('/^Supported: *timer$//ig') to remove a "Supported" header which contains only one tag "timer", but I can't seem to make it match the word "timer" in the end of line.</div>
<div><br></div><div>This is the INVITE I'm sending using SIPp:</div><div><br></div><div><div> INVITE sip:[service]@<a href="http://fed.com">fed.com</a>;user=phone SIP/2.0</div><div> FROM: <<a href="mailto:sip%3A%2B551931121300@fed2.connect.com">sip:+551931121300@fed2.connect.com</a>;user=phone>;epid=99B24E3DE7;tag=uac[call_number][local_ip]</div>
<div> TO: <sip:[service]@<a href="http://fed.com">fed.com</a>;user=phone></div><div> CSEQ: 1 INVITE</div><div> CALL-ID: [call_id]</div><div> Max-Forwards: 70</div><div> VIA: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]</div>
<div> CONTACT: <sip:[local_ip]:[local_port];transport=[transport];maddr=[local_ip];ms-opaque=5a6c67fdaeeb8367></div><div> CONTENT-LENGTH: [len]</div><div> SUPPORTED: [supported]</div><div> USER-AGENT: RTCC/<a href="http://4.0.0.0">4.0.0.0</a> MediationServer</div>
<div> CONTENT-TYPE: application/sdp</div><div> Session-Expires: 1800</div><div> Min-SE: 90</div></div><div><br></div><div>And the command line is:</div><div><br></div><div>sipp -sf uac_A_hangs_up.xml -i 192.168.16.54 -p 5060 192.168.16.148 -s 'test_user' -l 0 -t t1 -max_socket 6 -m 1 -key supported timer</div>
<div><br></div><div>Am I using the correct character for end of line? I'm also using function avp_subst with "\r\n" for matching end of line and works fine there, but not with subst.</div><div><br></div><div>
Any help will be greatly appreciated.</div><div>Mariana.</div>