[Kamailio-Devel] append_branch() inside modules

Iñaki Baz Castillo ibc at aliax.net
Fri Nov 28 14:52:32 CET 2008


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).


> 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 
use in route block:
  setbflag(2)
then all the generated branches will contain it.


-- 
Iñaki Baz Castillo



More information about the Devel mailing list