[asterisk-users] Re: Asterisk Database

Tomislav Parčina tparcina at lama.hr
Fri Jul 14 06:30:28 MST 2006


In article <200607140339.29813.rushowr at phreaker.net>, rushowr at phreaker.net says...
> It would look like this:
> 
> exten => s,1,MYSQL(Connect dbcxnid HOST USER PASS DB)
> exten => s,n,MYSQL(Query resultid ${cbcxnid} SELECT\ \*\ FROM\ whatever)
> exten => s,n,MYSQL(Fetch fetchid ${resultid} VAR1\ VAR2\ VAR3\)
> exten => s,n,MYSQL(Clear ${resultid})
> exten => s,n,MYSQL(Disconnect ${dbcxnid})
> 
> That's a general idea...check the voip-info wiki (asterisk cmd MYSQL)

Thank you. I'll try to make it work.

But I still didn't receive answer about Asterisk internal database. How much data is safe to put there?



--
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