[Kamailio-Devel] append_branch() inside modules

Klaus Darilion klaus.mailinglists at pernau.at
Fri Nov 28 15:43:09 CET 2008



Iñaki Baz Castillo schrieb:
> El Viernes, 28 de Noviembre de 2008, Juha Heinanen escribió:
>> for example, when i process in-dialog requests, set bflag because it is
>> used in onreply route and i don't want to duplicate flags.
> 
> Ok. But you could also use a normal flag for that since the request will not 
> be forked (is an in-dialog request).

Probably Juha wants to sue the same piece of code for initial and 
indialog requests.

>> also usrloc module has nat_bflag that i set in route block before
>> calling save.
> 
> Yes, but it sets nat_bflag just in natted contacts/branches. If you manually 

You are talking about lookup(), Juha was talking about manually setting 
the bflag before save()

klaus

> use in route block:
>   setbflag(2)
> then all the generated branches will contain it.
> 
> 



More information about the Devel mailing list