[asterisk-users] Dial(PJSIP/xx) - finding the IP address it connected to

Joshua C. Colp jcolp at sangoma.com
Wed Nov 3 14:25:29 CDT 2021

On Wed, Nov 3, 2021 at 3:31 PM Kingsley Tart <kingsley at dns99.co.uk> wrote:

> Hi,
> When dialling a remote SIP host with PJSIP, is it possible either
> within the dialplan or via the AMI to find out the IP address of the
> remote host?

The CHANNEL dialplan function[1] provides functionality for pjsip to get
the remote address.

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+19+Function_CHANNEL

Joshua C. Colp
Asterisk Technical Lead
Sangoma Technologies
Check us out at www.sangoma.com and www.asterisk.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20211103/775d047f/attachment.html>

More information about the asterisk-users mailing list