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

Jean-Yves Avenard jean-yves.avenard at hydrix.com
Fri Jul 9 06:36:32 MST 2004


-----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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFA7p9gXeDVKqIr3GURAocmAJsFpy4rlj/wsgNxoGgE+WmzfisMFgCfc8z/
WX6zBH+pg2M25phavis0CYY=
=ZxKl
-----END PGP SIGNATURE-----




More information about the asterisk-users mailing list