Hello,

 

you can access arbitrary headers from the SIP request Kamailio is processing e.g., with the pseudo-variable $hdr(My-header-name) in the cfg.

 

You can also dump the complete SIP message with the PV $mb.

 

Cheers,

 

Henning

 

--

Henning Westerholt – https://skalatan.de/blog/

Kamailio services – https://gilawa.com

 

 

 

From: sr-users <sr-users-bounces@lists.kamailio.org> On Behalf Of Evan Verma
Sent: Friday, June 4, 2021 10:15 PM
To: sr-users@lists.kamailio.org
Subject: [SR-Users] List of Header Names

 

hello! new to working with sip/kamailio. I am currently trying to get a list of all of the header names on the invite the SBC receives. I am having trouble finding a way to do this. Does anyone know of a good solution?