[asterisk-users] extension.conf with mysql

2008-01-07 Thread Gopal krishnan
Hi, I am trying to connect the outbound dialing with mysql with the following code, exten = 88,1,MYSQL(Connect connid hostname username password dbname) exten = 88,2,GotoIf($[${connid} = ]?error,1) exten = 88,3,MYSQL(Query resultid ${connid} SELECT\ phone\ FROM\ tablename\ WHERE\ phone =${a})

Re: [asterisk-users] extension.conf with mysql

2008-01-07 Thread Doug Lytle
Gopal krishnan wrote: Hi, I am trying to connect the outbound dialing with mysql with the following code, exten = 88,1,MYSQL(Connect connid hostname username password dbname) exten = 88,2,GotoIf($[${connid} = ]?error,1) exten = 88,3,MYSQL(Query resultid ${connid} SELECT\ phone\ FROM\

[Asterisk-Users] extension.conf on mysql

2004-10-26 Thread Nahuel Alejandro Ramos
Hi everyone, Please, anyone can help me calling my extensions from a mysql. I have created the DB, compiled my Asterisk with MYSQL_FRIENDS and all attributes with 1, but I do not know how to call my DB from extension.conf or which file a should modified. I need to use extension.conf and sip.conf