[Asterisk-Users] Getting the Server IP

Cosmin Prund cosmin at adicomsoft.ro
Wed May 24 00:40:50 MST 2006


Your best bet is to write it by hand. If you don't want that you may use 
an AGI script to interrogate the operating system, selecting the one IP 
address you like the most. Please take into account system's with more 
then one net card. Please also note you may have more then one IP 
address per net card :-)

Steven Ringwald wrote:
> Hello all!
>
> Can anyone think of an *easy* way to get the IP number of the server 
> running asterisk from within the dialplan?
>
> Thank you in advance!
> Steve
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>




More information about the asterisk-users mailing list