Re: [SR-Users] CRLF Error with tcp_crlf_ping

2012-03-22 Thread Jijo
Hi Sorry for the late reply, I observed this issue when testing with broken TLS UA, which was sending CRLF in two packets instead of double CRLF in a single packet. It is very easy to recreate using openssl s_client command , where kamailio as server openssl s_client -connect 192.168.2.151:506

Re: [SR-Users] ACCDB insert issues

2012-03-22 Thread Uri Shacked
Hi, Thanks. when i changed to myisam engine (after reading a little) the error stoped even on a very high number of CAPS. i will try to use the db_insert_mode = 1 to increase the speed of the transaction. BR, Uri Hi I've also seen this error "ERROR: acc [acc.c:405]: failed to insert into databas

Re: [SR-Users] Relaying message to Recent contact list...

2012-03-22 Thread Krishna Kurapati
Thanks Daniel. I found your posting four years ago about saving one contact per user http://lists.kamailio.org/pipermail/devel/2008-October/016273.html and used save("location", "0x04"). However, I noticed a problem with this. The contact is not storing in the memory. Whenever there is a Rereg

Re: [SR-Users] modify FROM field in the "failure_route" block

2012-03-22 Thread Daniel-Constantin Mierla
On 3/22/12 6:12 PM, Alex Balashov wrote: On 03/22/2012 01:00 PM, Robert R wrote: When I am trying to modify FROM field in the "failure_route" block I get an error message: failure_route[1] { ... uac_replace_from("$avp(i:204)"); append_branch(); t_relay(); } Not starting openser:

Re: [SR-Users] error when using "uac_replace_from( )" in the "failure_route" block

2012-03-22 Thread Carsten Bock
Hi, by the way: What version of OpenSER are you using? "Not starting openser: invalid configuration file!" Maybe you should upgrade to a more recent Kamailio Version, that might solve the problem as well. Carsten 2012/3/22 Daniel-Constantin Mierla : > Hello, > > On 3/22/12 3:59 PM, Robert R wr

Re: [SR-Users] error when using "uac_replace_from( )" in the "failure_route" block

2012-03-22 Thread Daniel-Constantin Mierla
Hello, On 3/22/12 3:59 PM, Robert R wrote: Hi, When I am trying to modify FROM field in the "failure_route" block I get an error message: failure_route[1] { ... uac_replace_from("$avp(i:204)"); append_branch(); t_relay(); } Not starting openser: invalid configuration file! Mar 22 1

Re: [SR-Users] modify FROM field in the "failure_route" block

2012-03-22 Thread Alex Balashov
On 03/22/2012 01:00 PM, Robert R wrote: When I am trying to modify FROM field in the "failure_route" block I get an error message: failure_route[1] { ... uac_replace_from("$avp(i:204)"); append_branch(); t_relay(); } Not starting openser: invalid configuration file! Mar 22 10:51:39

[SR-Users] modify FROM field in the "failure_route" block

2012-03-22 Thread Robert R
Hi, When I am trying to modify FROM field in the "failure_route" block I get an error message: failure_route[1] { ... uac_replace_from("$avp(i:204)"); append_branch(); t_relay(); } Not starting openser: invalid configuration file! Mar 22 10:51:39 [6457] CRITICAL:core:yyerror: pars

Re: [SR-Users] Relaying message to Recent contact list...

2012-03-22 Thread Daniel-Constantin Mierla
Hello, if you don't use the other contacts, then might be simpler to just store one contact per AoR (which will be from last registration) -- see save(...) second parameter flags. Don't remember by hart, but registrar or usrloc has a parameter to control whether to add or not additional bran

[SR-Users] Relaying message to Recent contact list...

2012-03-22 Thread Krishna Kurapati
Hi, I am trying to relay the message to the Registered user. However, I would like to relay only to a recent contact. In case, there are multiple contact, I do not want to relay to older contacts. I am using t_relay() which is currently forking the request to all contacts. Any other way to accom

[SR-Users] error when using "uac_replace_from( )" in the "failure_route" block

2012-03-22 Thread Robert R
Hi, When I am trying to modify FROM field in the "failure_route" block I get an error message: failure_route[1] { ... uac_replace_from("$avp(i:204)"); append_branch(); t_relay(); } Not starting openser: invalid configuration file! Mar 22 10:51:39 [6457] CRITICAL:core:yyerror: pars

Re: [SR-Users] cached $TV is 0 in failure route

2012-03-22 Thread Daniel-Constantin Mierla
Hello, On 3/22/12 11:08 AM, Klaus Darilion wrote: Hi! Is this by design? I would expect it to be either the same value as in the request route, or even better to be calculated new every time it enters the failure route. $TV(...) takes inner name, any of them is 0? Btw, is it 0 or $null? Che

Re: [SR-Users] Does anyone know how to use Sipp to test Kamailio?

2012-03-22 Thread Klaus Darilion
It's quite clear. SIPp received an unexpected response. The SIp proxy responded with "403", but the scenario expected something else. I guess the scenario uses different domains (R-URI, From-header) than the proxy expects - thus it refuses the request with 403-relaying-denied. Klaus On 22.03

[SR-Users] www_authenticate("127.0.0.1", "credentials")

2012-03-22 Thread Marwan Idriss
Greeting, I want to ask you how the function www_authenticate("127.0.0.1", "credentials") work and what should I put the credentials Table Regards Marwan ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-r

[SR-Users] cached $TV is 0 in failure route

2012-03-22 Thread Klaus Darilion
Hi! Is this by design? I would expect it to be either the same value as in the request route, or even better to be calculated new every time it enters the failure route. regards Klaus ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users m

Re: [SR-Users] ACCDB insert issues

2012-03-22 Thread Yufei Tao
Hi I've also seen this error "ERROR: acc [acc.c:405]: failed to insert into database ". This seem to happen when cdrs_procedure runs at the same time of acc table insert. Can also be reliably reproduced by locking the acc table, make a call (about 20 seconds or more), end the call, wait for a s