[asterisk-app-dev] Query for External IP using ARI
Chad Singer
csinger at protohype.net
Sun Feb 5 12:55:30 CST 2017
Set up an OOB communication mechanism. Extend ARI.
Chad G Singer
Director of Special Projects
Protohype, LLC
M:678.735.8731
csinger at protohype.net
www.protohype.net<http://www.convergent.com>
[protohype_transparent_small]
From: asterisk-app-dev-bounces at lists.digium.com [mailto:asterisk-app-dev-bounces at lists.digium.com] On Behalf Of Peter Warrick
Sent: Sunday, February 5, 2017 1:54 PM
To: Asterisk Application Development discussion <asterisk-app-dev at lists.digium.com>
Subject: Re: [asterisk-app-dev] Query for External IP using ARI
I appreciate the reply Maxim. Unfortunately I had already tried that and the IP is not in there.
Thanks again though.
Regards,
Peter
On Feb 5, 2017, at 5:57 AM, Maxim Litnitskiy <litnimaxster at gmail.com<mailto:litnimaxster at gmail.com>> wrote:
Hi Peter!
Not sure but you could try getting IP address from info - https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Asterisk+REST+API#Asterisk13AsteriskRESTAPI-getInfo
сб, 4 февр. 2017 г. в 1:52, Peter Warrick <peter at etepstudios.com<mailto:peter at etepstudios.com>>:
Is there a way to retrieve what the Asterisk’s external IP is using ARI?
I have a web application running on a different server from the Asterisk server and I need to get this information so I can send to my clients so they can use that information to connect to my Asterisk server. I could put this is in a settings file but I’d like to do it more automatically by querying Asterisk.
Appreciate any insight here.
Regards,
Peter
_______________________________________________
asterisk-app-dev mailing list
asterisk-app-dev at lists.digium.com<mailto:asterisk-app-dev at lists.digium.com>
http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev
_______________________________________________
asterisk-app-dev mailing list
asterisk-app-dev at lists.digium.com<mailto:asterisk-app-dev at lists.digium.com>
http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-app-dev/attachments/20170205/124d1238/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 5444 bytes
Desc: image001.png
URL: <http://lists.digium.com/pipermail/asterisk-app-dev/attachments/20170205/124d1238/attachment-0001.png>
More information about the asterisk-app-dev
mailing list