How To Find RTP Address Of Ongoing Call?
Hi list,
probably this is a FAQ but I can’t seem to find it. How to find the RTP
IP address of an ongoing SIP call?
“sip show channels” seems to list the RTP address under the very left column called “Peer”. And it also lists the associated “Call ID” which I
could associate with a call by executing sip show channel
Thanks!
Markus
One thought on - How To Find RTP Address Of Ongoing Call?
Not sure if this helps but I’ve used the following in my dialplan in the past:
;Get MTA IP from SIP header
;same => n,Verbose(2,rtpdest = ${CHANNEL(rtpdest)})
you’ll see something like the following in the logs:
[Nov 8 13:29:05] == rtpdest = 192.168.1.75:7078
not sure how to do it via CLI though.
Bryan Burroughs