Sure you can code this in a java program using the library
it is done through the Manager API

Have a look on this section from this page:
https://maven.reucon.com/projects/public/asterisk-java/1.0.0.CI-SNAPSHOT/asterisk-java/tutorial.html
: the sample is triggering a call to SIP/John which will fallback inside a
extension 1300 inside your dial-plan.

This will probably help out, else if you got some problems please post back
so people can help you

Regards,
Zoumana



*---*

*Zoumana TRAORE*

2015-03-27 15:43 GMT+01:00 thufir <[email protected]>:

> Way down the road, this looks interesting:
>
> http://www.voip-info.org/wiki/view/Asterisk+auto-dial+out
>
> more immediately, I'm just trying to get Asterisk working and
> functional.  The AMI offers ways to create calls from the CLI through
> telnet?  That's my reading of the "definitive guide to asterisk," at
> least.  As soon as I read that I connected that with java asterisk.  I
> hadn't realized at all how the library works, I've just been buried
> configuration of Asterisk itself.
>
> I can manually dial extensions, ext 201 dials ext 202, for example. I'd
> like to script that with the AMI, or, even better, this library.
> Admittedly, I haven't put any work into that at all, just thinking out
> loud.
>
>
> -Thufir
>
>
> On 2015-03-26 01:28 AM, Zoumana TRAORE wrote:
> > Hi,
> >
> > What are you planning to do ?
> > If you goald is to handle inbound call in an IVR way this is a good way.
> >
> >
> > What do you mean by automatique test of asterisk ?
> >
> > Regards,
> >
> > *---
> > *
> >
> > *Zoumana TRAORE*
> >
> >
> > 2015-03-26 3:58 GMT+01:00 Thufir <[email protected]
> > <mailto:[email protected]>>:
> >
> >     ok, I'm getting more into asterisk and the AMI.
> >
> >
> >     looking at:
> >
> >
> https://github.com/srt/asterisk-java/blob/master/examples/ExampleCallIn.java
> >
> >
> >     that's a good way automating test of asterisk?
> >
> >
> >
> >
> >     thanks,
> >
> >     Thufir
> >
> >
>  
> ------------------------------------------------------------------------------
> >     Dive into the World of Parallel Programming The Go Parallel
> >     Website, sponsored
> >     by Intel and developed in partnership with Slashdot Media, is your
> >     hub for all
> >     things parallel software development, from weekly thought
> >     leadership blogs to
> >     news, videos, case studies, tutorials and more. Take a look and
> >     join the
> >     conversation now. http://goparallel.sourceforge.net/
> >     _______________________________________________
> >     Asterisk-java-users mailing list
> >     [email protected]
> >     <mailto:[email protected]>
> >     https://lists.sourceforge.net/lists/listinfo/asterisk-java-users
> >
> >
> >
> >
> >
> ------------------------------------------------------------------------------
> > Dive into the World of Parallel Programming The Go Parallel Website,
> sponsored
> > by Intel and developed in partnership with Slashdot Media, is your hub
> for all
> > things parallel software development, from weekly thought leadership
> blogs to
> > news, videos, case studies, tutorials and more. Take a look and join the
> > conversation now. http://goparallel.sourceforge.net/
> >
> >
> > _______________________________________________
> > Asterisk-java-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users
>
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website,
> sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for
> all
> things parallel software development, from weekly thought leadership blogs
> to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Asterisk-java-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Asterisk-java-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/asterisk-java-users

Reply via email to