I got it to work with Andreas help.
Thanks to all who replied.
Kurt
> First let me say my Perl skills are just a little better then print hello
> world.
>
> I am using the AGI-exec command as follows:
>
> AGI->exec('Dial',"IAX2/$first")
>
> The above does dial the extension but it keeps on dialing until I
> hangup. Can the above line take an additional options to cause the
> command to timeout in 10 seconds (if no one picks up in that time).
> Thus allowing other commands after to be executed.
>
> Thanks,
>
> Kurt
>