On Monday 30 March 2009, Uriel Rozenbaum wrote:
I'm using this piece of code as failure route:
append_branch();
Hi Uriel,
do you do a "revert_uri()" somewhere before entering the failure_route? And
can you check if you perhaps reset the failed flag somewhere later in your
cfg?
[..]
And right in the main route i have:
if (is_method("INVITE|BYE|CANCEL"))
{
setflag(1);
setflag(2);
}
In order to bill all messages.
Is there any error in the failure logic?
Flag 1 is the successful, and 2 the failed flag?
Cheers,
Henning