[Freeswitch-users] Auto-detecting Local IP when no gateway set
Siri MM
sirimmfs at gmail.com
Thu Aug 15 04:26:36 MSD 2013
Hi All,
I am using freeswitch without local_ip_v4 explicitly set, i.e, I am
dependant on freeswitch auto-detecting the local IP address.
>From the code, what I understand is, in order to determine the local IP
address, freeswitch tries to ‘connect()’ using a DGRAM socket with
BROADCAST option set.
The problem that I am having is, my customer is working in a Local LAN, and
is not very keen on setting the interface gateway. Without gateway set,
connect() returns 'Network unreachable' error.
Is there any way I could workaround this problem? (apart from setting
local_ip_v4) Also, any other issues forseen if gateway isn't set ont he
interface?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130815/3ef1d8b6/attachment.html
Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users
mailing list