[sr-dev] [tracker] Task opened: DBTEXT

sip-router admin at sip-router.org
Mon May 16 15:49:06 CEST 2011


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Pavel Segec (palo73) 

Attached to Project - sip-router
Summary - DBTEXT
Task Type - Improvement
Category - Module
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Normal
Reported Version - 3.1
Due in Version - Undecided
Due Date - Undecided
Details - Hello,
I've tried DBTEXT module as another simple database with Kamailio 3.1 , I've found following problems.

1) after creating required dbtext files using kamdbctl create, it created version file with mistakes. The version file contain bad line

id(int,auto) lcr_id(int) gw_name(string) grp_id(int) ip_addr(string) hostname(string,null) port(int,null) uri_scheme(int,null) transport(int,null) strip(int,null) tag(string,null) weight(int,null) flags(int) defunct(int,null)

and

id(int,auto) lcr_id(int) prefix(string,null) from_uri(string,null) grp_id(int) priority(int)

2) using kamctl create reports pointer to some old Openser directory

is_user: user counter=/usr/share/kamailio/dbtext/openser is not a directory 
INFO: user 'palo' already exists 

3) after creating symbolic link with

ln -s /etc/kamailio/dbtext/ /usr/share/kamailio/dbtext/openser

kamctl utility during user adding require an email address for a new user

kamctl add jano jano
database engine 'DBTEXT' loaded
Control engine 'FIFO' loaded
is_user: user counter=0
check_db_alias: alias counter=0
email_address cannot be empty or null   
ERROR: introducing the new user 'jano' to the database failed


but when address is included, there is another error about bad command syntax

pstest:/etc/kamailio/dbtext# kamctl add jano jano jano at jano
database engine 'DBTEXT' loaded
Control engine 'FIFO' loaded

 -- command 'add|passwd|rm' - manage subscribers

 add <username> <password> .......... add a new subscriber (*)
 passwd <username> <passwd> ......... change user's password (*)
 rm <username> ...................... delete a user (*)

More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=132

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the sr-dev mailing list