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,

-- 
Dr. Andrea Spadaccini
Multimedia Technologies Institute - MTI S.r.l.
Web: www.x-voice.it - Tel: +39 (0) 95 7224945

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to