[OpenSIPS-Users] Possible Drouting bug

Bogdan-Andrei Iancu bogdan at opensips.org
Tue Mar 28 05:55:20 EDT 2017


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 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 03/23/2017 09:19 AM, John Nash wrote:
> 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 call following ...
> use_next_gw(,"$avp(rules_attributes)","$avp(gw_attributes)")
>
> $avp(gw_attributes) becomes empty
>
>
> If i call next_routing() instead of use_next_gw then 
> $avp(gw_attributes) retains old value but does not populate new value
>
>
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20170328/c034ce2b/attachment.html>


More information about the Users mailing list