The `$hdr(...)` is a variable for getting values based on generic header
structure `Name: value`, it does not uderstand the specifics of each header and
what could be as `value`.
For you case, you should use `$hfl(...)`:
-
https://www.kamailio.org/wikidocs/cookbooks/5.8.x/pseudovariables/#hflname-header-field-with-list-of-bodies
If not getting what you need, probably the best is to discuss on mailing list
to see what options are to resolve your needs.
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4127#issuecomment-2620952617
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/4127/2620952...@github.com>
_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the
sender!