[asterisk-users] Re: Asterisk Database

Tomislav Parčina tparcina at lama.hr
Thu Jul 13 23:32:45 MST 2006


> Why not use mysql?
> Do something like this: exten => s,1,MYSQL(SELECT * FROM whatever)

If Asterisk database can handle large amount of data, I would prefer it because of stability and speed. If Asterisk database can't handle that then I'll have to use MYSQL (or MSSQL which I prefer because I already store CDR to MSSQL).

With internal database I have code like this.

exten => _1XX,1,LookupCIDName 
exten => _1XX,n,Dial(SIP/${EXTEN},30,wt)

How will it look like with mysql? Like this?

exten => s,1,MYSQL(SELECT * FROM whatever)
exten => s,n,Dial(SIP/${EXTEN},30,wt)


--
Tomislav Parčina
Lama Computers Split
Stinice 12, 21000 Split
Tel.: +385(21)495148
Mob.: +385(91)1212148
SIP: tomo at pbx.lama.hr
e-mail: tparcina#lama.hr
http://www.lama.hr



More information about the asterisk-users mailing list