26 questions
-3
votes
0
answers
46
views
Dangling meta character ‘*’ near index 0^* [duplicate]
I'm currently writing an IVR application for the asterisk pbx using asterisk-java and encountered the following error: Dangling meta character ‘*’ near index 0
First, I'm writing an application that ...
0
votes
1
answer
21
views
Request help | SEVERE: No script configured for URL 'agi://localhost/callin.agi' (script 'callin.agi')
I built and installed Asterisk-Java 3.41.0 from source in /usr/src/asterisk-java/. Inside the target folder I created a directory "buildPackage", inside which I compiled the ExampleCallIn....
0
votes
2
answers
120
views
Problem Getting RECOG_INSTANCE() Value When Using MRCPRecog with Asterisk-Java AGI
I am running some operations over Asterisk-Java AGI (Asterisk Gateway Interface) using MRCPRecog. There is a problem I am facing with the results from MRCPRecog.
The result returned by MRCPRecog is as ...
1
vote
1
answer
163
views
Is there any way to do conference call with dial option using java OriginateAction
This is happening right now
step1: A party Calling using OriginateAction and not passing dialoptions like tTG so that channel do not have transfer functionality.
step2: B party Calling using dail() ...
0
votes
1
answer
474
views
Asterisk-Java Unable to load Properties file
I'm developing a very simple Asterisk-Java IVR based program that greets the caller, retrieves some information from a web service, reads up the retrieved data to the caller, and finally hangs up.
...
1
vote
1
answer
233
views
Android SIP DTMF
I have set up my asterisk sip server in such a way where I would transfer a call by first dialling "*2",then the server would prompt me asking for the number to which I want to transfer the call and ...
-1
votes
1
answer
602
views
Unable to make SIP calls using realtime with asterisk server
I am unable to make SIP calls to a Realtime SIP peer,but i am able to receive calls from them.I have made some test users using the sip.conf file,the calling operations work fine when i use them.But ...
-2
votes
1
answer
394
views
Asterisk PAMI Originate Outboud Call Issue (PHP)
I’m using PAMI to originate a call,
it should make the call from local extension to customer number it works fine but the problem is that
when an I execute the script a call make (from extension to ...
0
votes
1
answer
284
views
How to run FreePBX for the first time?
I'm new to FreePBX, I followed info here : https://github.com/asterisk-java/asterisk-java/wiki/Getting-Started
And my settings class looks like this :
package org.asteriskjava.examples.activities;
...
0
votes
1
answer
502
views
Asterisk SIP - Dial in parallel
I've searched the documentations of asterisk and could not find any info of the limit of parallel destinations when dialing in parallel.
exten => n,Dial(number1&number2&number3&...],...
0
votes
0
answers
83
views
Getting error when sending command action
In latest snap-shot of asterisk-java lib (ver-3.0.2) when sending wrapper action of CommandAction through AsteriskPBX i get an error of "invalid command" no matter what command is passed. In a ...
-2
votes
1
answer
511
views
Asterisk (version 16) Redirect action does not complete 1st leg of call
After redirect action sent to Asterisk AMI, first leg of call is not completed until 2 leg of call completed, 1 leg completes as well at the same time with 2nd leg. This forces first sip member to be ...
0
votes
1
answer
455
views
RTP Traffic access via any Asterisk API
I am new to VOIP - please excuse. I am trying to get access to both the actual VOIP SIP header AND RTP traffic using the "asterisk-java" library. I can get access to the SIP header via the FAST AGI, ...
0
votes
1
answer
302
views
Asterisk-Java define Asterisk version programmatically
I'm using Asterisk Java v 2.0.4.
I'm using ManagerConnection to connect to a Grandstream UCM6202 that is based on a Asterisk 13 version.
When I run my application I get this log:
main] o....
0
votes
1
answer
399
views
How to get list of ongoing calls in Asterisk Java?
I was wondering, how can one get the list of ongoing calls in Asterisk when using Asterisk-Java?
It is needed when e.g. restarting ManagerAPI and I would like to display all the calls, which are ...
-1
votes
1
answer
155
views
Asterisk GotoifTime command from java code
I'm new to asterisk and the world of the PBX in general,
I wanna use asterisk-java library to communicate with the server through the fastAGI protocol, I could do the basics like answering a phone ...
1
vote
1
answer
583
views
Asterisk DIALSTATUS returns null
I'm using Asterisk-Java to work with my Asterisk server. In my AGI script, I'd like to wait for the call to be answered to answer on the AGI side. To do this, I'd like to use the DIALSTATUS channel ...
2
votes
1
answer
1k
views
Asterisk-Java can't find fastagi-mapping.properties
I'm using Asterisk and I'd like to emit a call from my Java app and then use an AGI script to control what happens. So I've got a first class that contacts the Asterisk server and uses an ...
0
votes
1
answer
113
views
Do I need a dialplan?
I'm getting started with Asterisk and I have to develop an app that will only be used to call people (an alarm system).
I'm using Java and Asterisk-Java, and I read that on their GitHub:
Did you ...
2
votes
1
answer
776
views
Asterisk-Java AGI. DefaultAgiServer freez while startup method is running
Trying use agi to listen asterisk.
But after startup method is running, my application is freezing. There is no error appears...
My spring bean:
@Bean(name = "agi")
public DefaultAgiServer ...
0
votes
1
answer
127
views
Asterisk and Java : Park action don't return parking slot
I have a Java application that interacts with an Elastix server.
I'm using asterisk-java library. I can park someone and get the Asterisk Manager Interface's response but it is incomplete. This ...
0
votes
1
answer
182
views
Asterisk - click2call Java works but takes 2 steps
I've implemented a Java method (using Asterisk-Java library) that initiates a call between two users. Alice is the caller and bob the receiver.
It works but I don't know why, it's doing it in 2 steps :...
2
votes
2
answers
4k
views
Entity save() Method Hangs with No Error
I am facing an issue where my Simple AGI Application hangs when saving/updating an entity and no errors are thrown. Select query / methods from Repository work as expected without any errors. I am ...
-1
votes
1
answer
368
views
how to the callout display number caller with Originate and asterisk?
i have a question.
In asterik 11, i callout to a other phone by originate use command:
exten=>s,n,Originate(SIP/voiceNetwork/,exten,callout,s,1,30)
When the call to called, the call display is ...
1
vote
1
answer
2k
views
How long Asterisk wait for an AGI call?
I have a simple dialplan in Asterisk 13
exten => 800,1,Answer()
;AGI do something and return AUDIO_FILE tobe played
same => n,Agi(agi://localhost:1000/doAlotOfThing.agi)
same => n,...
1
vote
0
answers
92
views
Asterisk-Java shutdown after connect
I am using Asterisk with asterisk-java library to detect events. The follwoing code excerpt shows my usage. The connection should stay open, but it just closes after initializing when i am not using a ...