Grant,
Have you tried msg_apply_changes() after the header append to see if that helps?
Grant Bagdasarian <GB(a)cm.nl> wrote:
Hello,
I'm adding some additional SIP headers to the INVITE received, but when
I use the siptrace module to duplicate the messages to a capture
server, the INVITE does not contain the additional headers.
I'm using a softphone to test my configuration, and it looks like
Kamailio only sends the INVITE which is coming from the softphone to
the capture server. When Kamailio relays the INVITE to its destination
the headers are present.
Is there a way to duplicate the invite leaving kamailio to the capture
server instead of the INVITE which is coming into kamailio? I already
tried to put the sip_trace() function after the message is sent to its
destination, but the extra headers didn't show up in the database.
Note, that I'm using the "X-" as a prefix.
Regards,
Grant
------------------------------------------------------------------------
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Sent from my mobile, and thus lacking in the refinement one might expect from a fully
fledged keyboard.
Alex Balashov - Principal
Evariste Systems LLC
235 E Ponce de Leon Ave
Suite 106
Decatur, GA 30030
United States
Tel: +1-678-954-0670
Web:
http://www.evaristesys.com/,
http://www.alexbalashov.com