MYSQL INSERT INTO doesn´t works

salomao
Joined: Sat 01 of Nov, 2008

MYSQL INSERT INTO doesn´t works

Posted:Sat 01 of Nov, 2008 (16:40 UTC)
I am trying to insert a record in mysql database.
What´s wrong ?
Please, if somebody know what´s going on...

exten => s,1,DigitTimeout,5 ; Set Digit Timeout to 5 seconds
exten => s,n,ResponseTimeout,5 ; Set Response Timeout to 10 seconds
exten => s,n,Answer
exten => s,n,MYSQL(Connect connid xxx.xxx.xxx.xxx xxxx xxxxxx acesso)
exten => s,n,MYSQL(Query resultid ${connid} INSERT\ INTO\ tabligacoes\ set\ ligtelefone='12345678')
exten => s,n,MYSQL(Clear ${resultid})
exten => s,n,MYSQL(Disconnect ${connid})