On Wed, Feb 2, 2011 at 3:51 PM, Bogdan-Andrei Iancu <[email protected]>wrote:
> Hi Brett,
>
> The error log you get is triggered when the internal function
> "next_branches" returns false (a negative code). This is when:
> - function called from wrong route type (like for a reply)
> - there are no more branches left
> - internal error
>
> I guess in your case, the second case (when there are no more branches) is
> the trigger. And indeed, in this case, the error message is bogus - we need
> to fix that.
>
> Regards,
> Bogdan
>
> Brett Nemeroff wrote:
>
>> All,
>>
>> I'm routing calls using 3XX redirects. I serialize the branches. I
>> immediately call a next_branches() and arm a failure_route. In the failure
>> route I do something like:
>>
>>
>> if (!next_branches()) {
>> t_reply("503","Service Unavailable ");
>> exit;
>> }
>>
>>
Bogdan,
Was just wondering if any work had been done on this yet. Can I manually
check the return value for a specific value so this code block gets
executed when there are no more branches to attempt?
Thanks,
Brett
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users