[OpenSIPS-Users] [OpenSIPS-Devel] [NEW] Per-dialog flags and attributes

Bogdan-Andrei Iancu bogdan at voice-system.ro
Thu Jan 15 09:58:09 CET 2009


Hi Inaki,

Iñaki Baz Castillo wrote:
>> 1) dialog persistent flags
>> Available functions:
>> 	- set_dlg_flag("n");
>> 	- reset_dlg_flag("n");
>> 	- is_dlg_flag_set("n");
>>     
>
> Just a question: why not:
> - setdflag(int);
> - resetdflag(int);
> - issetdflag(int);
>   
The param must be a string as this is mandatory for all module functions 
(the setXflag(n) are core functions ). If I had to follow the prototypes 
for module functions, I prefered to align also the function naming with 
the existing functions in module....

Regards,
Bogdan




More information about the Users mailing list