How to get the current call status when the call is underway?

dereklam
Joined: Sun 31 of May, 2009

Re: How to get the current call status when the call is underway?

Posted:Tue 27 of Jul, 2010 (07:03 UTC)
hi,

from your PHP, use AMI to connect asterisk and run 'show channels' to get the call progress.


regards,
derek
ragesh
Joined: Thu 22 of Jul, 2010

How to get the current call status when the call is underway?

Posted:Thu 22 of Jul, 2010 (06:28 UTC)
I have an AGi script in PHP.

I make calls using DIAL command,
I get the status of the calls only after the the call gets finished,
ie, either the caller or the reciver ends the call or the call is not accepted by the receiver or the caller himself cancels the call.
Well, that is the usual procedure, I can get the status of the call using "DIALSTATUS" after this.

But is there any way I can get the status of the call when its underway, I mean when the two caller and receiver are talking to each other?

can anybody suggest a solution for this in PHP?

Thanks
Ragesh