<p></p>
<p>Log for the following two lines of the script</p>
<pre><code>    xlog("L_INFO", "1: $hdr(P-Asserted-Identity) \n");
    xlog("L_INFO", "2: $ai \n");
</code></pre>
<pre><code> 0(7927) DEBUG: <core> [core/parser/msg_parser.c:91]: get_hdr_field(): found end of header
 0(7927) INFO: <script>: 1: <sip:+70000000000@test.com>,
        <tel:+71111111111> 
 0(7927) DEBUG: <core> [core/parser/parse_addr_spec.c:883]: parse_addr_spec(): end of header reached, state=10
/13] in status 0: [] . [core/parser/parse_addr_spec.c:680]: parse_addr_spec(): unexpected char [
 0(7927) ERROR: <core> [core/parser/parse_ppi_pai.c:71]: parse_pai_ppi_body(): Error parsing PAI/PPI body 1 '<sip:+70000000000@test.com>,
        <tel:+71111111111>'
 0(7927) DEBUG: pv [pv_core.c:1327]: pv_get_pai(): no P-Asserted-Identity header
 0(7927) INFO: <script>: 2: <null> 
</code></pre>
<pre><code>kamailio -v
version: kamailio 5.6.0-dev1 (x86_64/linux) cbca34
flags: USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLOCKLIST, HAVE_RESOLV_RES, TLS_PTHREAD_MUTEX_SHARED
ADAPTIVE_WAIT_LOOPS 1024, MAX_RECV_BUFFER_SIZE 262144, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: cbca34 
compiled on 09:21:24 Sep 15 2021 with gcc 7.5.0
</code></pre>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/2837#issuecomment-919742170">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZIGTTTNMQGHGTML4N3UCA5P7ANCNFSM5C7OASDA">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/ABO7UZPNTMRGJFTJEBTPJGLUCA5P7A5CNFSM5C7OASDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOG3JCNWQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/2837#issuecomment-919742170",
"url": "https://github.com/kamailio/kamailio/issues/2837#issuecomment-919742170",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>