[OpenSIPS-Users] Serialize Branches for same q-value

Brett Nemeroff brett at nemeroff.com
Thu Dec 9 07:28:28 CET 2010


Hello All,
I'm using someone elses redirect server which is responding with several
choices. None of which have a listed q-value. Now I'm told that I'm supposed
to try these "in order" and one at a time. It seems, however, because the
q-value is the same (missing) that they all get tried at once. Can I
override this behavior somehow?

I tried something like this (ugly):
                $(branch(q)[0])=100;
                $(branch(q)[1])=90;
                $(branch(q)[2])=80;
                $(branch(q)[3])=70;
                $(branch(q)[4])=60;
                $(branch(q)[5])=50;
and then serializing the branches.. but that didn't really work right (did
for the first one)

Any ideas?

Thanks,
Brett
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20101209/150e3364/attachment.htm>


More information about the Users mailing list