[OpenSIPS-Users] storing and accessing dialog module flags and vals

Bogdan-Andrei Iancu bogdan at voice-system.ro
Fri Sep 4 14:48:52 CEST 2009


Brent Thomson wrote:
> Bogdan-Andrei Iancu wrote:
>   
>>> INVITE
>>> 	setflag(4)
>>> 	create_dialog() # returns true
>>> 	store_dlg_value("foo", "bar")
>>> 	set_dlg_flag("10")
>>>
>>>
>>> CANCEL	
>>> 	create_dialog() # returns false
>>> 	fetch_dlg_value("foo", "$avp(i:2)") # returns empty
>>> 	is_dlg_flag_set("10") # returns false
>>>   
>>>       
>> hmm... I see your point. actually the CANCEL is not matched against the 
>> dialog at all at this point, this is why you do not get the dialog info 
>> there.
>>
>> But I think it should be there, so please open a bug report on the 
>> tracker and I will take care of it.
>>
>>     
>
> Cool. I've submitted the issue in the tracker. Thanks for your help.
>   

Thanks - Got it and assigned it me; I will work it out for 1.6

Regards,
Bogdan




More information about the Users mailing list