Basically you initiate the call via a Originate method inn your Java App and bridge it to your AGI. Follow the documentation on the site and you should be in a good path.<div><br class="webkit-block-placeholder"></div><div>
Best Regards,<br><br><div class="gmail_quote">On Jan 29, 2008 7:01 PM, Evan Ruff <<a href="mailto:evan.ruff@hendersonsawmill.com">evan.ruff@hendersonsawmill.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p><span style="font-size:11.0pt;color:#1F497D">Hey there,</span></p>
<p><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<p><span style="font-size:11.0pt;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?</span></p>
<p><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<p><span style="font-size:11.0pt;color:#1F497D">Thanks!</span></p>
<p><span style="font-size:11.0pt;color:#1F497D"><br>
Evan</span></p>
<p><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<p><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<p><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<p><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p><b><span style="font-size:10.0pt">From:</span></b><span style="font-size:10.0pt">
<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>
[mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>] <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?</span></p>
</div><div><div></div><div class="Wj3C7c">
<p> </p>
<div>
<p>Have a look at <a href="http://asterisk-java.org" target="_blank">asterisk-java.org</a>.
I has everything you need.</p>
</div>
<p> </p>
<div>
<p>On Jan 29, 2008 4:35 PM, Evan Ruff <<a href="mailto:evan.ruff@hendersonsawmill.com" target="_blank">evan.ruff@hendersonsawmill.com</a>>
wrote:</p>
<div>
<div>
<div>
<p>Hey Guys,</p>
<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.</p>
<p> </p>
<p>What I'd like to do, is kick off an external java class when a user:</p>
<p>1. Initiates an outgoing call</p>
<p>2. Hangs up the outgoing call</p>
<p>3. Has an incoming call</p>
<p>4. Hangs up the incoming call</p>
<p>5. Misses a call</p>
<p>6. Has a voicemail</p>
<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?</p>
<p> </p>
<p>How would I need to connect these things up for each user?</p>
<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!</p>
<p> </p>
<p>Evan Ruff</p>
<p><span style="font-size:11.0pt;color:#1F497D"> </span></p>
</div>
</div>
</div>
<p><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>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></p>
</div>
<p><br>
<br clear="all">
<br>
-- <br>
Guilherme Loch Góes<br>
<br>
Visite nossa loja virtual: <a href="http://www.shopvoip.com.br" target="_blank">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" target="_blank">http://www.asteriskexperts.com.br</a> </p>
</div></div></div>
</div>
<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> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><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>
</div>