Not using t_load_contacts() was not giving me a chance earlier to investigate 
deeply, but finally I got some time and I went on troubleshooting by diff-ing 
the code and behaviour between the versions and came up with the commit 
referenced above. 

The result of debug messages now looks like in the branch 5.3, based on the 
tests done before with output posted in one of my comments above, so I haven't 
spent more time on understanding the changes introduced by proportional mode 
with the use of q_index field.

Now it prints:

```
 1(5011) WARNING: <script>: Route order:
 1(5011) INFO: <script>: ==== 1: sip:[email protected]
 1(5011) INFO: <script>: ==== 2: sip:[email protected]
 1(5011) INFO: <script>: ==== 3: sip:[email protected]
 1(5011) INFO: <script>: ==== 4: sip:[email protected]
 1(5011) INFO: <script>: ==== 5: sip:[email protected]
 1(5011) INFO: <script>: ==== 6: sip:[email protected]
 1(5011) INFO: <script>: ==== 7: sip:[email protected]
 1(5011) INFO: <script>: ==== 8: sip:[email protected]
 1(5011) INFO: <script>: ==== 9: sip:[email protected]
 1(5011) INFO: <script>: ==== 10: sip:[email protected]
```

The patch is only in master branch for now.

@cleung-tpn -- if you can test and confirm works as you expect, then I will 
backport to branch 5.3.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2449#issuecomment-729673535
_______________________________________________
Kamailio (SER) - Development Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to