[Kamailio-Users] append_hf

Matteo D'Amato matteo at ecosma.com
Mon Nov 24 03:01:42 CET 2008


Hello,
	 I'm trying to append trunk group information to my Contact header
so I'm, using append_hf as follows


    append_hf("tgrp=30001 \r\n", "Contact");


but it seems to go on the second line. How do I remove the line feed?


Max-Forwards: 69.
Contact: <sip:1001 at 192.168.1.2:44114>.
tgrp=DMS19 .



--Matteo





More information about the Users mailing list