From g.wolzak@kazlow.nl Wed Nov 1 16:32:08 2017 From: Gertjan Wolzak To: sr-users@lists.kamailio.org Subject: [SR-Users] Reading the P-Assserted-identity header Date: Wed, 01 Nov 2017 16:32:00 +0100 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0191918097==" --===============0191918097== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hello Kamailions, I receive anonymous calls where the PAI has a prefix which I need to strip before forwarding the call to a proxy. I am trying to read the the header with $hdr(P-Asserted-Identity) and I tried the $ai pseudovariable, but I get an empty reply back every time. xlog("PAI is $ai"); results in ; "Nov 1 16:19:55 proxy04 /usr/local/sbin/kamailio[14814]: ERROR: