Chris A. Icide wrote:

Hello,

I'm having some issues with res_config. I've used BKW's perl program to take a working sip.config and place it into the database. Asterisk doesn't load in the sip table from the database. What am I doing wrong?


Here are CLI lines:

== Parsing '/etc/asterisk/res_odbc.conf': Found
Nov 5 11:53:56 NOTICE[12572]: res_odbc.c:133 load_odbc_config: registered database handle 'mysql1' dsn->[MYSQL-asterisk]
Nov 5 11:53:56 NOTICE[12572]: res_odbc.c:345 odbc_obj_connect: Calling 0x8110d68/0x8110d78
Nov 5 11:53:56 NOTICE[12572]: res_odbc.c:359 odbc_obj_connect: res_odbc: Connected to mysql1 [MYSQL-asterisk]
Nov 5 11:53:56 NOTICE[12572]: res_odbc.c:385 load_module: res_odbc loaded.
[res_config_odbc.so] => (ODBC Configuration)
Nov 5 11:53:56 NOTICE[12572]: config.c:556 ast_config_register: Registered Config Engine odbc
== Parsing '/etc/asterisk/extconfig.conf': Found
== Binding sip.conf to odbc/asterisk/ast_config
res_config_odbc loaded.
[chan_sip.so] => (Session Initiation Protocol (SIP))
Nov 5 11:53:56 NOTICE[12572]: config.c:492 __ast_load: Loading Config sip.conf via odbc engine
== Parsing '/etc/asterisk/sip.conf': Not found (No such file or directory)
Nov 5 11:53:56 NOTICE[12572]: chan_sip.c:8477 reload_config: Unable to load config sip.conf, SIP disabled



You need to touch /etc/asterisk/sip.conf - the files still need to exist, but they can (and should) be empty.


--
Kristian Kielhofner
_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to