* You are viewing the archive for June 2nd, 2012

Escape digits recognition during recording

would you please let me know how to recognize DTMF during recording? for
example escape digits ? in asterisk 1.6.2.X?

Music instead of Ring Ring


How can I achieve to play a music file instead of typical ring ring
(something like MusicOnHold)…

I have the following dialplan, the time when the user calls the context is
executed and the system calls both the user and I hear a Ringing sound.

exten => s,1,Dial(DAHDI/i1/USER2&DAHDI/i1/USER1,20,A(sound-file))

Please suggest

Call Record and Playing

Hello List,

I am using the following dialplan

exten => s,1,NoOp(IVR recording test)
exten => s,2,Answer()
exten => s,3,Background(say-temp-msg-prs-pound)
exten => s,4,Record(/var/lib/asterisk/sounds/custom/tempcustommessage.gsm)
exten => s,5,Background(to-listen-to-it&press-1)
exten => s,6,Background(to-accept-recording&press-2)
exten => s,7,Background(to-rerecord-announce&press-3)
exten => 1,1,Playback(/var/lib/asterisk/sounds/custom/tempcustommessage)
exten => 1,2,Goto(s,6)
exten => 2,1,System(cp
exten => 2,2,Playback(auth-thankyou)
exten => 2,3,Hangup()
exten => 3,1,Goto(s,3)

The recorded message cannot be played I get “zero size file error” as

Asterisk pickup call on first ring

Currently my asterisk system pickup incoming call after 3 or 4 rings.
How can I ask it to answer the call on the first ring? I put
immediate=yes on /etc/asterisk/chan_dahdi.conf but result in no

Thanks in advance :)