Questions tagged [fastagi]
24 questions
0
votes
3 answers
How to play sound for callee in asterisk
For dialing a number I am using
exec("DIAL", "DAHDI/g0/" + callingPhoneNo + "," + currentTimeOut + ",mg,");
in my java application.
And for playing sound for caller using this snippet:
exec("background", "custom/incorrectPassword");
But how can I…

Nik Kashi
- 4,447
- 3
- 40
- 63
0
votes
2 answers
Find busy line while calling with Asterisk
I am using this code for making a call with Asterisk:
exec("DIAL", "DAHDI/g0/" + phoneNo + "," + timeOut + ",mg,");
But this snippet always return 0.
How can I find the phone line is busy or not answered?

Nik Kashi
- 4,447
- 3
- 40
- 63
0
votes
1 answer
How to Set Timeout for FastAGI in Asterisk
I have a server that sends FastAGI requests over TCP to another server in the Internet. The problem is that the default timeout for FastAGI is very short and the error below is raised.
How can I set FastAGI timeout in my dialplan?
FastAGI…

Pooya Yazdani
- 1,141
- 3
- 15
- 25
0
votes
2 answers
Automating the Asterisk IVRs (Inbound/Outbound dialplans) in Java
I am new to Asterisk. I need to create outbound/inbound dial plans from the user-interface/DB config and run various campaigns in the asterisk. The UI will abstract the user from the asterisk server in gathering various inputs required for the…

vvra
- 2,832
- 5
- 38
- 82
0
votes
1 answer
Asterisk FastAGI sending command at the same time
I was using Asterisk.Net for my AGI and my asterisk server can accept a command which convert the voice to text (http://zaf.github.io/asterisk-speech-recog/). Now, I want to perform two commands at the same time which is the wait for digit and the…

DLende
- 5,162
- 1
- 17
- 25
0
votes
1 answer
Need help on FastAGI when playing recording
I've been playing Asterisk FastAGI() for a while until I've meet this problem.
So I have an app that uses FastAGI(). I don't have a problem playing a file or a swift message in it. But if two calls comes in and I play a message for both channels. It…

mr.b
- 2,708
- 8
- 39
- 64
0
votes
1 answer
Astersik load balancing through fastagis
Thank you chochos for the reply. I am using softphones in my case so I do not know if your solution would be applicable in my case. Also how do you define groups and how do you associate channels to these groups in Asterisk?
Sara Ibn El Ahrache
-1
votes
3 answers
Asterisk - Detect answer via sip trunk
I have a SIp trunk and I want to make an outgoing call to a external analog number and play a message when the other side answers it.
The problem is that the message be played as soon as it finish dialing the number, without waiting to answer.…

Gonzalo
- 2,866
- 7
- 27
- 42
-2
votes
1 answer
How to set answered channel time
In the code below I set the channel to automatically hang up in 10 seconds, but nothing happens.
import org.asteriskjava.fastagi.AgiChannel;
import org.asteriskjava.fastagi.AgiException;
import org.asteriskjava.fastagi.AgiRequest;
import…

Girggs Ha
- 3
- 3