[Asterisk-Users] How to differentiate a *busy* call from not available?

Andrew Thompson asteriskuser at aktzero.com
Fri Jul 9 07:19:01 MST 2004


Jean-Yves Avenard wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hello
> 
> I'm trying to find a way to differentiate wether a SIP extension is
> currently busy (e.g. on the phone) or not registered.
> 
> So i do something like:
> exten => 100,1,Dial(SIP/foo,20,tr)
> exten => 100,2,VoiceMail,u100
> exten => 100,102,VoiceMail,b100
> 
> If the phone doesn't answer I get the message: User is not available
> if the phone is currently in used i get the message: User is on the
> phone 
> 
> But if the phone is unplugged, I also get the message: User is on the
> phone!
> 
> Any ideas?
> Thank you
> Jean-Yves

Apparently you just ran to the list to beg rather than even atempt to find
answer for yourself. This is covered frequently on the list. 

I could have sworn I just saw some threads about DIALSTATUS in the last few
days, but I can't find them. Anyway, see:

http://www.voip-info.org/tiki-print.php?page=Asterisk+cmd+Goto

-----
Andrew Thompson 
http://aktzero.com
http://www.retirequickly.com/43653




More information about the asterisk-users mailing list