[resolved] Using Read() and ODBC


#1

Can anybody inform me how to store some data in a database using a dialplan and Asterisk 1.2?

exten => s,1,Read(Number,File,4)

How can I save the ‘Number’ in an external (ODBC) database. The DBput function does not give me the proper functionality.

Thanks


#2

DBGet and DBPut work on asterisk’s internal database, not ODBC.

This may help- voip-info.org/wiki-Asterisk+app_dbodbc


#3

I did not get it working with DBGet and DBPut, however it is not hard to build a AGI-PHP script to write information to a file/database. This covers my needs.

Thanks