[asterisk-app-dev] Query for External IP using ARI

Peter Warrick peter at etepstudios.com
Sun Feb 5 12:53:32 CST 2017


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> 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 <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 <http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev>
> _______________________________________________
> asterisk-app-dev mailing list
> 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/104d661b/attachment.html>


More information about the asterisk-app-dev mailing list