we have a rather old asterisk 1.2.7 running which is connected to a DeTeWe OpenCom 1010 PBX via a Digium TE205P Card.
Asterisk does the dialplan logic and holds the SIP phones while the other PBX has a lot of mobile DeCT phones and FAX devices.
In the Asterisk dialplan i do the following:
exten => 123,1,Dial(SIP/Foo&Zap/g2/500)
where SIP/Foo is the SIP phone of user Foo and Zap/g2/500 is his mobile phone. Now, if he has a call using his SIP phone and gets another, the mobile device is ringing, which is not what he wants. He only wants both devices ringing when not having a call and the other device being quiet if he has one whatever of his phones he is using.
I checked the configuration files and tried IsChanAvail(), but that did not seem to work.
Can someone give me a hint?
thanks in advance,