Freeswitch behind a WS Proxy
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
What port on FreeSWITCH are you speaking to? On Mon, Feb 9, 2015 at 7:33 AM, Christian Hoene < christian.hoene@symonics.com> wrote:
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- *Brian West* brian@freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
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
participants (2)
-
Brian West
-
Christian Hoene