SIP UA and WSS conflict
Hello guys, I'm using FreeSWITCH (Version 1.9.0 git f3b7105 2016-11-15 01:50:51Z 64bit) And I ran into a stupid thing, I configured sofia to listen on 5060 and forgot to disable WSS. When starting FS I get no errors whatsoever, but here's the weird thing: Calls would be served, about 50% of them would hit sofia properly and the rest would hit WSS and it would respond with "bad request"... I scratched my head for a couple of hours for this. Maybe it would be a good idea to fail is there's another agent listening on the same port? Regards, David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337 ᐧ
Thats because of the REUSE_ADDR and which ever thread serviced the packet faster. We seen this somewhere else in the past month, I can't recall right now. /b On Wed, Mar 1, 2017 at 1:47 PM, David Villasmil < david.villasmil.work@gmail.com> wrote:
Hello guys,
I'm using FreeSWITCH (Version 1.9.0 git f3b7105 2016-11-15 01:50:51Z 64bit)
And I ran into a stupid thing, I configured sofia to listen on 5060 and forgot to disable WSS. When starting FS I get no errors whatsoever, but here's the weird thing:
Calls would be served, about 50% of them would hit sofia properly and the rest would hit WSS and it would respond with "bad request"... I scratched my head for a couple of hours for this.
Maybe it would be a good idea to fail is there's another agent listening on the same port?
Regards,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337 <+34%20669%2044%2083%2037> ᐧ
_________________________________________________________________________ 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 Allison prompts for FreeSWITCH: *https://www.gofundme.com/allison-prompts-for-freeswitch* <https://www.gofundme.com/allison-prompts-for-freeswitch> Wish to schedule a meeting? http://app.timebridge.com/#/meet/freeswitch Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *Skype:*briankwest
participants (2)
-
Brian West
-
David Villasmil