Re: [SR-Users] Return code after fr_inv_timer hit

2011-01-18 Thread Klaus Darilion
Am 18.01.2011 12:02, schrieb Daniel-Constantin Mierla: Not sure if it is documented, but iirc, failed transactions accounting reports each stage of a failed forwarding (i.e., each final negative reply received for a transactions is reported). Try: modparam("acc", "failed_transaction_flag", 4)

Re: [SR-Users] Return code after fr_inv_timer hit

2011-01-18 Thread Mino Haluz
I changed the flag, and added: if (t_check_status("408|480")) { setflag(4); t_reply("480","Temporarily unavailable"); exit; } But with no difference .. On Tue, Jan 18, 2011 at 12:02 PM, Daniel-Constantin Mierla wrote: > Not sure if it is docum

Re: [SR-Users] Return code after fr_inv_timer hit

2011-01-18 Thread Daniel-Constantin Mierla
Not sure if it is documented, but iirc, failed transactions accounting reports each stage of a failed forwarding (i.e., each final negative reply received for a transactions is reported). Try: modparam("acc", "failed_transaction_flag", 4) And in failure route before t_reply(480...) do setfla

Re: [SR-Users] Return code after fr_inv_timer hit

2011-01-18 Thread Mino Haluz
These are my modparams. modparam("acc", "failed_transaction_flag", 1) modparam("acc", "report_cancels", 1) modparam("acc", "report_ack", 0) modparam("acc", "early_media",0) modparam("acc", "log_level", 5) modparam("acc", "log_flag", 1) modparam("acc", "log_m

Re: [SR-Users] Return code after fr_inv_timer hit

2011-01-18 Thread Daniel-Constantin Mierla
Do you have failed transaction accounting enabled? Can you watch the sip traffic (ngrep, wireshark), is the 408 sent to caller as well? Cheers, Daniel On 1/18/11 10:54 AM, Mino Haluz wrote: So failure_route[FAIL_ONE] { ... if (t_check_status("408")) { t_reply("480","Temporarily Un

Re: [SR-Users] Return code after fr_inv_timer hit

2011-01-18 Thread Mino Haluz
So failure_route[FAIL_ONE] { ... if (t_check_status("408")) { t_reply("480","Temporarily Unavailable"); exit; } } Thank you, but I am encountering particular problem, that there are 2 messages stored in the radius, the original 408 and my 480 Temporarily unavailabe. Can I force to d

Re: [SR-Users] Return code after fr_inv_timer hit

2011-01-14 Thread Klaus Darilion
Am 14.01.2011 10:28, schrieb Mino Haluz: Hi, I would like to force kamailio to send another code as Request timeout when fr invite timeout is hit. Is there some nice way how to achieve it, or I have to edit the code ? :( activate a failure route: t_on_failure("foo") then in failure route che

[SR-Users] Return code after fr_inv_timer hit

2011-01-14 Thread Mino Haluz
Hi, I would like to force kamailio to send another code as Request timeout when fr invite timeout is hit. Is there some nice way how to achieve it, or I have to edit the code ? :( Thank you! ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users