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


On 11/08/2014 07:57 AM, Markus wrote:
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 <Call ID> and before figuring out the Channel by running core show channels concise, but the issue is that the Call ID output from sip show channels is cut off and limited to 16 characters.

Thanks!
Markus



--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to