[OpenSIPS-Users] "gw_attrs_avp" not found in module drouting

Bogdan-Andrei Iancu bogdan at opensips.org
Tue Aug 9 17:29:19 CEST 2016


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
>>> support at greenlightcrm.com
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
> -- 
> 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/89d7c323/attachment-0001.htm>


More information about the Users mailing list