[OpenSIPS-Users] Opensips 1.11 drouting route_to_gw error

Liviu Chircu liviu at opensips.org
Wed Apr 23 17:27:59 CEST 2014


Hello Alexander,

It seems I forgot to set some flags, and the values could have 
_sometimes_ been interpreted as integers...
The issue is now fixed on the master branch and also backported to 1.11. 
Thank you for reporting!

Best regards,

Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com

On 04/22/2014 06:48 PM, Alexander Mustafin wrote:
> Hello.
>
> I'm testing OpenSIPS 1.11. Now my version installed from daily 
> repo: opensips-1.11.0.20140420.d52cb7e-1.el6.x86_64
>
> I've got error in drouting module with route_to_gw function. I would 
> export gateway attributes after calling this function, but variable 
> contains digits - not my parameters.
>
> It looks like:
>
> if ( route_to_gw("$avp(gw_id)", "$avp(gw_attrs)") ) {
>             xlog("L_INFO", "[DROUTING] Gateway [GW=$avp(gw_id)] with 
> attrs $avp(gw_attrs)»);
>
> Apr 22 15:41:01 test aaa-radius[28744]: 
> DBG:drouting:push_gw_for_usage: setting GW id [GW_TEST] as avp
> Apr 22 15:41:01 test aaa-radius[28744]: 
> DBG:drouting:push_gw_for_usage: setting GW attr 
> [A=10;B=1;C=30,G=1;I=5] as avp
> Apr 22 15:41:01 test aaa-radius[28744]: [DROUTING] Gateway 
> [GW=GW_TEST] with attrs 286816192
> Apr 22 15:41:01 test aaa-radius[28744]: DBG:core:parse_params: Parsing 
> params for:[286816192]
>
>
> Best regards,
> Alexander Mustafin
> mustafin.aleksandr at gmail.com <mailto:mustafin.aleksandr at gmail.com>
>
>
>
>
>
>
> _______________________________________________
> 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/20140423/ca77ca2c/attachment.htm>


More information about the Users mailing list