[OpenSIPS-Users] Add Q Value to current SIP URI

Bogdan-Andrei Iancu bogdan at opensips.org
Fri Jul 1 17:44:15 CEST 2011


OK, I will take care, thanks.

Bogdan

On 07/01/2011 06:40 PM, Duane Larson wrote:
> Interesting.  Figured someone would have run into this by now.
> Just opened a bug report
> ID 3349030
> Thanks
>
>
> On Fri, Jul 1, 2011 at 9:18 AM, Bogdan-Andrei Iancu 
> <bogdan at opensips.org <mailto:bogdan at opensips.org>> wrote:
>
>     Hi Duane,
>
>     That's a funny situation - internally opensips has a Q value for
>     RURI (used by registrar, enum , etc), but there is no way to get
>     access to that from script level....
>
>     Strangely as nobody complained so far on that - you are the
>     unlucky first one :D...
>
>     Open a bug report on SF as this breaks the serialization mechanism.
>
>     Thanks and regards,
>     Bogdan
>
>
>     On 07/01/2011 01:00 AM, duane.larson at gmail.com
>     <mailto:duane.larson at gmail.com> wrote:
>
>         I am playing with the $branch variable and also
>         append_branch/serialize_branches and I was wondering how I can
>         accomplish the following
>
>         A call comes in for 1234
>         In my script I append_branch()
>         So now my branch[0] = 1234
>         Now I do $ru = 5678
>         Then branch(q)[0] = 80
>
>
>         Is there any way to set the current SIP URI's Q value?
>         Currently with what I did above 1234 will be called first
>         since I set the Q value to 0.8 and then if no one picks up
>         5678 will be called second. What if I wanted 5678 to be called
>         first and then 1234 second?
>
>
>     -- 
>     Bogdan-Andrei Iancu
>     OpenSIPS solutions and "know-how"
>
>
-- 
Bogdan-Andrei Iancu
OpenSIPS solutions and "know-how"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110701/69394fac/attachment.htm>


More information about the Users mailing list