22 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
1
answer
767
views
asterisk fastagi pyst2 python3
I'm making a fastagi app with python3 and pyst2 library. The code:
#!/usr/bin/python3
# -*- coding: utf-8 -*-
######################################################
import asterisk, sys
import ...
0
votes
1
answer
1k
views
What is the Asterisk Dial() Option to Call Subroutine on "Ringing" Status Received from Called Party?
I need to execute AGI scripts when following events occur:
An incoming call (it is simple just call AGI() function).
When a call is "Ringing" (I cannot figure it out!). <-- Problem, how ...
0
votes
1
answer
498
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.
...
0
votes
1
answer
150
views
Is it possible create php callback on ready input stram?
I have asterisk fast AGI application that loops in some scenario. Difference is that local launched AGI scripts asterisk drops if channel hangup.
In case of network AGI, if channel hangs, the agi ...
0
votes
1
answer
1k
views
How should AGI handle a HangupRequest
We recently upgraded our version of asterisk from version 1.4.26.1 -> 13.23.1. And of the changes that we noticed was that after the AMI has closed its connection it used to respond to the AGI with a "...
2
votes
1
answer
2k
views
Setting up handlers in pyst2 fastagi code
I am trying to create a fastagi server for executing some agi scripts.
I'm using pyst2 to setup fast agi server. the script running fast agi server is as follows:
#!/usr/bin/env python
"""
.. module:...
1
vote
1
answer
413
views
Issue with FastAGI's get_data function always returning 1 instantly
So I've implemented fastagi however I'm having an issue with the get_data function to play an audio file, receive DTMF from the end user and have that returned. The issue I'm having is that everything ...
-2
votes
1
answer
112
views
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....
0
votes
1
answer
1k
views
Asterisk with FastAgi + Remote PC (Windows) PHP file
I am a newbie to asterisk and found it really interesting! I've been able to create a dial plan that works perfect, but, I am stuck on working with FastAgi. I want asterisk to run my PHP script that ...
0
votes
2
answers
2k
views
Send Sip Message through fastagi asterisk
I am able to relay messages using dialplan. This command sends the message but I cant seem to run it using fastagi(java)
DialPlan
exten => _X.,n,MessageSend(${ACTUALTO},${MESSAGE(from)})
FastAgi
...
-1
votes
3
answers
1k
views
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 ...
0
votes
3
answers
3k
views
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("...
0
votes
2
answers
1k
views
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 ...
0
votes
1
answer
2k
views
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 ...
0
votes
2
answers
754
views
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 ...