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

--
Daniel-Constantin Mierla -- http://www.asipto.com
http://linkedin.com/in/miconda -- http://twitter.com/miconda


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to