Controlling websockets ip the FS binds to
we have machines with two network cards, one is private and one is public. It seems that FS doesn't allow to specify the ip for ws-binding and wss-binding. <param name="wss-binding" value=":7443"/> trying to put an ip before the colon ends up with a profile not being loaded. from looking at the source code it seems that the code looks for sip-ip setting which in our case is set to the internal ip. Am I missing something? -- Yosi Taguri | Founder & CTO | Yalo | http://yaloapp.com <http://ahhhpah.com> | Mobile: +972-54-4816020 | Google Voice US Mobile: +1 (415) 935-1126 | Email: yosi@taguri.com
If putting an ip before the : doesn't work, its due to that IP not being on the box to bind to, or that port not being available to bind on that port. On Jul 17, 2014, at 1:31 AM, Yosi Taguri <yosi@taguri.com> wrote:
we have machines with two network cards, one is private and one is public. It seems that FS doesn't allow to specify the ip for ws-binding and wss-binding.
<param name="wss-binding" value=":7443"/>
trying to put an ip before the colon ends up with a profile not being loaded. from looking at the source code it seems that the code looks for sip-ip setting which in our case is set to the internal ip.
Am I missing something?
--
Yosi Taguri | Founder & CTO | Yalo | http://yaloapp.com | Mobile: +972-54-4816020 | Google Voice US Mobile: +1 (415) 935-1126 | Email: yosi@taguri.com
I tested it and I definitely had that ip on the box and port was not taken. it seems that the code just falls back to use sip-ip instead of taking an ip from the ws settings. On Thu, Jul 17, 2014 at 10:24 PM, Michael Jerris <mike@jerris.com> wrote:
If putting an ip before the : doesn't work, its due to that IP not being on the box to bind to, or that port not being available to bind on that port.
On Jul 17, 2014, at 1:31 AM, Yosi Taguri <yosi@taguri.com> wrote:
we have machines with two network cards, one is private and one is public. It seems that FS doesn't allow to specify the ip for ws-binding and wss-binding.
<param name="wss-binding" value=":7443"/>
trying to put an ip before the colon ends up with a profile not being loaded. from looking at the source code it seems that the code looks for sip-ip setting which in our case is set to the internal ip.
Am I missing something?
--
Yosi Taguri | Founder & CTO | Yalo | http://yaloapp.com <http://ahhhpah.com/> | Mobile: +972-54-4816020 | Google Voice US Mobile: +1 (415) 935-1126 | Email: yosi@taguri.com
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Yosi Taguri | Founder & CTO | Yalo | http://yaloapp.com <http://ahhhpah.com> | Mobile: +972-54-4816020 | Google Voice US Mobile: +1 (415) 935-1126 | Email: yosi@taguri.com
if thats the case, please file a jira on this. On Jul 17, 2014, at 5:13 PM, Yosi Taguri <yosi@taguri.com> wrote:
I tested it and I definitely had that ip on the box and port was not taken. it seems that the code just falls back to use sip-ip instead of taking an ip from the ws settings.
On Thu, Jul 17, 2014 at 10:24 PM, Michael Jerris <mike@jerris.com> wrote: If putting an ip before the : doesn't work, its due to that IP not being on the box to bind to, or that port not being available to bind on that port.
On Jul 17, 2014, at 1:31 AM, Yosi Taguri <yosi@taguri.com> wrote:
we have machines with two network cards, one is private and one is public. It seems that FS doesn't allow to specify the ip for ws-binding and wss-binding.
<param name="wss-binding" value=":7443"/>
trying to put an ip before the colon ends up with a profile not being loaded. from looking at the source code it seems that the code looks for sip-ip setting which in our case is set to the internal ip.
Am I missing something?
--
Yosi Taguri | Founder & CTO | Yalo | http://yaloapp.com | Mobile: +972-54-4816020 | Google Voice US Mobile: +1 (415) 935-1126 | Email: yosi@taguri.com
participants (2)
-
Michael Jerris
-
Yosi Taguri