Re: [SR-Users] Memory Issue while accessing $rb (prakash)

2015-07-30 Thread Surendra.P
Hi Prakash,

   Specify the more private memory with -M option, while running
kamailio
 Like -M 64 :-)
Regards
@surendra   






___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Auth module Issue:UA getting challanged thrice when load is high

2015-10-16 Thread Surendra.P
Hello Daniel,

 

I have a concern regarding auth module, I am running 2000
TPS for  100 subscribers, using SIPP. What I observed when you run small
load like 500 TPS, everything get passed, but for 2000 TPS 

With same subscriber.csv file some of the subscribers getting challenged.
May I this why auth module is behaving like this.. below are the parameters
which I configured in auth module

 

modparam("auth", "nonce_expire", 3600), rest all parameters default values.

 

Regards

Surendra



___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Auth module Issue:UA getting challanged thrice when load

2015-10-18 Thread Surendra.P
Hello Daniel,

Thanks for your reply. I did some debugging, I found that I am
getting error like this, earlier this log was in DBG mode, changed to error
and then I ran the load.. "auth:pre_auth: Invalid nonce value received (ret
2)"
Problem is that this issue getting simulated every time. I am using
auth module version of kamailio 4.1.5 , since I checked with latest kamailio
version 4.3.2 , I didn't find any differences in this module. Please find my
finding below

Auth/nonce.c:check_nonce()

b_nonce2_len=calc_bin_nonce_md5(&b_nonce2, cfg, secret1, secret2, msg);
 if (!memcmp(&b_nonce.n.md5_1[0], &b_nonce2.n.md5_1[0], 16)) // here where
condition is getting failed and it is returning 2.

Regards
Surendra

Hello,

are there any error messages in the syslog?

Maybe setting debug level for auth modules to 3 and looking at logs will
help to reveal what is happening. Be sure syslog is in async mode,
otherwise it will slow down processing.

Cheers,
Daniel


On 16/10/15 08:42, Surendra.P wrote:
>
> Hello Daniel,
>
>  
>
> I have a concern regarding auth module, I am running
> 2000 TPS for  100 subscribers, using SIPP. What I observed when
> you run small load like 500 TPS, everything get passed, but for 2000 TPS
>
> With same subscriber.csv file some of the subscribers getting
> challenged. May I this why auth module is behaving like this.. below
> are the parameters which I configured in auth module
>
>  
>
> modparam("auth", "nonce_expire", 3600), rest all parameters default
> values.
>
>  
>
> Regards
>
> Surendra
>




___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Changing a user's password in the Kamailio routing logic

2015-10-18 Thread Surendra.P
 Hello mike, 
you can achieve it by doing DB update query using sqlops module. If
you want to change the user's password dynamically under a certain
condition, just invoke a update query to the DB using sqlops. Hope it solves
your issue.

Regards  
Surendra


Hi all,

I was wondering if there was a way to change a user's password from within
the routing logic section of kamailio.cfg (i.e. like do what 'kamctl
password' does, but in the routing logic)?

Thank,
Mike
**




___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users