[OpenSIPS-Users] Killing confirmed no-ack dialogs
osas at voipembedded.com
Wed Mar 30 20:20:42 CEST 2011
First, it needs to be identified how the dialog arrived in that state:
1. The ACK was not received and in this case the callee should send a BYE:
1a. The BYE was sent and received by opensips (then it's a bug
handling the BYE);
1b. The BYE was not sent (and we deal with a bogus callee);
2. The ACK was received but we had a race between 200ok and ACK (I
don't remember if this race was fixed).
For case 1. the dialog timeout should be set to a short value and the
dialog should autoexpire by itself.
For case 2. the race must be fixed (otherwise we may end up
terminating valid dialogs).
Do you have any additional info that could help identifying the proper
scenario that are we dealing with?
On Wed, Mar 30, 2011 at 12:50 PM, Brett Nemeroff <brett at nemeroff.com> wrote:
> Yeah, I'm on the verge of doing that. but seems like I should be able to be
> smarter about it. right?
> On Wed, Mar 30, 2011 at 11:45 AM, <duane.larson at gmail.com> wrote:
>> One thing to do is write a script that will check your dialogs and how
>> long they have been active. If they are older than X then delete the
>> dialogs. You can use the "opensipsctl fifo dlg_end_dlg" to kill the dialogs.
>> On Mar 30, 2011 11:24am, Brett Nemeroff <brett at nemeroff.com> wrote:
>> > Hello All,I've seen some incompatibilities pop up from time to time that
>> > leave dialogs in the invalid "CONFIRMED NO ACK" state. In general I'd like
>> > to end dialogs that stay in this state for more than X seconds. The idea is,
>> > either become confirmed, or die.
>> > I can't figure out how to do this. Originally I was going to use dialog
>> > timeouts. Set a short timeout (60 seconds) until the dialog becomes
>> > confirmed, but then change the dialog timeout to a long timeout (2 hours)
>> > once confirmed. But it doesn't seem like I can do that since the dialog
>> > timeout_avp can only be changed during a REQUEST (per docs).
> Users mailing list
> Users at lists.opensips.org
More information about the Users