<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix"><tt>Hello Alexander,<br>
<br>
It seems I forgot to set some flags, and the values could have
_sometimes_ been interpreted as integers...<br>
The issue is now fixed on the master branch and also backported
to 1.11. Thank you for reporting!<br>
<br>
Best regards,<br>
</tt>
<pre class="moz-signature" cols="72">Liviu Chircu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
On 04/22/2014 06:48 PM, Alexander Mustafin wrote:<br>
</div>
<blockquote
cite="mid:E9F30892-6112-4FD7-85A3-8AAC58FA081D@gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
Hello.
<div><br>
</div>
<div>I’m testing OpenSIPS 1.11. Now my version installed from
daily repo: opensips-1.11.0.20140420.d52cb7e-1.el6.x86_64</div>
<div><br>
</div>
<div>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.</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> 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 moz-do-not-send="true"
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>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>