Hi!
I wouldn't know a proper way to check for off-hook. But, couldn't you change
your dialplan?
1. answer the call
2. check for CID
3. branch with a gotoif
4. Enter CID
5. Look up CID in your DB and whatever
6. Playback the mainmenu welcome
[go on]
Something like this?
Kindest regards
Julien
--------
Music was my first love and it will be my last (John Miles)
======== FIND MY WEB-PROJECT AT: ========
http://ltsb.sourceforge.net
the Linux TextBased Studio guide
======= AND MY PERSONAL PAGES AT: =======
http://www.juliencoder.de
_______________________________________________
-- 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