Hi,
the errors are about http_client module not about tls.
did you load http_client module in your config?

loadmodule "http_client.so"

Federico

On Tue, May 7, 2019 at 11:48 PM Andrew Chen <achen@fuze.com> wrote:
Hey guys,

Need help here.  What module besides tls.so I need to load in order to get http_client_query to work?

The module doc says tls.so:

#!ifdef WITH_TLS

loadmodule "tls.so"

#!endif


but I keep getting this when doing config check:


root@ashmaintpsg51:/etc/kamailio# kamailio -c kamailio.cfg 

 0(12971) ERROR: <core> [core/modparam.c:152]: set_mod_param_regex(): No module matching <http_client> found

 0(12971) CRITICAL: <core> [core/cfg.y:3449]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 322, column 71: Can't set module parameter

 0(12971) ERROR: <core> [core/modparam.c:152]: set_mod_param_regex(): No module matching <http_client> found

 0(12971) CRITICAL: <core> [core/cfg.y:3449]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 323, column 45: Can't set module parameter

 0(12971) ERROR: <core> [core/modparam.c:152]: set_mod_param_regex(): No module matching <http_client> found

 0(12971) CRITICAL: <core> [core/cfg.y:3449]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 324, column 42: Can't set module parameter

 0(12971) ERROR: <core> [core/modparam.c:152]: set_mod_param_regex(): No module matching <http_client> found

 0(12971) CRITICAL: <core> [core/cfg.y:3449]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 325, column 48: Can't set module parameter

 0(12971) ERROR: <core> [core/modparam.c:152]: set_mod_param_regex(): No module matching <http_client> found

 0(12971) CRITICAL: <core> [core/cfg.y:3449]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 326, column 44: Can't set module parameter

 0(12971) ERROR: <core> [core/modparam.c:152]: set_mod_param_regex(): No module matching <http_client> found

 0(12971) CRITICAL: <core> [core/cfg.y:3449]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 327, column 71: Can't set module parameter

 0(12971) ERROR: <core> [core/modparam.c:152]: set_mod_param_regex(): No module matching <http_client> found

 0(12971) CRITICAL: <core> [core/cfg.y:3449]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 328, column 67: Can't set module parameter

 0(12971) ERROR: <core> [core/modparam.c:152]: set_mod_param_regex(): No module matching <http_client> found

 0(12971) CRITICAL: <core> [core/cfg.y:3449]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 329, column 41: Can't set module parameter

 0(12971) ERROR: <core> [core/cfg.y:3309]: yyparse(): cfg. parser: failed to find command http_client_query (params 2)

 0(12971) CRITICAL: <core> [core/cfg.y:3449]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 859, column 105: unknown command, missing loadmodule?


and I have the package installed on my ubuntu 18.04:


ii  kamailio-tls-modules:amd64           5.1.2-1ubuntu2                     amd64        TLS support for the Kamailio SIP server (authentication, transport)


thoughts?


--
Andy Chen
Sr. Telephony Lead Engineer



*Confidentiality Notice: The information contained in this e-mail and any
attachments may be confidential. If you are not an intended recipient, you
are hereby notified that any dissemination, distribution or copying of this
e-mail is strictly prohibited. If you have received this e-mail in error,
please notify the sender and permanently delete the e-mail and any
attachments immediately. You should not retain, copy or use this e-mail or
any attachment for any purpose, nor disclose all or any part of the
contents to any other person. Thank you.*_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users