Trying to set the group id as follows:
do_routing("$avp(s:GW_GROUP)")
This fails with a syntax error. The current format is:
do_routing("s:GW_GROUP")
It would be a good idea to change do_routing to accept $avp(s:GW_GROUP) format.
In addition, it appears that string avp's are not supported. The current method to make this work is to use something like the following:
$avp(i:32) = 0;
do_routing("i:32");
I would recommend that both of the above restrictions be lifted.
Hi Norman,
do_routing() accepts now parameter as "1" (for static values) or $avp() (for dynamic values).
Also, I updated the ruri_avp module paramter to accept a proper AVP spec.
Thanks and regards,
Bogdan