[asterisk-dev] Ringing detection

James Sharp james at fivecats.org
Tue Apr 10 19:07:34 CDT 2012


On 4/10/2012 7:47 PM, George Karagheaur wrote:
> Dear Friends, good day to all!
> A small advice is needed: for some project i need to implement the following logic in asterisk:
> 1) we are placing a call via SIP or SS7 to the subscriber B
> 2) once we receive ringing state from the B we need to kill that call
>
> The problem is: could somebody advice how to trigger in online mode the ringing state?  Is it possible using to catch online ringing state using asterisk agi or maybe asterisk manager interface?
>
> I need any possible solution, or just an advice were to dig.  To make each second Core show channels and kill basing on this is not okay, because we need almost realtime detection, less then 0,5 seconds.
>
> Any ideas? :)
>
> Thank you very much in advance for the ideas, George.

Perhaps watch the Asterisk Manager Interface for a "Newstate" of 
Ringing?  Thats about as realtime as you can it.





More information about the asterisk-dev mailing list