In the registration, I check

        if (!is_user_in("From", "nopass")){

                if (!www_authorize("voip","subscriber")) {

                        www_challenge("voip","0");

                        xlog("L_NOTICE", "authorization fail.\n");

                        break;

                };

        };

 

Wherelse for INVITE, I check

        if (!proxy_authorize("voip","subscriber")) {

                proxy_challenge("voip","0");

               xlog("L_NOTICE", "not authorized??\n");

                break;

        };

 

Does that affect?

 

And in the serctl moni, I notice there’s a lot of 401 and 407 and so many waiting, is it suppose to be so?

 

[cycle #: 3560; if constant make sure server lives and fifo is on]

Server: Sip EXpress router (0.9.3 (i386/linux))

Now: Fri Aug  5 16:35:00 2005

Up Since: Fri Aug  5 13:47:43 2005

Up time: 10037 [sec]

 

Transaction Statistics

Current: 4 (105 waiting) Total: 3363 (0 local)

Replied localy: 7685

Completion status 6xx: 0, 5xx: 1, 4xx: 763, 3xx: 0,2xx: 4105

 

Stateless Server Statistics

200: 12901 202: 0 2xx: 0

300: 0 301: 0 302: 0 3xx: 0

400: 0 401: 11671 403: 0 404: 1003 407: 2256 408: 0 483: 0 4xx: 0

500: 0 5xx: 0

6xx: 0

xxx: 24575

failures: 13

 

UsrLoc Stats

Domain Registered Expired

'location' 662 1084

 


From: Sam Lee [mailto:sam.lee@super.net.sg]
Sent: Friday, August 05, 2005 4:19 PM
To: Chia Huey Lim; serusers@lists.iptel.org
Subject: RE: [Serusers] ser start up

 

Are u using Digest Auth ?

 


From: serusers-bounces@iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of Chia Huey Lim
Sent: Friday, August 05, 2005 4:13 PM
To: serusers@lists.iptel.org
Subject: [Serusers] ser start up

Hi,

 

I have a situation where the SER is only doing registration and proxy, where else ASTERISK is handling all the call switching behind (UA to UA as well as UA to pstn)

 

I am combining registration and proxy to be handled by one SER, only handling around 650 users at this stage.

However when I reboot the server and start SER, it takes around 10 minutes just for binding user and then handle registration, during that period, no UA can make any outgoing call though they are already registered. After the registration is settling down, only then UA can make outgoing call.

And after that, periodically, there will be a time where the SER is very busy with registration and no outgoing call can be made again…

Most of the UA expiry value is 20 minutes.

 

Is that normal?  Or which area I shall look into?  Is it advisable to separate registration and proxy into 2 SER?

Thanks in advance for the advice.

 

Regards,

Chia