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