Got your email - thank you.

Please try the attached patch.

Regards,
Bogdan

On 08/09/2011 07:14 PM, Duane Larson wrote:
Bogdan,
I am going to email you the debug directly since it is probably to big to post to pastebin. You should see the email in a minute or two.

On Tue, Aug 9, 2011 at 10:18 AM, Bogdan-Andrei Iancu <[email protected] <mailto:[email protected]>> wrote:

    Hi Duane,

    your logs do not cover the most important part - the first
    "next_branches"... Could you repost ?

    Regards,
    Bogdan


    On 07/15/2011 03:43 AM, Duane Larson wrote:
    I have a scenario where there are three numbers that need to be
    called
    90127X2XX9 should get called first        || Q-value is 90
    90148X7XX9 should get called second   || Q-value is 50
    90133X9XX9 should get called last        || Q-Value is 40
    The issue i am seeing is that the first and second number are
    getting called in parrallel and then the third number gets called
    last.  I have debug the issue with level 6.  I'm not able to
    paste the debug to pastebin because it is too big.  So here is a
    a shortened version.  Hopefully the relevant stuff
    http://pastebin.com/D8NK50X9
    Just for something to compare I have the second scenario where
    the Q Value works properly without issue
    90127X2XX9 gets called first         || Q-Value is 90
    90133X9XX9 gets called second    || Q-Value is 70
    90148X7XX9 gets called last         || Q-Value is 50
    With this each call is called serially in the order that they should.
    I also have a debug for this but I also can't paste this to pastebin.
    Here is the relevant stuff

    http://pastebin.com/vRiLiRw9


    _______________________________________________
    Users mailing list
    [email protected] <mailto:[email protected]>
    http://lists.opensips.org/cgi-bin/mailman/listinfo/users


-- Bogdan-Andrei Iancu
    OpenSIPS eBootcamp - 19th of September 2011
    OpenSIPS solutions and "know-how"


    _______________________________________________
    Users mailing list
    [email protected] <mailto:[email protected]>
    http://lists.opensips.org/cgi-bin/mailman/listinfo/users




--
--
*--*--*--*--*--*
Duane
*--*--*--*--*--*
--


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


--
Bogdan-Andrei Iancu
OpenSIPS eBootcamp - 19th of September 2011
OpenSIPS solutions and "know-how"

Index: serialize.c
===================================================================
--- serialize.c (revision 8223)
+++ serialize.c (working copy)
@@ -211,9 +211,9 @@
        /* Assign values for q_flags */
        for (i = first; contacts[i].next != -1; i = contacts[i].next) {
                if (contacts[i].q < contacts[contacts[i].next].q)
-                       contacts[contacts[i].next].q_flag = Q_FLAG;
+                       contacts[i].q_flag = Q_FLAG;
                else
-                       contacts[contacts[i].next].q_flag = 0;
+                       contacts[i].q_flag = 0;
        }
 
        if (clean_before)
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to