[OpenSIPS-Users] How to discover if OpenSIPS is connected to Internet, from the script.

Johan De Clercq johan at democon.be
Mon Aug 8 08:58:57 CEST 2016


create a start up route startup_route, the use module exec to f.e. get your
pub ip with curl.

2016-08-04 15:21 GMT+02:00 Rodrigo Pimenta Carvalho <pimenta at inatel.br>:

> Hi.
>
>
> How to discover if OpenSIPS is connected do Internet, from its
> configuration script?
>
>
> Sometimes the Internet Link is down and then just local calls will work.
> If I can discover if OpenSIPS is "online" on Internet, I will use this
> information to implement some specific logic in my script.
>
>
> Best regards.
>
>
> RODRIGO PIMENTA CARVALHO
> Inatel Competence Center
> Software
> Ph: +55 35 3471 9200 RAMAL 979
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20160808/e74939c9/attachment.htm>


More information about the Users mailing list