[asterisk-users] Sip Channel Ring Detect

chawki hammoud chawkihammoud at yahoo.com
Wed Jun 4 11:10:01 CDT 2014

Hello everyone:

I have a problem where Asterisk need to make a sip outbound call and detect the Ring back tone or  audio announcement before "answer".  Asterisk need to avoid calling expensive rate premium numbers which have no pattern to differentiate them from normal  numbers. When Such numbers are dialed, an audio announcement warn the customer about its expensive rate. At this time, Asterisk needs to detect this audio and hangup. Another way, is to detect the time when the channel receive ring back tone, if it it took certain period of time to start ringing, then it is a premium number and Asterisk need to hangup.

I searched a lot on this topic and I found out that all Asterisk dial plan starts when the channel is answered. I am not aware of any module in the dial plan that provide any information about the sip call status before "answer".

Thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140604/bdb23de4/attachment.html>

More information about the asterisk-users mailing list