Re: [SR-Users] Dialog order of operations

2015-03-10 Thread Daniel-Constantin Mierla
On 09/03/15 22:40, Alex Balashov wrote: > Daniel, > > Thanks for that insight. This does make me wonder if there are other > unforeseen implications in suspending/continue TM transactions, in > terms of "baggage" associated with the transaction or message, but not > part of the core TM structure,

Re: [SR-Users] Dialog order of operations

2015-03-09 Thread Alex Balashov
Daniel, Thanks for that insight. This does make me wonder if there are other unforeseen implications in suspending/continue TM transactions, in terms of "baggage" associated with the transaction or message, but not part of the core TM structure, not making it across the suspend/continue gap.

Re: [SR-Users] Dialog order of operations

2015-03-09 Thread Daniel-Constantin Mierla
On 09/03/15 14:40, Alex Balashov wrote: > Daniel, > > On 03/09/2015 07:09 AM, Daniel-Constantin Mierla wrote: > >> On 09/03/15 01:42, Alex Balashov wrote: >>> Well, I can say this: it seems that dlg_set_property("ka-{src,dst}") >>> must be set after dlg_manage(), or it has no effect. >>> >> I che

Re: [SR-Users] Dialog order of operations

2015-03-09 Thread Alex Balashov
Daniel, On 03/09/2015 07:09 AM, Daniel-Constantin Mierla wrote: On 09/03/15 01:42, Alex Balashov wrote: Well, I can say this: it seems that dlg_set_property("ka-{src,dst}") must be set after dlg_manage(), or it has no effect. I checked the code and the flags from the local context that are s

Re: [SR-Users] Dialog order of operations

2015-03-09 Thread Daniel-Constantin Mierla
On 09/03/15 01:42, Alex Balashov wrote: > Well, I can say this: it seems that dlg_set_property("ka-{src,dst}") > must be set after dlg_manage(), or it has no effect. > I checked the code and the flags from the local context that are set before the dialog creation are stored in dialog structure at

Re: [SR-Users] Dialog order of operations

2015-03-09 Thread Daniel-Constantin Mierla
> Sent from my BlackBerry. Please excuse errors and brevity. > Original Message > From: Daniel-Constantin Mierla > Sent: Monday, March 2, 2015 2:53 AM > To: Kamailio (SER) - Users Mailing List > Reply To: mico...@gmail.com > Subject: Re: [SR-Users] Dialog order of operatio

Re: [SR-Users] Dialog order of operations

2015-03-08 Thread Alex Balashov
Well, I can say this: it seems that dlg_set_property("ka-{src,dst}") must be set after dlg_manage(), or it has no effect. -- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 United States Tel: +1-678-954-0670 Web: http://www.evaristesys.com/ __

Re: [SR-Users] Dialog order of operations

2015-03-02 Thread Alex Balashov
co...@gmail.com Subject: Re: [SR-Users] Dialog order of operations Hello, it should be ok to set a profile or a dlg variable before creating the dialog. They are kept in the context of the process and destroyed if the dialog is no longer created for the current sip message. Cheers, Daniel On

Re: [SR-Users] Dialog order of operations

2015-03-01 Thread Daniel-Constantin Mierla
Hello, it should be ok to set a profile or a dlg variable before creating the dialog. They are kept in the context of the process and destroyed if the dialog is no longer created for the current sip message. Cheers, Daniel On 26/02/15 20:49, Alex Balashov wrote: > Hi, > > The dialog module docum

[SR-Users] Dialog order of operations

2015-02-26 Thread Alex Balashov
Hi, The dialog module documentation remains unclear about the order of operations with regard to when to call dlg_manage() or set the transaction flag. My impression is that dlg_manage() only registered TM callbacks, so it doesn't matter when you call it, as long as it's before t_relay(). H