[OpenSIPS-Users] "gw_attrs_avp" not found in module drouting
Liviu Chircu
liviu at opensips.org
Tue Aug 9 13:22:49 CEST 2016
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
> support at greenlightcrm.com
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20160809/6ce15edf/attachment.htm>
More information about the Users
mailing list