THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - Stefan Prelle (spr)
Attached to Project - sip-router Summary - uac_redirect not honoring q-value for max_total = 1 Task Type - Bug Report Category - Modules kamailio Status - Unconfirmed Assigned To - Operating System - Linux Severity - Medium Priority - Normal Reported Version - 4.0 Due in Version - Undecided Due Date - Undecided Details - I am using kamailio 4.0.3 and the uac_redirect module to evaluate the 302 response from a SIP redirect server and establish a call only to the target with the highest priority. My problem is, that kamailio does not pick the target with the highest priority, but the one with the lowest.
In the 302 the kamailio is receiving, there is a Contact header like this:
<code>Contact:sip:+49xxx@a.a.a.a:5060;user=phone;q=0.5,sip:+49xxx@b.b.b.b:5060;user=phone;q=0.25</code>
In my failure_route block I basically use the following commands
<code>get_redirects("1"); t_relay();</code>
The call then gets redirected to b.b.b.b whereas I would expect it to goto a.a.a.a
When I change my script to <code>get_redirects("*");</code> the call is forked to both IPs in parallel (starting with a.a.a.a)
I tried to strip that down to a minimal config that you will find attached.
One or more files have been attached.
More information can be found at the following URL: http://sip-router.org/tracker/index.php?do=details&task_id=349
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.