[asterisk-users] Get call status and hangup
Loic Didelot
ldidelot at mixvoip.com
Mon Sep 1 09:55:46 CDT 2008
Thanks,
that might put me on the right track.
Best regards,
Loic Didelot.
On Tue, 2008-08-26 at 14:19 +0200, Andrea Spadaccini wrote:
> Ciao Loic,
>
> > Hello,
> > I am looking for a way to check if a call could be established with the
> > "destination" (SIP,IAX,ZAP).
> > So I thought about an application like DIAL but instead it should return
> > a variable and hangup immediately as soon as it gets something that
> > could lead to a valid connection "ringing..."
> >
> > Is there something like this that could be used in Asterisk or can
> > anyone recommend a different/better solution?
>
> I don't know if it's exactly what you want, but you can monitor the status of a
> given user using the Asterisk Manager Interface (AMI), through the events
> NewState, PeerStatus, Hangup.
>
> More info:
> http://www.voip-info.org/wiki-Asterisk+manager+API
> http://www.voip-info.org/wiki/view/asterisk+manager+events
>
> HTH,
>
--
Loïc DIDELOT
MIXvoip S.a.
Tel: +352 20 3333 20
Fax: +352 20 3333 90
ldidelot at mixvoip.com
http://www.mixvoip.com
More information about the asterisk-users
mailing list