On Tuesday 26 January 2010, Santiago Soares wrote:
> I'd like to use dispatcher module with Berkeley DB.
> How can I manipulate the dispatcher table, I mean, insert or delete
>  gateways? kamctl seems not to work:
> 
> [r...@vnsiprtest ~]# kamctl  dispatcher addgw 1 '1.2.3.4' 1 'test'
> /usr/local/sbin/kamctl: line 1458: insert into dispatcher
>                  ( setid, destination, flags, description )
>                VALUES (1,'1.2.3.4',1,'test');: command not found
> ERROR: dispatcher - SQL Error

Hi Santiago,

i think you could use for example the db_load utility:
http://www.oracle.com/technology/documentation/berkeley-
db/db/api_reference/C/db_load.html

according the docs it can parse text files and could be configured to several 
formats.

Cheers,

Henning

_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users@lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users

Reply via email to