Hello Duane,
Indeed the $(branch(q)[x]) should receive only int values. But according
to your logs, the $avp(s:exten1_q_value) seems to have a string value.
I've just tested the code below and works fine:
*
$avp(q) = 1000;
$(branch(q)[0]) = $avp(q);
*
Please double check your AVP really has an integer value and not a
string one (something like "1000").
Regards,
Razvan Crainea
OpenSIPS Developer
On 29.06.2011 19:03, [email protected] wrote:
Would it be possible to allow us to set the $(branch(q)[x]) with an
AVP or Script Variable? Currently when you try to set the branch q
value with an AVP that is an Integer
$(branch(q)[1]) = $avp(s:exten1_q_value);
I see in syslog that it complains because the value on the right is
not an int. Even though I added the AVP value as an Integer OpenSIPS
doesn't like it. Didn't know if this could be added to the OpenSIPS
1.7 or a trunk
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users