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
[email protected] <mailto:[email protected]>






_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to