Ironic, Im just working on something similar myself, you can either use the appropriately named ex-girlfriend feature or I use GotoIf statements to match the caller id and maybe a timer or something to route to another context.
; note page search in girlfriend http://www.voip-info.org/tiki-index.php?page=Asterisk%20config%20extensions.conf ; note page search on CALLERIDNUM http://www.voip-info.org/wiki-Asterisk+cmd+GotoIf ; found this too but havent used it http://www.voip-info.org/tiki-index.php?page=Asterisk%20cmd%20SetGroup -----Original Message----- From: Joseph Finley [mailto:[EMAIL PROTECTED] Sent: 13 September 2004 16:23 To: [EMAIL PROTECTED] Subject: [Asterisk-Users] Simple Caller-ID match and block and/or play voice file saying you're calling too much or don't call! The subject says it all. A couple of my sons have very annoying friends that tend to call ALOT. I usually don't like to answer the phone but these kids keep calling back with in 2 minutes of calling. I'm sure someone else has this problem and maybe using * to do a callerID match and block? Even add logic that if they called so many times in an hour? Or in my case, make it a month.... Joe _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ********* DISCLAIMER ********* This message and any attachment are confidential and may be privileged or otherwise protected from disclosure and may include proprietary information. If you are not the intended recipient, please telephone or email the sender and delete this message and any attachment from your system. If you are not the intended recipient you must not copy this message or attachment or disclose the contents to any other person _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users