Sorry for the bad phrasing
20 is called if SIP/111 has one or more calls
Main Topics
Browse All TopicsPBX: Asterisk version 1.4
SIP Phone: Cisco 79xx with SIP firmware version 8.8
I would like to be able to see another call coming in while I'm on the phone, hence the call waiting. Does anyone have a creative way to send a channel status of BUSY back to another channel if I'm on the phone while call waiting is enabled?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Thanks very much and sorry for the late response. Quick question, though....I'm not sure I understand what's going on in the gotoif condition. (Now I've tested your code and see the results but..) What is "X"? You're saying, "Go to extension 20 if X divided by the channel ID doesn't equal X? Is that basically saying, go to extension 20 if there is a channel ID and that math is just there to give the goto some numbers to crunch?
Business Accounts
Answer for Membership
by: e-tsikPosted on 2008-08-21 at 00:40:46ID: 22277009
Hi
}=X]?:20)
Very easy :-)
exten => s,1,ChanIsAvail(SIP/111|s)
exten => s,2,GotoIf($[X\${AVAILCHAN
20 Is be called is SIP/111 has one or more calls