<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p><tt>Hi,</tt></p>
<p><tt><br>
</tt></p>
<p><tt>I'm trying to keep a channel count per trunk and want to keep
the value in the DB assigned to the particular trunk. I thought
that I could use the <br>
<code>gw_attrs_avp parameted in the DRouting module (which is
doing the routing). <br>
</code></tt></p>
<p><tt><code><br>
</code></tt></p>
<p><tt><code>I've added this line to the module config ,</code></tt></p>
<p><tt><code>modparam("drouting", "gw_attrs_avp",
"$avp(trunkcalllimit)")<br>
</code></tt></p>
<p><tt><code>and i'm storing the call limit in the attrs field of
the dr_gateways table<br>
</code></tt></p>
<p><tt><code> but i'm getting this error in the logs:</code></tt></p>
<p><tt><code><br>
</code></tt></p>
<p><tt><code>Aug 9 11:08:37 gl-sip-03 opensips:
ERROR:core:set_mod_param_regex: parameter <gw_attrs_avp>
not found in module <drouting><br>
Aug 9 11:08:37 gl-sip-03 opensips: CRITICAL:core:yyerror:
parse error in config file /etc/opensips/opensips.cfg, line
117, column 20-21: Parameter <gw_attrs_avp> not found in
module <drouting> - can't set<br>
Aug 9 11:08:37 gl-sip-03 opensips: ERROR:core:main: bad
config file (1 errors)<br>
Aug 9 11:08:37 gl-sip-03 opensips: NOTICE:core:main:
Exiting....<br>
</code></tt></p>
<p><tt><code><br>
</code></tt></p>
<p><tt><code>Has something changed or has the documentation not been
updated. <br>
</code></tt></p>
<p><tt><code><br>
</code></tt></p>
<p><tt><code>It's version 2.2.1</code></tt></p>
<p><tt><code><br>
</code></tt></p>
<p><tt><code>Regards,</code></tt></p>
<p><tt><code><br>
</code></tt></p>
<p><code><tt>Richard</tt><br>
</code></p>
<br>
<pre class="moz-signature" cols="72">--
Richard Robson
Greenlight Support
01382 843843
<a class="moz-txt-link-abbreviated" href="mailto:support@greenlightcrm.com">support@greenlightcrm.com</a></pre>
</body>
</html>