[OpenSIPS-Users] Route_to_gw not pushing gw_id to the first index of avp
aronp at guaranteedplus.com
Wed Jul 1 14:50:27 CEST 2015
I guess pushing to the last index of the avp is what's expected.
But how did you retrieve the gw_id from is_from_gw, did you use an explicit
On Jul 1, 2015 8:16 AM, "Patrick Wakano" <pwakano at gmail.com> wrote:
> Hello Opensips list,
> When using the route_to_gw() function, I noticed that the gw_id that is
> pushed back to the avp wasn't matching the address actually selected by the
> drouting engine.
> After some investigation I noticed that earlier in my script I was calling
> the is_from_gw() function with the 'i' flag which also pushes the gw_id to
> the avp and this was the value I was seeing in my avp after calling the
> By debuging with the avp_print() function I could see that the
> route_to_gw() does not pushes the gw_id to first index of the avp, but to
> the end of it. Any reason for that or is it a bug?
> Users mailing list
> Users at lists.opensips.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users