Detect DTMF on Bridge channel or with a Dial Application

I am creating a calling card platform, everything is working fine in the AGI code but my problem is detecting when a user press a key on the phone while the Dial plan had already connected caller withthe callee, I want to detect when the caller press key on the current channel. The purpose is that l want to detect when the user press ’ ##’ or '#1’ this will enable me to trigger another event on the current call example making a new call to another destination or redialing the previous number.

have a look at the documentation for features.conf, particularly the applicationmap. you should be able to create something to do what you want.

voip-info.org/wiki-Asterisk+ … tures.conf