Hi,
I need to add a parameter to the contact header. suppose to look like:
Contact: sip:anonymous@domain:port;param1=XXX;param2=YYY
How do I add the parameters? Should i concatenate the $ct with the parameters? Or is there a better way?
BR, Uri
Hello,
On 2/22/12 8:38 AM, Uri Shacked wrote:
Hi, I need to add a parameter to the contact header. suppose to look like: Contact: sip:anonymous@domain:port;param1=XXX;param2=YYY How do I add the parameters? Should i concatenate the $ct with the parameters? Or is there a better way?
$ct is not writtable. You can remove existing header and add a new one built as you wish, based on the old one. Alternative, use a subst expression which will match on contact header.
Cheers, Daniel