Hello Here's the scenario in my extensions.conf:
1. Check that CID is available 2. If not, go off-hook, and prompt the caller to type their CID number 3. Whether it was sent directly by the telco or input by the caller, look up the CID number if the DB, and rewrite the CID name on the fly 4. In the main menu, if not already off-hook, go off-hook; Then, play a menu to choose an extension So if the user calls with a CID number unmasked, once in Step 4, I need to check if the FXO card is already off-hook before playing the menu. What's a reliable way to check for this? Thank you. _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
