[sr-dev] git:master: mohqueue: fixed db_qtable parameter name

Daniel-Constantin Mierla miconda at gmail.com
Thu Oct 2 14:56:03 CEST 2014


Robert,

the change is:

    { "db_ctable", PARAM_STR, &db_ctable },
-  { "db_ctable", PARAM_STR, &db_qtable },
+  { "db_qtable", PARAM_STR, &db_qtable },

Practically is changing c in q for the name of the parameter to set the 
db_qtable variable. Otherwise there are two db_ctable parameters 
defined, no option to set the db_qtable. The readme is mentioning 
db_qtable parameter, as reported by someone on sr-users list.

Daniel

On 02/10/14 14:38, Robert Boisvert wrote:
> Daniel,
>
> I was wondering why this change was made.  Is there a conflict with 
> another value?
>
> Bob
>
> On Thu, Oct 2, 2014 at 4:20 AM, Daniel-Constantin Mierla 
> <miconda at gmail.com <mailto:miconda at gmail.com>> wrote:
>
>     Module: sip-router
>     Branch: master
>     Commit: 321575dcd18e42fe6c62942ef417dd8acf7f466d
>     URL:
>     http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=321575dcd18e42fe6c62942ef417dd8acf7f466d
>
>     Author: Daniel-Constantin Mierla <miconda at gmail.com
>     <mailto:miconda at gmail.com>>
>     Committer: Daniel-Constantin Mierla <miconda at gmail.com
>     <mailto:miconda at gmail.com>>
>     Date:   Thu Oct  2 10:18:11 2014 +0200
>
>     mohqueue: fixed db_qtable parameter name
>
>     - reported by Marino Mileti
>
>     ---
>
>      modules/mohqueue/mohq.c |    2 +-
>      1 files changed, 1 insertions(+), 1 deletions(-)
>
>     diff --git a/modules/mohqueue/mohq.c b/modules/mohqueue/mohq.c
>     index 30c0c94..0a16606 100644
>     --- a/modules/mohqueue/mohq.c
>     +++ b/modules/mohqueue/mohq.c
>     @@ -70,7 +70,7 @@ int moh_maxcalls = 50;
>      static param_export_t mod_parms [] = {
>        { "db_url", PARAM_STR, &db_url },
>        { "db_ctable", PARAM_STR, &db_ctable },
>     -  { "db_ctable", PARAM_STR, &db_qtable },
>     +  { "db_qtable", PARAM_STR, &db_qtable },
>        { "mohdir", PARAM_STRING, &mohdir },
>        { "moh_maxcalls", INT_PARAM, &moh_maxcalls },
>        { NULL, 0, NULL },
>
>
>     _______________________________________________
>     sr-dev mailing list
>     sr-dev at lists.sip-router.org <mailto:sr-dev at lists.sip-router.org>
>     http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
>
>
>
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20141002/3224783c/attachment.html>


More information about the sr-dev mailing list