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


_______________________________________________
--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

Reply via email to