[Freeswitch-users] Freeswitch behind a WS Proxy

Christian Hoene christian.hoene at symonics.com
Mon Feb 9 18:55:50 MSK 2015


Hello again,

the problem lies in the nta.c function agent_check_request_via.

My apache proxy translation is from wss to ws (which may sense if on lo), but
agent_check_request_via is still expecting WSS.

As a workaround, I am transmitting wss even locally. 

With best regards,

 CH

PS:

 
> 
> Hello,
> 
> we have placed Freeswitch behind a Apache ws tunnel proxy. 
> 
> Now, Freeswitch give me an error message because the sip_via is not correct.
> 
> nta.c:3146 agent_check_request_via() nta: Via check: invalid transport
> "SIP/2.0/WSS" from 127.0.0.1:39964
> nta.c:2990 agent_recv_request() nta: REGISTER (1) has invalid Via
> 
> How do I modify the sip via entry that Freeswitch is expecting? Where to set
> the
> sip_via_address/protocol/port variables?
> 
> Thanks
> 
>  CH



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