[Freeswitch-users] how can i get the server ip/hostname where freeswirch is installed?

Robert Hadley robert.hadley at teotech.com
Mon Jun 9 20:15:20 MSD 2014


Hi,

There are global variables that FS core sets at startup:

IP:  $${local_ip_v4} or $${local_ip_v6}

HOSTNAME:  $${hostname}

Regards,
Robert


From: Snabel Kabiya [mailto:snabel at lexifone.com]
Sent: Sunday, June 08, 2014 8:56 AM
To: freeswitch-users at lists.freeswitch.org
Subject: [Freeswitch-users] how can i get the server ip/hostname where freeswirch is installed?

Hi,

how can i get the server ip/hostname where freeswirch is installed?

i want to get the ip/hostname and use it in lua script.

Thanks,
Snabel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140609/f79069b2/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list