[asterisk-dev] dsp programming

Steven S. Critchfield critch at basesys.com
Tue Oct 21 10:10:02 CDT 2008


Heh, and to throw more cold water on this guy. If you require
that to work reliably you have a bigger problem when people have
ringback tones other than the normal ones. I just love cell phones
that play music on the line while they ring the person with other
music.

----- "Dmitry Andrianov" <dimas at dataart.com> wrote:

> 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:
> 
>         us
>         ca
>         cr
>         br
>         uk
> 
> check main/dsp.c for details and implementation.
> 
> Regards,
> 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 .
> secnario,
> 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:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev
> 
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
> 
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev

-- 
Steven Critchfield critch at basesys.com



More information about the asterisk-dev mailing list