Hi John,
I tried to reproduce your report, but no luck.
This is the script I used :
if ($rU=~"^1") {
$avp(gw_whitelist) = "one,two,three";
xlog ("Start routing\n");
if ( !do_routing("1","WF","$avp(gw_whitelist)" ,
"$avp(rules_attributes)","$avp(gw_attributes)")) {
John, do you use partitions in DR ?
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
OpenSIPS Summit May 2017 Amsterdam
http://www.opensips.org/events/Summit-2017Amsterdam.html
On 04/04/2017 11:00 PM, John Nash wrote:
Yes I tried that but
Yes I tried that but still same issue. I call goes_to_gw and after that
attributes are filled.
On Tue, Mar 28, 2017 at 3:25 PM, Bogdan-Andrei Iancu
wrote:
> Hello John,
>
> Do you use partitions ? Is the use_partition enabled ? If not, the
> use_next_gw() should be used
Hello John,
Do you use partitions ? Is the use_partition enabled ? If not, the
use_next_gw() should be used like:
use_next_gw( "$avp(rules_attributes)","$avp(gw_attributes)")
(the first param, the partition, is not to be provided)
Could you check if this solves the problem ?
Best
I am using drouting and recently tried to use gateway attribute. I call ...
do_routing("$avp(int_grp_id)","WF","$avp(gw_whitelist)" ,
"$avp(rules_attributes)","$avp(gw_attributes)"))
After this call I can see $avp(gw_attributes) is populated frp, attr column
of dr_gateways table.
but when i