I think I have narrowed down the problem. The Contact header available
here is the original Contact header that was in the INVITE. We are using
an LCR service that sends back a 300 Multiple Choices with various contacts
sorted by "q". We are consuming the 300 using the uac_redirect module, but
p
Igor,
I have successfully migrated to Kamailio 4.0 so I can use the function as
you defined. I am getting back a "0" instead of the actual rate though.
The only difference I can see is that my "q" and "rate" are outside of the
angle brackets in the Contact header:
Yours: *Contact: sip:sipp@[local
013 4:38 PM
> *To:* Kamailio (SER) - Users Mailing List
> *Subject:* Re: [SR-Users] Consuming 300 Multiple Choices
>
> ** **
>
> I should have been more clear. I am using Kamailio 1.5. I would consider
> upgrading, but that isn't the ideal path here.
>
> Any
f Geoffrey Mina
Sent: Friday, June 28, 2013 4:38 PM
To: Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] Consuming 300 Multiple Choices
I should have been more clear. I am using Kamailio 1.5. I would consider
upgrading, but that isn't the ideal path here.
Any other idea fo
I should have been more clear. I am using Kamailio 1.5. I would consider
upgrading, but that isn't the ideal path here.
Any other idea for 1.5?
On Fri, Jun 28, 2013 at 12:46 AM, I.Pavlov wrote:
> Hi Geoff, to grab “rate”-attribute try to use
> “$sel(contact.params["rate"]);”-expression. For
Hi Geoff, to grab "rate"-attribute try to use
"$sel(contact.params["rate"]);"-expression. For example, in my test with
sipp, I used Contact: sip:sipp@[local_ip]:[local_port];q=0.1;rate=0.002 and
$var(rate)=$sel(contact.params["rate"]);
xlog("CONTACT URI PARAMS: $var(rate)");
/usr/sbin/kam
Greetings,
I am looking for a way to get some extra information out of the Contact
header when consuming a multiple choices response. I am using uac_redirect
to populate the branches.
get_redirects("*");
t_load_contacts();
t_next_contacts();
t_on_failure("2");
t_relay();
In my failure_route[2]