save dialed dtmf numbers in database

Joined: Tue 13 of Jan, 2009

save dialed dtmf numbers in database

Posted:Tue 13 of Jan, 2009 (19:58 UTC)
Dear All,

We are using Asterisk 1.4.21, Freepbx with Diva Server PRI and chan_capi. I'd like to achieve following functionality:

- Customer calls
- Message is played back: "Please dial your account code".
- Customer dials his account code
- Another message is played back: "Thank you. Now dial your meter readings (status)".
- Customer dials his meter reading (status of the gas /water meter)

Dialed DTMF numbers should be fetched and saved to MySQL in format "CID|account code|meter reading"

How can I do that?

Thanks for advices.