[Asterisk-Users] Asterisk Realtime.

andrew matthews
Wed, 23 Mar 2005 18:11:40 -0000

So this is what i've done so far...

my extconfig.conf looks like this

[settings]
;example => odbc,asterisk,alttable
;iaxusers => odbc,asterisk
;iaxpeers => odbc,asterisk
sipusers => mysql,voip,sip
sippeers => mysql,voip,sip
voicemail => mysql,voip,voicemail
extensions => mysql,voip,extensions

--------------------

and my extensions.conf has the following lines in it.

[outgoing]
switch => Realtime/outgoing@extensions

[asterisk1]
switch => Realtime/sip@extensions
include => outgoing

-------------------------------

so now i'm trying to get calls to work correctly, and when a incoming
call comes in it gives this error

Mar 23 20:09:18 DEBUG[27067]: res_config_mysql.c:117 realtime_mysql:
MySQL RealTime: Retrieve SQL: SELECT * FROM sip WHERE name '5625551212'
Mar 23 20:09:18 DEBUG[27067]: res_config_mysql.c:605 mysql_reconnect:
MySQL RealTime: Everything is fine.
Mar 23 20:09:18 DEBUG[27067]: db.c:177 ast_db_get: Unable to find key
'5625551212' in family 'SIP/Registry'


i'm stumped i'm not sure why the phone won't register.