<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1251"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hello.<div><br></div><div>I’m testing OpenSIPS 1.11. Now my version installed from daily repo:&nbsp;opensips-1.11.0.20140420.d52cb7e-1.el6.x86_64</div><div><br></div><div>I’ve got error in drouting module with&nbsp;route_to_gw function. I would export gateway attributes after calling this function, but variable contains digits - not my parameters.</div><div><br></div><div>It looks like:</div><div><br></div><div><div>if ( route_to_gw("$avp(gw_id)", "$avp(gw_attrs)") ) {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; xlog("L_INFO", "[DROUTING] Gateway [GW=$avp(gw_id)] with attrs $avp(gw_attrs)»);</div><div><br></div><div><div>Apr 22 15:41:01 test aaa-radius[28744]: DBG:drouting:push_gw_for_usage: setting GW id [GW_TEST] as avp</div><div>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</div><div>Apr 22 15:41:01 test aaa-radius[28744]: [DROUTING] Gateway [GW=GW_TEST] with attrs 286816192</div><div>Apr 22 15:41:01 test aaa-radius[28744]: DBG:core:parse_params: Parsing params for:[286816192]</div></div><div><br></div><div><br></div><div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); font-family: Helvetica;  font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Best regards,</div><div>Alexander Mustafin</div><div><a href="mailto:mustafin.aleksandr@gmail.com">mustafin.aleksandr@gmail.com</a></div><div><br></div></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>

<br></div></body></html>