Re: [SR-Users] How to resolve these mod_param errors in Kamailio 5.3.1?

2020-06-15 Thread Henning Westerholt
Hello,

please keep the list in CC

have a look to the docs later in the README:

3.13. xavp_dst_mode (int)
Control what fields are added to the XAVP specified by xavp_dst parameter.
Cheers,

Henning

--
Henning Westerholt - https://skalatan.de/blog/
Kamailio services - https://gilawa.com

From: Muhammad Maab Saleem 
Sent: Monday, June 15, 2020 7:10 AM
To: Henning Westerholt 
Subject: RE: How to resolve these mod_param errors in Kamailio 5.3.1?

Hi, Henning.

Thanks for your response.

However, as I pointed out to him, this only fixes one of the parameter. I have 
three others where there is a conflict. I can't  find any replacements for 
them. Do you have any pointers regarding them?

Best,
Maab



Sensitivity: Internal
From: Henning Westerholt mailto:h...@skalatan.de>>
Sent: Saturday, June 13, 2020 6:50 PM
To: Kamailio (SER) - Users Mailing List 
mailto:sr-users@lists.kamailio.org>>
Cc: Muhammad Maab Saleem 
mailto:maab.sal...@telenor.com.pk>>
Subject: RE: How to resolve these mod_param errors in Kamailio 5.3.1?

Hello,

To quote the e-mail from Ovidiu some days ago:

"Take a look at the new param:
https://kamailio.org/docs/modules/5.3.x/modules/dispatcher.html#dispatcher.p.xavp_dst
Up to version 5.2, regular AVPs were used, but starting with version 5.3 the 
regular AVPs were replaced by an XAVP."

So you need to replace the old parameter with the new one.

Cheers,

Henning

--
Henning Westerholt - 
https://skalatan.de/blog/
Kamailio services - 
https://gilawa.com

From: sr-users 
mailto:sr-users-boun...@lists.kamailio.org>>
 On Behalf Of Muhammad Maab Saleem
Sent: Friday, June 12, 2020 8:37 AM
To: sr-users@lists.kamailio.org
Subject: [SR-Users] How to resolve these mod_param errors in Kamailio 5.3.1?

This is the error I get when I run ./kamailio -f /etc/kamailio/kamailio.cfg -E

loading modules under config path: 
/usr/lib64/kamailio/modules_k/:/usr/lib64/kamailio/modules/:/usr/lib/kamailio/modules_k/:/usr/lib/kamailio/modules/
0(28369) ERROR: [core/modparam.c:140]: set_mod_param_regex(): parameter 
 of type <1> not found in module
0(28369) CRITICAL: [core/cfg.y:3539]: yyerror_at(): parse error in config file 
/etc/kamailio/kamailio.cfg, line 378, column 61: Can't set module parameter
0(28369) ERROR: [core/modparam.c:140]: set_mod_param_regex(): parameter 
 of type <1> not found in module
0(28369) CRITICAL: [core/cfg.y:3539]: yyerror_at(): parse error in config file 
/etc/kamailio/kamailio.cfg, line 379, column 61: Can't set module parameter
0(28369) ERROR: [core/modparam.c:140]: set_mod_param_regex(): parameter 
 of type <1> not found in module
0(28369) CRITICAL: [core/cfg.y:3539]: yyerror_at(): parse error in config file 
/etc/kamailio/kamailio.cfg, line 380, column 61: Can't set module parameter
0(28369) ERROR: [core/modparam.c:140]: set_mod_param_regex(): parameter 
 of type <1> not found in module
0(28369) CRITICAL: [core/cfg.y:3539]: yyerror_at(): parse error in config file 
/etc/kamailio/kamailio.cfg, line 381, column 63: Can't set module parameter
ERROR: bad config file (4 errors)

These are the lines 378-381 from the config file
modparam("dispatcher", "dst_avp", "$avp(DISPATCHER_DST_AVP)")
modparam("dispatcher", "grp_avp", "$avp(DISPATCHER_GRP_AVP)")
modparam("dispatcher", "cnt_avp", "$avp(DISPATCHER_CNT_AVP)")
modparam("dispatcher", "sock_avp", "$avp(DISPATCHER_SOCK_AVP)")


Best,
Maab


Sensitivity: Internal
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] How to resolve these mod_param errors in Kamailio 5.3.1?

2020-06-13 Thread Henning Westerholt
Hello,

To quote the e-mail from Ovidiu some days ago:

"Take a look at the new param:
https://kamailio.org/docs/modules/5.3.x/modules/dispatcher.html#dispatcher.p.xavp_dst
Up to version 5.2, regular AVPs were used, but starting with version 5.3 the 
regular AVPs were replaced by an XAVP."

So you need to replace the old parameter with the new one.

Cheers,

Henning

--
Henning Westerholt - https://skalatan.de/blog/
Kamailio services - https://gilawa.com

From: sr-users 
mailto:sr-users-boun...@lists.kamailio.org>>
 On Behalf Of Muhammad Maab Saleem
Sent: Friday, June 12, 2020 8:37 AM
To: sr-users@lists.kamailio.org
Subject: [SR-Users] How to resolve these mod_param errors in Kamailio 5.3.1?

This is the error I get when I run ./kamailio -f /etc/kamailio/kamailio.cfg -E

loading modules under config path: 
/usr/lib64/kamailio/modules_k/:/usr/lib64/kamailio/modules/:/usr/lib/kamailio/modules_k/:/usr/lib/kamailio/modules/
0(28369) ERROR: [core/modparam.c:140]: set_mod_param_regex(): parameter 
 of type <1> not found in module
0(28369) CRITICAL: [core/cfg.y:3539]: yyerror_at(): parse error in config file 
/etc/kamailio/kamailio.cfg, line 378, column 61: Can't set module parameter
0(28369) ERROR: [core/modparam.c:140]: set_mod_param_regex(): parameter 
 of type <1> not found in module
0(28369) CRITICAL: [core/cfg.y:3539]: yyerror_at(): parse error in config file 
/etc/kamailio/kamailio.cfg, line 379, column 61: Can't set module parameter
0(28369) ERROR: [core/modparam.c:140]: set_mod_param_regex(): parameter 
 of type <1> not found in module
0(28369) CRITICAL: [core/cfg.y:3539]: yyerror_at(): parse error in config file 
/etc/kamailio/kamailio.cfg, line 380, column 61: Can't set module parameter
0(28369) ERROR: [core/modparam.c:140]: set_mod_param_regex(): parameter 
 of type <1> not found in module
0(28369) CRITICAL: [core/cfg.y:3539]: yyerror_at(): parse error in config file 
/etc/kamailio/kamailio.cfg, line 381, column 63: Can't set module parameter
ERROR: bad config file (4 errors)

These are the lines 378-381 from the config file
modparam("dispatcher", "dst_avp", "$avp(DISPATCHER_DST_AVP)")
modparam("dispatcher", "grp_avp", "$avp(DISPATCHER_GRP_AVP)")
modparam("dispatcher", "cnt_avp", "$avp(DISPATCHER_CNT_AVP)")
modparam("dispatcher", "sock_avp", "$avp(DISPATCHER_SOCK_AVP)")


Best,
Maab


Sensitivity: Internal
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] How to resolve these mod_param errors in Kamailio 5.3.1?

2020-06-13 Thread Muhammad Maab Saleem
This is the error I get when I run ./kamailio -f /etc/kamailio/kamailio.cfg -E

loading modules under config path: 
/usr/lib64/kamailio/modules_k/:/usr/lib64/kamailio/modules/:/usr/lib/kamailio/modules_k/:/usr/lib/kamailio/modules/
0(28369) ERROR: [core/modparam.c:140]: set_mod_param_regex(): parameter 
 of type <1> not found in module
0(28369) CRITICAL: [core/cfg.y:3539]: yyerror_at(): parse error in config file 
/etc/kamailio/kamailio.cfg, line 378, column 61: Can't set module parameter
0(28369) ERROR: [core/modparam.c:140]: set_mod_param_regex(): parameter 
 of type <1> not found in module
0(28369) CRITICAL: [core/cfg.y:3539]: yyerror_at(): parse error in config file 
/etc/kamailio/kamailio.cfg, line 379, column 61: Can't set module parameter
0(28369) ERROR: [core/modparam.c:140]: set_mod_param_regex(): parameter 
 of type <1> not found in module
0(28369) CRITICAL: [core/cfg.y:3539]: yyerror_at(): parse error in config file 
/etc/kamailio/kamailio.cfg, line 380, column 61: Can't set module parameter
0(28369) ERROR: [core/modparam.c:140]: set_mod_param_regex(): parameter 
 of type <1> not found in module
0(28369) CRITICAL: [core/cfg.y:3539]: yyerror_at(): parse error in config file 
/etc/kamailio/kamailio.cfg, line 381, column 63: Can't set module parameter
ERROR: bad config file (4 errors)

These are the lines 378-381 from the config file
modparam("dispatcher", "dst_avp", "$avp(DISPATCHER_DST_AVP)")
modparam("dispatcher", "grp_avp", "$avp(DISPATCHER_GRP_AVP)")
modparam("dispatcher", "cnt_avp", "$avp(DISPATCHER_CNT_AVP)")
modparam("dispatcher", "sock_avp", "$avp(DISPATCHER_SOCK_AVP)")


Best,
Maab


Sensitivity: Internal
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users