First go at this as so:
thufir@dur:~/NetBeansProjects/HelloAsterisk/src$
thufir@dur:~/NetBeansProjects/HelloAsterisk/src$ javac -cp
asterisk-java.jar ExampleCallIn.java
thufir@dur:~/NetBeansProjects/HelloAsterisk/src$
thufir@dur:~/NetBeansProjects/HelloAsterisk/src$ java -cp
asterisk-java.jar
Ok, trying to follow exactly with javac and java commands:
thufir@dur:~/NetBeansProjects/HelloAsterisk$
thufir@dur:~/NetBeansProjects/HelloAsterisk$ javac -cp
:/home/thufir/.m2/repository/org/asteriskjava/asterisk-java/1.0.0/asterisk-java-1.0.0.jar
src/ExampleCallIn.java
thufir@dur
How do I package this up?
I cloned the repo:
git clone https://github.com/srt/asterisk-java.git
cd asterisk-java
mvn install
https://github.com/srt/asterisk-java
and now it's installed:
thufir@dur:~$
thufir@dur:~$ java -jar
/home/thufir/.m2/repository/org/asteriskjava/asterisk-java/
ought they were, effectively, the same. I need to read up on this.
My inclination, without knowing how they work, is to use the AMI.
-Thufir
On Fri, Mar 27, 2015 at 8:15 AM, Zoumana TRAORE
wrote:
> I don't think you can actually trigger outgoing call by AGI.
>
> You need AMI
>
something like:
https://github.com/srt/asterisk-java/blob/master/examples/ExampleCallIn.java
except that's with AGI? And outbound.
-Thufir
--
Dive into the World of Parallel Programming The Go Parallel We
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 I
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
--