<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hey there,<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I've actually looked through the site a bunch and found some
great information. The thing I'm missing, and I think it's because of my lack
of experience with Asterisk and setting up a dial plan, is the multitude of
ways/places where I can instantiate the AIG command. Do I have to control the
entire call from beginning to end, or can I just call the Asterisk-Java class
at certain points with certain parameters?<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Thanks!<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><br>
Evan<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] <b>On Behalf Of </b>Guilherme
Loch Waltrick Góes<br>
<b>Sent:</b> Tuesday, January 29, 2008 1:50 PM<br>
<b>To:</b> Asterisk Users Mailing List - Non-Commercial Discussion<br>
<b>Subject:</b> Re: [asterisk-users] When can I AIG?<o:p></o:p></span></p>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<div>

<p class=MsoNormal>Have a look at <a href="http://asterisk-java.org">asterisk-java.org</a>.
I has everything you need.<o:p></o:p></p>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<div>

<p class=MsoNormal>On Jan 29, 2008 4:35 PM, Evan Ruff &lt;<a
href="mailto:evan.ruff@hendersonsawmill.com">evan.ruff@hendersonsawmill.com</a>&gt;
wrote:<o:p></o:p></p>

<div>

<div>

<div>

<p>Hey Guys,<o:p></o:p></p>

<p>&nbsp;<o:p></o:p></p>

<p>I've been doing some research into the AGI-Java connector and was wondering
if somebody could help me with my architecture.<o:p></o:p></p>

<p>&nbsp;<o:p></o:p></p>

<p>What I'd like to do, is kick off an external java class when a user:<o:p></o:p></p>

<p>1. Initiates an outgoing call<o:p></o:p></p>

<p>2. Hangs up the outgoing call<o:p></o:p></p>

<p>3. Has an incoming call<o:p></o:p></p>

<p>4. Hangs up the incoming call<o:p></o:p></p>

<p>5. Misses a call<o:p></o:p></p>

<p>6. Has a voicemail<o:p></o:p></p>

<p>&nbsp;<o:p></o:p></p>

<p>I'd also like to be able to access all the call details (user number, ext
number, start time, end time) I see lot of references to the dial plan
instantiating the AGI in the tutorials, but I was wondering if it is possible
to use it in these scenarios?<o:p></o:p></p>

<p>&nbsp;<o:p></o:p></p>

<p>How would I need to connect these things up for each user?<o:p></o:p></p>

<p>&nbsp;<o:p></o:p></p>

<p>Sorry if this question is a big basic/elementary, but I'm just getting
started with Asterisk and would really appreciate some help. Thanks a ton!<o:p></o:p></p>

<p>&nbsp;<o:p></o:p></p>

<p>Evan Ruff<o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'>&nbsp;</span><o:p></o:p></p>

</div>

</div>

</div>

<p class=MsoNormal><br>
_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com"
target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
&nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-users"
target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><o:p></o:p></p>

</div>

<p class=MsoNormal><br>
<br clear=all>
<br>
-- <br>
Guilherme Loch Góes<br>
<br>
Visite nossa loja virtual: <a href="http://www.shopvoip.com.br">http://www.shopvoip.com.br</a>
<br>
<br>
Notícias e Fórum sobre VoIP com software livre: <a
href="http://www.asteriskexperts.com.br">http://www.asteriskexperts.com.br</a> <o:p></o:p></p>

</div>

</body>

</html>