[OpenSIPS-Users] dialog and acc

Denis Putyato denis7979 at mail.ru
Tue May 10 11:49:48 CEST 2011


Bogdan

 

I understand, thank you

 

 

From: Bogdan-Andrei Iancu [mailto:bogdan at opensips.org] 
Sent: Tuesday, May 10, 2011 12:56 PM
To: Denis Putyato
Cc: 'OpenSIPS users mailling list'
Subject: Re: [OpenSIPS-Users] dialog and acc

 

Hi Denis,

Yes, before the loose_route(), and it is critical as for sequential requests, the matching against existing dialogs is done somewhere inside loose_route() (via some callbacks). And when the dialog is matched, the dialog timeout is updated, so this is why you need to populate the AVP for dialog timeout before the loose_route.

Dialog related variables will be available available after the loose_route(), when the dialog was matched, so the dialog cotext is available.

Regards,
Bogdan

On 05/10/2011 11:51 AM, Denis Putyato wrote: 

Bogdan, one more question

You wrote “2) at ACK, before loose_route()”

Why before? Is this critical? 

I want to use $dlg_status variables to check if dialog exists (When received ACK), but in documentation said that this variables works only after loose_route() function

 

From: Bogdan-Andrei Iancu [mailto:bogdan at opensips.org] 
Sent: Tuesday, May 10, 2011 12:43 PM
To: Denis Putyato
Cc: 'OpenSIPS users mailling list'
Subject: Re: [OpenSIPS-Users] dialog and acc

 

Hi Denis,

I can tell it works for sure, as I'm using this kind of dirty trick to cope with some buggy clients.

Best regards,
Bogdan

On 05/10/2011 06:42 AM, Denis Putyato wrote: 

Hello!

 

Thank you Bogdan, I will try you decision

 

From: Bogdan-Andrei Iancu [mailto:bogdan at opensips.org] 
Sent: Friday, May 06, 2011 9:25 PM
To: OpenSIPS users mailling list
Cc: Denis Putyato
Subject: Re: [OpenSIPS-Users] dialog and acc

 

Hi Denis,



More information about the Users mailing list