IVR for callee of automated outbound call


understand that IVR is well supported by Asterisk for inbound calls, as illustrated by the sample configurations(make sample). Can an automated outbound call be made, so that the callee will hear the sound prompts and is able to navigate thru’ the IVR menu? If possible, would be glad if instructions can be provided. Thanks.


Yes you can drop a callee into an IVR on the system with a spool file.


Channel: local/s@blah
Context: ivr
Extension: s
Priority: 1

exten => s,1,Dial(Zap/g1/5551212)

exten => s,1,Answer
exten => s,2,Background(welcome)

Thanks, angler.

My outbound channel is SIP, and the dtmfmode was set to rfc2833. I had tested that the ivr context is working with softphone. However, when the call was made thru’ a SIP provider(PSTN gateway), the digit pressed from the callee does not seem to be captured/sent. Can the inbound/outbound DTMF digits be displayed on CLI for diagnostic purpose?


With Sip you will need to use tcpdump or ethereal to view the DTMF’s.

I had been searching for VOIP sniffers, found VOIPong -> http://www.enderunix.org/voipong/. Problem installing on my system, but I figure that it should be a better diagnostic tool.