Hello.
One more question about asterisk realtime.
I’m testing it, but still can not understand exactly - if it’s possible to map the same family of realtime configuration several times - to multiple database tables?
; Realtime configuration engine
;
; maps a particular family of realtime
; configuration to a given database driver,
; database and table (or uses the name of
; the family if the table is not specified
;
;example => odbc,asterisk,alttable
;example2 => ldap,"dc=oxymium,dc=net",example2
;
; .......
;sipusers => odbc,asterisk
;sippeers => odbc,asterisk
So, is it possible to use such a configuration?
[code]sipusers => odbc,asterisk,sip_office_usa
sippeers => odbc,asterisk,sip_office_usa
sipusers => odbc,asterisk,sip_office_canada
sippeers => odbc,asterisk,sip_office_canada[/code]
I created two tables in the DB. But it seems that when the sip-phone ‘from 2nd table’ tries to connect, Asterisk says ‘wrong password’. I tried four sip-phones. In one case the registration completed. But now I’m a little bit tangled and confused, what’s the real reason of such behavior.
So, is it mandatory to use ‘single family name - single table’ or not ?