Mark,
did you look at the OpenSER logs and/or did you use tcpdump/grep to find out what is going on? Did OpenSER receive the 100 Trying reply from the phone, if yes, when? Did OpenSER generate 408 Request Timeout reply to the caller, if yes, when?
If OpenSER really receives 100 Trying reply from the called phone, then it sets up the fr_inv_timeout timer. After fr_inv_timeout timer expires OpenSER generates 408 Request Timeout reply to the caller, but it does not send CANCEL to the called phone, unless the noisy_ctimer parameter is set, so the phone continues ringing. May be your phone itself has some setting to stop ringing after 60 seconds if the user does not pick up the phone.
Regards, Anatoly.
Actually the original question was simply trying to control the length of time that caller had to wait before being transferred to voicemail. I have now tried setting:
modparam("tm", "fr_timer", 10)
but the phone still rings for a full 60 seconds. The docs for 1.2 state that the default is 30 seconds. Any more ideas. Mark
At 03:26 a.m. 24/02/2008, you wrote:
Hi,
I think the original question was not about generating CANCEL (to the callee) or not. It was about the length of the timer. Please read the description of the ft_timer timeout. After INVITE is sent to the callee, only ft_timer is set. When a provisional response is received (1xx) then fr_timer is removed and fr_inv_timer is set. The default value for the fr_timer is 60 seconds. This is why you are getting the timeout of 60 seconds no matter what value for the fr_inv_timeout you set.
By the way, the "408 Request Timeout" reply to the caller is always generated when one of the timers expires, it does not matter if noisy_ctimer parameter is set or not.
Regards, Anatoly.
El Sábado, 23 de Febrero de 2008, Mark Sayer escribió:
Hi -
I am using 1.2.1-notls. When using t_relay() to INVITE a call, I assume that the timeout before returning a 408 would be governed by fr_inv_timer and fr_inv_timer_avp. Although the 1.2 documentation states that the default for fr_inv_timer is 120 seconds I seem to get a timeout at 60 seconds and neither fr_inv_timer or fr_inv_timer_avp seems to have any effect. Have a made an error in interpreting the docs? How should I be varying this timeout?
That timeout just mean how long OpenSer stores transacction information in order to match repies and retransmissions, no more.
If you want OpenSer to generate a CANCEL (to the callee) and a 408 (to the caller) when that timer expires you must enable this parameter:
modparam("tm", "noisy_ctimer", 1)
Regards.
Users mailing list Users@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/users
-- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.20.9/1293
- Release Date: 22/02/2008 9:21 AM
Users mailing list Users@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/users