Hello,
On 11/24/08 04:01, Matteo D'Amato wrote:
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");
this appends a new header. For what you need try subst() or
search_append() functions.
Alternative:
remove_hf("Contact");
append_hf("Contact: $hdr(contact);tgrp=30001\r\n", "Contact");
Cheers,
Daniel
but it seems to go on the second line. How do I remove the line feed?
Max-Forwards: 69.
Contact: <sip:1001@192.168.1.2:44114>.
tgrp=DMS19
--
Daniel-Constantin Mierla
http://www.asipto.com