# Problem with asterisk AGI

**URL:** <https://community.asterisk.org/t/problem-with-asterisk-agi/12255>\
**Category:** Asterisk General\
**Created:** [February 8, 2007, 11:48am UTC](https://community.asterisk.org/t/problem-with-asterisk-agi/12255 "2007-02-08T11:48:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![prasanthmadala](https://avatars.discourse-cdn.com/v4/letter/p/b5a626/32.png) [@prasanthmadala](https://community.asterisk.org/u/prasanthmadala)\
**Post date:** [February 8, 2007, 11:48am UTC](https://community.asterisk.org/t/problem-with-asterisk-agi/12255/1 "2007-02-08T11:48:03Z")

</div>

have a fairly complicated setup. Extensions (1,2 and 3). In 3 - I execute AGI in java which plays few wav files depending on external parameters.

Can I have a dial plan inside my AGI? If not, how do I accomodate user who needs to reach extension 2 from my agi? I have tried stream file and get data but the two commands did not work at all.
