Hi,

It was my fault, id overloaded the function. working now thanks.

R

On 09/08/2016 16:29, Bogdan-Andrei Iancu wrote:
Hi Richard,

Still there, in the auth module:
    http://www.opensips.org/html/docs/modules/2.2.x/auth.html#id294332

Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 09.08.2016 18:26, Richard Robson wrote:
is pv_proxy_authorize deprecated too?

 unknown command <pv_proxy_authorize>, missing loadmodule?

auth module is loaded

Regards,

Richard


On 09/08/2016 12:22, Liviu Chircu wrote:

Hi Richard,

The "gw_attrs_avp" was removed a while back ago, and replaced with an output parameter to do_routing() and friends.

Thank you for reporting! I've fixed the docs where needed.

Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com
On 09.08.2016 05:50, Richard Robson wrote:

Hi,


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
gw_attrs_avp parameted in the DRouting module (which is doing the routing).


I've added this line to the module config ,

modparam("drouting", "gw_attrs_avp", "$avp(trunkcalllimit)")

and i'm storing the call limit in the attrs field of the dr_gateways table

but i'm getting this error in the logs:


Aug  9 11:08:37 gl-sip-03 opensips: ERROR:core:set_mod_param_regex: parameter <gw_attrs_avp> not found in module <drouting>
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
Aug  9 11:08:37 gl-sip-03 opensips: ERROR:core:main: bad config file (1 errors)
Aug  9 11:08:37 gl-sip-03 opensips: NOTICE:core:main: Exiting....


Has something changed or has the documentation not been updated.


It's version 2.2.1


Regards,


Richard


-- 
Richard Robson
Greenlight Support
01382 843843
supp...@greenlightcrm.com


_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


-- 
Richard Robson
Greenlight Support
01382 843843
supp...@greenlightcrm.com


_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



-- 
Richard Robson
Greenlight Support
01382 843843
supp...@greenlightcrm.com


_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to