Hi!
I’m trying to use replace function, but got strange results. Idea - modify Contact header
What I got as start packet. (202 Accepted on onreply_route) … Contact: sip:*97@10.0.20.81:5060 … I give a command
replace("Contact: <.*>», "Contact: <" + $fu + ">"); $fu = sip:11@master.rufan.at
And, as a result I got
Contact: sip:11@master.rufan.atsip:*97@10.0.20.81:5060
Why it’s adding old Contact part at the end? What can cause this? On onreply_route I have only this command. Thanks!