Pre-Submission Checklist

Type Of Change

Checklist:

Description

I want to get the source (destination) IP address of the message during event_route[siptrace:msg] route.
I added the ability to get socket info in this route block.

Now added

$siptrace(src_uri)
$siptrace(dst_uri)

This pseudovars return string like

udp:8.8.8.8:5060

I think src_uri and dst_uri is not correct here because this socket info, not SIP uri.

I expecting suggestion on how to get these params and from current implementation:

src_ip
src_port
src_proto
dst_ip
dst_port
dst_proto

As reference, I take sipdump pseudovariable


You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/2752

Commit Summary

File Changes

Patch Links:


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.