Hello guys, im trying to make a dial plan that allow me to save called input to mysql db, is there any procedure to do this ?
All of the tools required to do so exist in Asterisk. It’s up to you to put the pieces[1][2] together.
[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Application_Read
[2] https://github.com/asterisk/asterisk/blob/13/configs/samples/func_odbc.conf.sample
2 Likes
Beside read app you can also also System() and MYSQL command whichis easier to configure than ODBC
1 Like
thanks for the replay @ambiorixg12, but how can i manage to make it with System() and MYSQL ?
system(mysql --user=root --password=‘1112’ dialer -e “INSERT INTO dnc (dnc_phone) values (”${telephone}“)”))
1 Like
wow!! thats more easy than i was doing with the reference jcolp told me, Thank!!