Goodmorning i had configured this dialplan on extension.conf into asterisk
[test]
exten => s,1,Answer();
exten => s,n,Playback(welcome);
exten => s,n,SayDigits(1);
;exten => s,n,SayAlpha(Accettare);
exten => s,n,SayDigits(2);
;exten => s,n,SayAlpha(Declinare);
;exten => s,n,Read(pippo,enter-ext-of-person);
;exten => s,n,SayNumber(${pippo});
exten => s,n,WaitExten();
exten => 1,1,Playback(you-entered);
exten => 1,n,SayDigits(${EXTEN});
exteb => 1,n,MYSQL(Connect connid localhost marco marco finaziamenti)
exten => 1,n,MYSQL(Query resultid ${connid} 'INSERT INTO 'a'('a') Values (1);
exten => 1,n,MYSQL(Clear ${resultid});
exten => 1,n,MYSQL(Disconnect ${connid});
exten => 1,n,Wait(2);
exten => 1,n,Playback(hello-world);
exten => 2,1,Playback(you-entered);
exten => 2,n,SayDigits(${EXTEN});
exten => 2,n,Read(number)
exten => 2,n,SayDigits(${number});
exten => 2,n,Wait(2);
exten => 2,n,Playback(goodbye);
when the user types 1 should insert into the table the record set but nothing happen
the db user have all privileges and grant option on db
table a with column a INT
i hope somebody could help me
thanks