<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi,<br>
<br>
It was my fault, id overloaded the function. working now thanks.<br>
<br>
R<br>
<br>
On 09/08/2016 16:29, Bogdan-Andrei Iancu wrote:<br>
</div>
<blockquote
cite="mid:b4d09246-cc9e-372d-c204-94ce277881f4@opensips.org"
type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<tt>Hi Richard,<br>
<br>
Still there, in the auth module:<br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.opensips.org/html/docs/modules/2.2.x/auth.html#id294332">http://www.opensips.org/html/docs/modules/2.2.x/auth.html#id294332</a><br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 09.08.2016 18:26, Richard Robson
wrote:<br>
</div>
<blockquote
cite="mid:fd751f1e-c55d-9731-6dad-dfbfd1c18c3d@greenlightcrm.com"
type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<div class="moz-cite-prefix">is pv_proxy_authorize deprecated
too?<br>
<br>
unknown command <pv_proxy_authorize>, missing
loadmodule?<br>
<br>
auth module is loaded<br>
<br>
Regards,<br>
<br>
Richard<b><br>
<br>
</b><br>
On 09/08/2016 12:22, Liviu Chircu wrote:<br>
</div>
<blockquote
cite="mid:3db2750b-d55b-7cfa-64df-d57436e62a87@opensips.org"
type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<p><tt>Hi Richard,</tt></p>
<p><tt>The "gw_attrs_avp" was removed a while back ago, and
replaced with an output parameter to do_routing() and
friends.</tt></p>
<p><tt>Thank you for reporting! I've fixed the docs where
needed.</tt></p>
<pre class="moz-signature" cols="72">Liviu Chircu
OpenSIPS Developer
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 09.08.2016 05:50, Richard
Robson wrote:<br>
</div>
<blockquote
cite="mid:4bbffc93-6116-c1e3-5496-203d5ea8a9d6@greenlightcrm.com"
type="cite">
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
<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 moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:support@greenlightcrm.com">support@greenlightcrm.com</a></pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true" 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>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true" 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>
<p><br>
</p>
<pre class="moz-signature" cols="72">--
Richard Robson
Greenlight Support
01382 843843
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:support@greenlightcrm.com">support@greenlightcrm.com</a></pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true" 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>
</blockquote>
<br>
<p><br>
</p>
<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>