Re: [SR-Users] Kamailio - Nonce validity between Register and Invite

2012-08-31 Thread patrice.bodeven
Hello, I find my error finally in my configuration. The initial setting was only modparam("auth", "auth_checks_register", 6) # callid and From TAG I forgot to set also the other auth_checks on no_dlg and in_dlg. modparam("auth", "auth_checks_no_dlg", 6) # callid and From TAG modparam("auth

Re: [SR-Users] Kamailio - Nonce validity between Register and Invite

2012-08-31 Thread patrice.bodeven
Hello The return code is 2. The problem seems due to "nonce.c" if (!memcmp(&b_nonce.n.md5_1[0], &b_nonce2.n.md5_1[0], 16)) { xxx } So I put DBG("auth:pre_auth:api.c:nonce.c Invalid nonce (nonce %s)\n", &b_nonce.n.md5_1[0]); DBG("auth:pre_auth:api.c:nonce.c Invalid nonce (no

[SR-Users] Kamailio - Nonce validity between Register and Invite

2012-08-22 Thread patrice.bodeven
Hello, I am working on Kamailio 3.2.2. There is no traffic, only functional test done. Based on the SIP Client used until now (Xlite), the INVITE is systematically authenticated by 407 as there is no Proxy-Authorization in the initial INVITE. Expected/normal behavior. But when using an interna

[SR-Users] Kamailio and Nonce Count

2012-06-08 Thread patrice.bodeven
Hello, I try to understand the nonce count handling. By parameter "modparam("auth", "nonce_expire", 21600)" I can define the validity of the Nonce in the time. But I want also to define the validity of the Nonce in the number of use. For exemple, I want to limit the reuse of the nonce at 64 ti

Re: [SR-Users] Kamailio and Netann

2012-06-05 Thread patrice.bodeven
Hello guys, Thanks for your quick answer. Based on your confirmation that this format of the R-URI is supported and received inside the script (and not parsed by the sip stack), then I added additional logs and discovered the mistake in my script. I had before a line "subst_uri("/sip:([^:]*)[:

[SR-Users] Kamailio and Netann

2012-06-04 Thread patrice.bodeven
Hello, I'am working on Kamailio version 3.2.2. I'm doing some test in interaction with Application server and media server. The applicationServer sends a INVITE sip to Media Server via the Kamailio. The R-URI has the format sip:a...@cl1.oms.ser.v0.pftest.net;play=http://1xx.1xx.1xx.1xx:8080/errfil