<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
I hate doing metoos but I tried to get ahold of Michael Baird and never
got a response....does anybody have the AGI code that Michael used for
his Anti-Ex Girlfriend as described below?<br>
<br>
Thanks!<br>
Chris<br>
<blockquote type="cite" cite="mid008001c3856d$c34e8ba0$650aa8c0@uriel01">
  <pre wrap="">is the AGI available?
Uriel

-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:asterisk-users-admin@lists.digium.com">asterisk-users-admin@lists.digium.com</a>
[<a class="moz-txt-link-freetext" href="mailto:asterisk-users-admin@lists.digium.com">mailto:asterisk-users-admin@lists.digium.com</a>]On Behalf Of Michael Baird
Sent: Saturday, September 27, 2003 6:37 AM
To: <a class="moz-txt-link-abbreviated" href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a>
Subject: Re: Anti-Ex Girl Friend logic (was Re: [Asterisk-Users]
Setcontext based on CID...)


I do it through AGI, I send the call to an external perl script, check
the called-from-id against a mysql database, then send the call back to
a context based on a ruleset I use, call-approved/call-not-approved/no
digits received. Each context having a different voice message, so that
the caller will know the problem, it works very well.

Regards
MIKE

  </pre>
  <blockquote type="cite">
    <pre wrap="">Blatantly stolen from Mark's presentation:

exten =&gt; 600/2565551212,1,Congestion
exten =&gt; 600,1,Dial(Zap/9,15)
exten =&gt; 600,2,Voicemail(u600)
exten =&gt; 600,102,Voicemail(b600)

If the Caller*ID matches the ex-girlfriend (2565551212), provide
immediate congestion tone. Otherwise try dialing on Zap/9 for up to 15
seconds. If there is no answer send them to voicemail, preceeded by
&acute;unavailable&iexcl; message. If the interface is busy, send them to voicemail
with a &acute;busy&iexcl; message.


Jeremy McNamara



Matt McIntyre wrote:

    </pre>
    <blockquote type="cite">
      <pre wrap="">I was wondering if someone might be able to offer a suggestion to me
about how I might go about dropping a caller into a context specific
to their CID. For example, I would like to be able to dial Asterisk
from a specific number (a mobile phone) and have it drop me into a
context other then the one that normal callers receive that has more
options tailored to things I might want to do. I assume that &acute;answer&iexcl;
can somehow be used to do this but I thought I might ask the experts
and see what they might have to say.

Thanks in advance,

(You guys are great)

Matt

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
! Matt McIntyre (KF4FGZ)
! Certified Novell Administrator
! (336) 334-1134 (Campus telephone)
! (336) 215-7199 (Mobile telephone) &lt;- Please note the change
! (336) 334-1134 (Facsimile)
! E-MAIL: <a class="moz-txt-link-abbreviated" href="mailto:mamcinty@uncg.edu">mamcinty@uncg.edu</a> <a class="moz-txt-link-rfc2396E" href="mailto:mamcinty@uncg.edu">&lt;mailto:mamcinty@uncg.edu&gt;</a>
! AIM: MixMANJaVa
! ICQ: 11956085
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

      </pre>
    </blockquote>
    <pre wrap="">
_______________________________________________
Asterisk-Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Asterisk-Users@lists.digium.com">Asterisk-Users@lists.digium.com</a>
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a>

    </pre>
  </blockquote>
  <pre wrap=""><!---->
_______________________________________________
Asterisk-Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Asterisk-Users@lists.digium.com">Asterisk-Users@lists.digium.com</a>
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a>


_______________________________________________
Asterisk-Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Asterisk-Users@lists.digium.com">Asterisk-Users@lists.digium.com</a>
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a>
  </pre>
</blockquote>
<br>
<br>
<pre cols="72" class="moz-signature">-- 
Only in America are there handicap parking places in front of a skating rink


<a class="moz-txt-link-freetext" href="http://ccicolorado.org">http://ccicolorado.org</a>
Exceptional Dogs for Exceptional People - Help Out Today!

</pre>
</body>
</html>