We are using Asterisk 1.4.21, Freepbx 22.214.171.124 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.