Query: insert into location (username,contact,expires,q,callid,cseq,flags,cflags,user_agent,received,socket,methods,last_modified,ruid,instance,reg_id,reg_id,reg_id,reg_id,domain )
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/117
Maybe just a copy and paste error.
``` modules/usrloc/ul_mod.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/usrloc/ul_mod.c b/modules/usrloc/ul_mod.c index 99c8346..8a716ad 100644 --- a/modules/usrloc/ul_mod.c +++ b/modules/usrloc/ul_mod.c @@ -140,9 +140,9 @@ str methods_col = str_init(METHODS_COL); /*!< Name of column containing the str instance_col = str_init(INSTANCE_COL); /*!< Name of column containing the SIP instance value */ str reg_id_col = str_init(REG_ID_COL); /*!< Name of column containing the reg-id value */ str last_mod_col = str_init(LAST_MOD_COL); /*!< Name of column containing the last modified date */ -str srv_id_col = str_init(REG_ID_COL); /*!< Name of column containing the server id value */ -str con_id_col = str_init(REG_ID_COL); /*!< Name of column containing the connection id value */ -str keepalive_col = str_init(REG_ID_COL); /*!< Name of column containing the keepalive value */ +str srv_id_col = str_init(SRV_ID_COL); /*!< Name of column containing the server id value */ +str con_id_col = str_init(CON_ID_COL); /*!< Name of column containing the connection id value */ +str keepalive_col = str_init(KEEPALIVE_COL); /*!< Name of column containing the keepalive value */
str ulattrs_user_col = str_init(ULATTRS_USER_COL); /*!< Name of column containing username */ str ulattrs_domain_col = str_init(ULATTRS_DOMAIN_COL); /*!< Name of column containing domain */ ```
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/117#issuecomment-87152689
Thank you for quick spot - fix pushed to master branch.
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/117#issuecomment-87188748
Closed #117.
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/117#event-267503617