[asterisk-users] how to check the status of a channel
Eric "ManxPower" Wieling
eric at fnords.org
Sat Aug 5 17:18:57 MST 2006
Marcus Carlson wrote:
> 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
If the phone rings, then the channel IS available. The solution is to
disable call waiting on the SIP device.
--
Now accepting new clients in Birmingham, Atlanta, Huntsville,
Chattanooga, and Montgomery.
More information about the asterisk-users
mailing list