[asterisk-users] how to check the status of a channel

Marcus Carlson marcus at mejlamej.nu
Sat Aug 5 14:23:22 MST 2006


Thomas Artner skrev:
> Hi!
>
> I have two extensions (25 and 26, and so two phones) for one person in
> an office.
> I can dial 25 or 26 and always both extensions are ringing. Thats okay!
>
> exten => 25,1,Dial(Sip/25&Sip/26)
> exten => 26,1,Dial(Sip/25&Sip/26)
>
> The problem with this solution is, if the person is talking on one phone
> and 25 or 26 is called from anywhere, the other phone is ringing.
>
> But I would like a busy signal if the person is talking on one of these
> two phones.
>
> How could I do that in the dialplan? I couldn't find something to check
> whether one of these two channels is busy or not.
>
> Any suggestions for me?
>
> thx,
> Thomas
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>   

This might be what you're seeking; 
http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+ChanIsAvail

Marcus



More information about the asterisk-users mailing list