Ringing event

Hi All,

How to identify whether called party is ringing or not ringing when made a call using asterisk?

Please help

Regards
Karthik

Hi ,

I was able to retrieve the Channel status using "CHANNEL STATUS " AGI command.

I tried to analyse the channel statuses using AGI on two situations

My AGI command for both scenario’s
CHANNEL STATUS

i) PC-PC[LAN]
When i made a call to PC respondent (LAN), I was able to get the channel status for ringing…

Result: Success
Answer: 200 result 5

ii) [Pc-Phone]
When i made a call to a mobile or land line number, i wasnot getting the exact channel status [5], but i was getting the channel status [0] while mobile was at ringing…
Result: Success
Answer: 200 result 0

Please tell me, why there is the difference between the two situations…

Regards
Karthik