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<https://gilawa.com/>



From: sr-users <[email protected]> On Behalf Of Evan Verma
Sent: Friday, June 4, 2021 10:15 PM
To: [email protected]
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?
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to