[Freeswitch-users] NGINX + Kamailio + FreeSwitch

Alexandru Covalschi 568691 at gmail.com
Wed Jan 4 00:55:39 MSK 2017


If you go deeper into websockets you'll understand that WS traffic has very little common with HTTP (actually it is more like HTTP/2) and it is generally a good idea to separate http and ws traffic,
You can join @ru_freeswitch channel on telegram, as what we are discussing now is offtopic on that list.

________________________________
Alexandru Covalschi
VoIP Engineer and System Administrator
tel: +373 673 98 493

> 3 янв. 2017 г., в 23:51, Sergey Safarov <s.safarov at gmail.com> написал(а):
> 
> ср, 4 янв. 2017 г. в 0:03, Alexandru Covalschi <568691 at gmail.com <mailto:568691 at gmail.com>>:
> >But FreeSwitch wants SIP headers "X-AUTH-IP" and "X-AUTH-PORT" in every SIP message not only connection establishing
> First of all Freeswitch doesn't require those headers.
> This header required to auth particular SIP/WebRTC clients by IP addresses via proxy daemons.
> 
> Well for that you should use STUN and set that in your clients application. Another way is to use Kamailio, yes, it can add those on the fly, but again - you must put it instead of the proxy server (which you 
> may actually want to do as it is a SIP proxy by-desing and it works with websockets pretty fine).
>  If i place Kamailio instead of http proxy server, then i must have two entry points:
> 1) for http trafic - http server;
> 2) web-socket trafic - Kamailio.
> 
> But i wants avoid configuration with more than one entry point.
> 
> Sergey
> 
> ________________________________
> Alexandru Covalschi
> VoIP Engineer and System Administrator
> tel: +373 673 98 493 <tel:+373%20673%2098%20493>
>> 3 янв. 2017 г., в 22:47, Sergey Safarov <s.safarov at gmail.com <mailto:s.safarov at gmail.com>> написал(а):
> 
>> 
>> Then you will try cofigure Kamailio between  NGINX and FreeSwitch. In this case Kamailio can parce http headers and add requred SIP header.
>> Are you can suggest other way to publish FreeSwitch socket on same port with http server?
>> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org <http://www.freeswitch.org/>
> http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
> http://www.cluecon.com <http://www.cluecon.com/>
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
> http://www.freeswitch.org <http://www.freeswitch.org/>_________________________________________________________________________
> Professional FreeSWITCH Consulting Services: 
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170103/a606555f/attachment.html 


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