Hi Khaled,
Check the return code of the use_next_gw() - if there is no other GW to
be used (all used), the function will return false and, of course, no
gw_id or rule_attrs will be available.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 05/22
Dears
I am using opensips 1.8.3 with do_routing module
>From documentation:
The name of the avp for storing the id of the current selected
gateway/destination - once a new destination is selected (via the
use_next_gw() function), the AVP will be updated with the ID of the new
selected gatewa