[Freeswitch-users] Freeswitch optimization as a registrar

2008-12-30 Thread rod
Hi all, I know that freeswitch has not been designed as a pure sip proxy/registrar, but I'm wondering how many subscribers could be handled by FS. I setup the following test environment: - Kamailio 1.4.2 as the registrar - all invite requests are flowing through FS, even for a call

Re: [Freeswitch-users] Freeswitch optimization as a registrar

2008-12-30 Thread David Sugar
You actually have potentially ~1320 effective SIP transactions per second to support 4 registered ua's with a 60s refresh. This is because the ua sends it's registration refresh unauthenticated. The registrar will then push back an authentication challenge request so the ua can prove its

Re: [Freeswitch-users] Freeswitch optimization as a registrar

2008-12-30 Thread Giovanni Maruzzelli
Hi David, very happy to read you on the FS list! We met in 2001 at OSCon San Diego, where you infected me with the telephony virus :-). You did great work with the Bayonne project, really breaking new ground. Thank you, happy hacking, happy new year Sincerely, Giovanni Maruzzelli

Re: [Freeswitch-users] Freeswitch optimization as a registrar

2008-12-30 Thread pe...@networkoblivion.com
This is because the ua sends it's registration refresh unauthenticated. The registrar will then push back an authentication challenge request so the ua can prove its identity, at which point the ua then repeats the same transaction, but with authentication credentials attached. Why does it

Re: [Freeswitch-users] Freeswitch optimization as a registrar

2008-12-30 Thread Giovanni Maruzzelli
Yes, it is part of the SIP specs. BTW, also HTTP works the same way. Sincerely, Giovanni Maruzzelli = Company : Celliax Website: www.celliax.org Address : via Pierlombardo 9, 20135 Milano Country/Territory : Italy Business Email: gmaruzz at celliax dot org

Re: [Freeswitch-users] Freeswitch optimization as a registrar

2008-12-30 Thread Michael Giagnocavo
This is because the ua sends it's registration refresh unauthenticated. The registrar will then push back an authentication challenge request so the ua can prove its identity, at which point the ua then repeats the same transaction, but with authentication credentials attached. Why does it

Re: [Freeswitch-users] Freeswitch optimization as a registrar

2008-12-30 Thread Michael Jerris
What revision of FreeSWITCH are you trying with? I would try with current trunk, I have a suspicion we fixed the main issue your running into. Mike On Dec 30, 2008, at 7:21 AM, rod wrote: Hi all, I know that freeswitch has not been designed as a pure sip proxy/registrar, but I'm

Re: [Freeswitch-users] Freeswitch optimization as a registrar

2008-12-30 Thread rod
Hi, I upgraded today to 10999 with same results. rod. Michael Jerris wrote: What revision of FreeSWITCH are you trying with? I would try with current trunk, I have a suspicion we fixed the main issue your running into. Mike On Dec 30, 2008, at 7:21 AM, rod wrote: Hi all, I

Re: [Freeswitch-users] Freeswitch optimization as a registrar

2008-12-30 Thread Michael Jerris
If your not using sqlite, make sure to create indexes on the tables created, you should be able to grep the ones we do in sqlite out of the code. Mike On Dec 30, 2008, at 9:59 AM, rod wrote: Hi, I upgraded today to 10999 with same results. rod. Michael Jerris wrote: What revision of

Re: [Freeswitch-users] Freeswitch optimization as a registrar - a cute hack

2008-12-30 Thread David Sugar
I actually have found an alternate approach that we optionally use in sipwitch. Basically, sipwitch can be set to recognize a trusted subnet, and automatically accepts a refresh from any actively registered ua on the trusted subnet(s) without requesting an authentication challenge, so long as the