<p></p>
<p>I changed the code to be $siptrace(src_addr) and $siptrace(dst_addr), because the URI in the keyword would suggest is a SIP URI format. I also updated the wiki.</p>
<p>You can parse "proto:ip:port" with <code>parse_phostport()</code> and then get its attributes to have variables for ip, port, ...</p>

<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/pull/2752#issuecomment-857591992">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZOEEKDGN2QELBUFFO3TR5BILANCNFSM45YPYQAA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZMTO6YASHFNPCWYV2DTR5BILA5CNFSM45YPYQAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGMO5BOA.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/pull/2752#issuecomment-857591992",
"url": "https://github.com/kamailio/kamailio/pull/2752#issuecomment-857591992",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>