@henningw commented on this pull request.
Thanks for the PR, I have added two comments related to the usage of database URLs.
In src/modules/ims_icscf/ims_icscf_mod.c:
> @@ -71,7 +71,7 @@ stat_var *uar_replies_response_time = NULL; stat_var *lir_replies_response_time = NULL; //module parameters -char *ims_icscf_db_url = "mysql://icscf:heslo@localhost/hssdata"; /**< DB URL */ +char *ims_icscf_db_url = "mysql://kamailio:kamailiorw@localhost/kamailio"; /**< DB URL */
Consider using the correct define for it: DEFAULT_RODB_URL
In src/modules/ims_icscf/doc/ims_icscf_admin.xml:
> + <para> + If the db_url string is empty, the default database URL + will be used. + </para> + + <para> + <emphasis> + Default value is <quote>&defaultrodb;</quote>. + </emphasis> + </para> + + <example> + <title>Set <varname>db_url</varname> parameter</title> + <programlisting format="linespecific"> +... +modparam("ims_icscf", "db_url", "mysql://username:password@localhost/kamailio")
You could use also here the definition "&exampledb;
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.