[asterisk-users] Intercepting DTMF to initiate Voice Drop

Atis Lezdins atis at iq-labs.net
Mon Jan 28 04:41:42 CST 2008


On 1/25/08, Raj Jain <rj2807 at gmail.com> wrote:
> Hi,
>
> I'm trying to implement a Voice Drop service within Asterisk
> dial-plan. The service is supposed to work as following:
>
> 1. A initiates a call to B
> 2. The call is answered by B's answering machine
> 3. A hears the answering machine's greeting and the recording beep
> 4. A speaks a few words into the recording to personalize the message
> 5. A presses some DTMF keys (say, '##') to initiate Voice Drop
> 6. PBX intercepts DTMF and starts playing a prerecorded announcement to B
> 7. A is released from the call as soon as the Voice Drop is initiated
> 8. PBX releases the call to B at the end of the announcement
>
>
> To acheive this I need to intercept DTMF in the middle of a call and
> initiate an action based on that. I couldn't find an option in the
> Dial() application to break out of it on receipt of a particular DTMF
> sequence. Does the Dial() application support such a capability?
>
> I've tried the 'G' option in the Dial() application but that splits
> the call as soon as it is answered, whereas, I need to split the call
> after it is established based on a DTMF stimulus. Are there any other
> ways of accomplishing this goal?
>
> Any thoughts, ideas?
>
> Thank you,

You should take a look at this:

http://www.voip-info.org/wiki-Asterisk+config+features.conf

See the applicationmap section. It should allow you to execute
something upon keypress.

Regards,
Atis

-- 
Atis Lezdins
VoIP Developer,
IQ Labs Inc.
atis at iq-labs.net
Skype: atis.lezdins
Cell Phone: +371 28806004
Work phone: +1 800 7502835



More information about the asterisk-users mailing list