I figured out what was happening.
By doing "$(branch(q)[1]) = "0.1";" I was trying to write into an non
existent branch since 1 is actually the second branch because the main
branch ($ru) is not counted.
$(branch(q)[0]) = "0.1" // is the 1st.
$(branch(q)[1]) = "0.1" // is the 2nd.
Regards.
Car
I can't set any of the attributes values using the assignment syntax.
Everytime I do:
$(branch(q)[1]) = "0.1";
I get
ERROR: [lvalue.c:354]: setting pvar failed.
This is true for all attributes, nut just for "q".
Am I doing something wrong? I'm using Kamailio 3.2.3.
Regards.
Carlos.
On Fri
I'll try that :).
Thanks for your help.
Carlos.
On Fri, Aug 17, 2012 at 5:30 AM, Daniel-Constantin Mierla wrote:
>
> On 8/16/12 10:50 PM, Carlos Ruiz Díaz wrote:
>
>
>
> On Thu, Aug 16, 2012 at 4:30 PM, Daniel-Constantin Mierla <
> mico...@gmail.com> wrote:
>
>>
>> On 8/16/12 9:15 PM, Carlos R
On 8/16/12 10:50 PM, Carlos Ruiz Díaz wrote:
On Thu, Aug 16, 2012 at 4:30 PM, Daniel-Constantin Mierla
mailto:mico...@gmail.com>> wrote:
On 8/16/12 9:15 PM, Carlos Ruiz Díaz wrote:
Looks like km_append_branch() doesn't have all of the signatures
that the original append_branch
On Thu, Aug 16, 2012 at 4:30 PM, Daniel-Constantin Mierla wrote:
>
> On 8/16/12 9:15 PM, Carlos Ruiz Díaz wrote:
>
> Looks like km_append_branch() doesn't have all of the signatures that the
> original append_branch() has. I can't add q values for serial/parallel
> forking with km_append_branch()
On 8/16/12 9:15 PM, Carlos Ruiz Díaz wrote:
Looks like km_append_branch() doesn't have all of the signatures that
the original append_branch() has. I can't add q values for
serial/parallel forking with km_append_branch().
What signature are you looking for?
Also, apparently there's no way o
Looks like km_append_branch() doesn't have all of the signatures that the
original append_branch() has. I can't add q values for serial/parallel
forking with km_append_branch().
Also, apparently there's no way of setting the RURI by calling a function
that does that. I guess I'll have to do it usi
Great! I'll give it a try.
Thanks!
Carlos.
On Thu, Aug 16, 2012 at 12:13 PM, Daniel-Constantin Mierla <
mico...@gmail.com> wrote:
> Hello,
>
>
>
> On 8/16/12 5:25 PM, Carlos Ruiz Díaz wrote:
>
>> Hello guys,
>>
>> Why I can only append_branch() a SIP URI as a literal constant string?
>> Why not
Hello,
On 8/16/12 5:25 PM, Carlos Ruiz Díaz wrote:
Hello guys,
Why I can only append_branch() a SIP URI as a literal constant string?
Why not from a pseudovariable? It's the same for most of the core
functions.
My intention is to do something like this:
append_branch("$cnx3a(route1)");
t_
Hello guys,
Why I can only append_branch() a SIP URI as a literal constant string? Why
not from a pseudovariable? It's the same for most of the core functions.
My intention is to do something like this:
append_branch("$cnx3a(route1)");
t_relay();
where cnx3a is a variable containing the SIP URI
10 matches
Mail list logo