[asterisk-dev] dsp programming

Dmitry Andrianov dimas at dataart.com
Tue Oct 21 04:12:45 CDT 2008

I guess you want to detect ringback tone, right?
Asterisk already can do it on Zap (DAHDI) channels - look for callprogress and progzone parameters in the Zapata.conf. (Be aware that progzone can have only five possible values:


check main/dsp.c for details and implementation.

Dmitry Andrianov

-----Original Message-----
From: asterisk-dev-bounces at lists.digium.com [mailto:asterisk-dev-bounces at lists.digium.com] On Behalf Of Bhrugu Mehta
Sent: Tuesday, October 21, 2008 12:25 PM
To: Asterisk Developers Mailing List
Subject: [asterisk-dev] dsp programming

Hi, all
I am new to dsp programming.
can anyone help to detect ring event.
i want to creat new moudule for that in c language.

actually i want to detect ring event on outgoing call .
I set up call through AMI originate, and detect that phone is ringing or not i.e

action: originate
channel: zap/1/666
exten: 667
context: test
priority: 1

when i originate call on 666 , chek that number is ringing or not.

I want to use this facility in autodial feature to detect on ring transfer.

thanks in advance,

Bhrugu Mehta

--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:

More information about the asterisk-dev mailing list