[OpenSIPS-Users] Opensips 1.11 drouting route_to_gw error

Alexander Mustafin mustafin.aleksandr at gmail.com
Tue Apr 22 17:48:56 CEST 2014


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




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140422/2451e109/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.opensips.org/pipermail/users/attachments/20140422/2451e109/attachment.pgp>


More information about the Users mailing list