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
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users