[SR-Users] bflag under failure_route (kamailio 1.5)

Daniel-Constantin Mierla miconda at gmail.com
Mon Oct 25 22:21:16 CEST 2010



On 10/25/10 10:08 PM, Iñaki Baz Castillo wrote:
> 2010/10/25 Daniel-Constantin Mierla<miconda at gmail.com>:
>> Looked in the code and I saw that only first branch inherits the branch
>> flags from main route, the other takes only the value from location records.
> Ok, so better to be careful with this and use blfag just under branch_route :)
>
> PS: Perhaps would it make sense a constrain so setbflag(),
> isbflagset() and resetbflag() cannot be used in route and
> failure_route anymore?
they are necessary in route to mark natted register as well as checking 
the branch flag when you don't run branch_route. In failure route you 
should get the branch flags from selected failed branch.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
http://www.asipto.com




More information about the sr-users mailing list