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

Thomas Artner artner at gmx.com
Sat Aug 5 14:18:15 MST 2006


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



More information about the asterisk-users mailing list