Re: [Asterisk-Users] res_config problems

2004-11-05 Thread Kristian Kielhofner
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


Re: [Asterisk-Users] res_config problems

2004-11-05 Thread Martin List-Petersen
Citat Chris A. Icide [EMAIL PROTECTED]:

 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?

What version of Asterisk is this ? CVS HEAD ? 

The format has changed in CVS HEAD, instead of

sip.conf = odbc

you specify now:

sip.conf = odbc,mysql1,ast_config

[SNIP]

 res_config_odbc.conf:
 
 [settings]
 table = ast_config
 connection = mysql1
 

and res_config_odbc.conf is not needed anymore (depreciated).

Beyond that everything looked fine. 

Kind regards,
Martin List-Petersen
-- 
[May one] doubt whether, in cheese and timber, worms are generated,
or, if beetles and wasps, in cow-dung, or if butterflies, locusts,
shellfish, snails, eels, and such life be procreated of putrefied
matter, which is to receive the form of that creature to which it
is by formative power disposed[?]  To question this is to question
reason, sense, and experience.  If he doubts this, let him go to
Egypt, and there he will find the fields swarming with mice begot
of the mud of the Nylus, to the great calamity of the inhabitants.
A seventeenth century opinion quoted by L. L. Woodruff,
in *The Evolution of Earth and Man*, 1929

___
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


Re: [Asterisk-Users] res_config problems

2004-11-05 Thread Martin List-Petersen
Citat Kristian Kielhofner [EMAIL PROTECTED]:

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

Sorry, but not true. They don't exist on my system.

Kind regards,
Martin List-Petersen
-- 
I'd love to go out with you, but I'm doing door-to-door collecting for static
cling.

___
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