Displaying 20 results from an estimated 10000 matches similar to: "Asterisk on NGINX Server?"
2007 May 08
3
MYSQL Query --> PAGE
I have all my SIP users in a realtime database. I would like to use
MySQL command to query the database and use the results from the query
to page all the phones found in the query.
The results from the MySQL query will be multiple rows of extension:
Something like:
mysql> Select extension from sip where extension like '6%'
6001
6002
6003
ex....
I need to put all the results into a
2007 May 17
4
FastAGI hangs up channel if server is not available
Hi all,
Running 1.2.14
When I call a FastAGI script such as this script for an incoming call:
[calldirect]
exten=>s,1,Answer()
exten=>s,2,AGI(agi://192.168.1.175/calldirect?check&${CALLERID(num)})
exten=>s,3,Goto(check_time,s,1)
and the FastAGI server is not running (Asterisk gets "connection
refused" TCP error), Asterisk just terminates the call like so:
May 17
2006 Feb 14
5
Multiple AGI Issues
I've got several issues with AGI/FastAGI
1. When an AGI script sends a command to Asterisk via stdin, why does Asterisk block and not return a result until the command is complete? Specifically, the dial command. If I send a Dial command to Asterisk, I don't get a return result until AFTER the call is HUNG UP. Not when it's ringing, not when the call is connected, but when it's
2005 Mar 07
2
Question about AGI vs. FastAGI vs. straight C/DB development
Folks,
I want to build a custom IVR for my setup. I've got it
working (well, the bells and whistles are not there
yet, but the basic stuff works) using AGI, but I'm
worried about how well this will scale.
I've seen references to FastAGI, and presumably this
will be more efficient.
Question, though: how well do either of these (AGI or
FastAGI) scale if my system is handling a large
2015 Dec 15
3
FastAGI not working
Hello everyone,
I have a problem with a FastAGI connection, could you help me fix this problem please?
Here is my log:
[2015-12-15 16:17:09] WARNING[23936][C-00000015]: res_agi.c:1658 handle_connection: Connecting to '10.171.54.149:9110' failed for url
2019 Apr 19
2
Forking AGI or GoSub
In PHP something like:
$pid = pcntl_fork();
if ($pid != 0) {
// we are the parent
// do parent stuff
exit;
}
// we are the child, detatch from terminal
$sid = posix_setsid();
if ($sid < 0) {
die;
}
// do child stuff
On 04/19/2019 02:00 PM, Mark Wiater wrote:
> On 4/19/2019 1:49 PM, Dovid Bender wrote:
>> Mark,
>>
>> I am using PHP agi and when forking
2010 Apr 16
7
AGI, FASTAGI or Windows Voice Server
Hello!
I have developed an IVR using AGI and so far it works great. I'm using Cepstral voices, but now want to use the voices from AT & T that are on a Windows server to be heard best. With cepstral what I do is to generate audio files from shipping and this text I reproduce this method it has worked very well.
Now, try to do the same by creating the audio file in windows with the
2005 Aug 04
3
SIPPeersAction class file not found in the Asterisk-java.jar file
Hello Everybody,
I am working on Fastagi and I am making use of
Asterisk-java. But I don't find the class file for SIPPeersAction. Hence I
am getting the error message when compiling my java code.
----------------------------------------------------------------------------
------------------------------------------------
[root@localhost asterisk-java-0.1]#
2013 Jan 29
1
Fast AGI library/support for C & C++
Dear All,
Is there anyone who is having FastAGI support for C & C++?
We do have FastAGI working for the JAVA and rest of the language / script.
But I am unable to find FastAGI for C/C++.
Please let us know how to write FastAGI using C/C++.
Thanks in Advance,
Kashyap
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2005 Feb 03
1
FastAgi Help
Dear List
after a lot googling and watching source example of FastAGI i cant find a
simple way to convert a very simple perl AGI script... perhaps im not a
developer..
Why i have need to use FastAGI?...Very load CPU usage on my box... with only
100 calls..
So i have two way res_perl or FastAGI on some other box..
I cant test res_perl becasue when i try to compile it i have this error:
2006 Jan 13
3
FastAGI Command Execution
I've noticed that with FastAGI (and maybe AGI) that when you sequentially send a sequence of dial commands, if the call is picked up, that after the call ends, the Fast AGI script keeps executing the commands!
Is there anyway to stop execution once a call is picked up? I think looking at the result codes after the Dial to determine if the call was picked up or not is not a good idea... if it
2005 Aug 18
4
Which AGI Development Software is fastest on Asterisk?
I'm looking to develop some custom AGI that will be MySQL intensive. It
appears Asterisk supports many different development environments. Which
would be best suited for Asterisk and MySQL?
Bart
2007 May 14
4
[*Win32 0.60] Sending call notification by e-mail/web?
Hello,
In case there are other users of the AsteriskWin32 port...
I haven't really used the AGI feature of Asterisk to run an application
from extensions.conf. *Win32 supports Perl, which I don't know. Apparently,
it's also possible to write AGI applications as EXE's (there's a
eagi-test.exe file installed by default).
=> When a call comes in, I'd like an AGI
2005 Jul 29
1
FastAGI problems
Hello!
I use FastAGI very frequently [meaning 30 channels IVR is made in it]
and sometimes I find, that there is a message like:
Jul 29 09:38:55 VERBOSE[896] logger.c: == Auto fallthrough, channel
'Local/1@route-out-eeae,2' status is 'CHANUNAVAIL'
Jul 29 09:38:55 VERBOSE[893] logger.c: > Channel
Local/1@route-out-eeae,1 was never answered.
Jul 29 09:38:55 VERBOSE[896]
2009 Jul 23
1
odd behaviour with AGI and dial agent
Hi,
I have come across an odd problem.
Basically I am transferring a call to an agent. The agent is logged in
and set as paused.
In order to find which agent to call I am using a fastagi script to just
set a variable.
When it falls through the agi script and dials the agent (using the
variable) it doesn't connect the call properly to the agent. I get the
beep but no audio (along with
2005 Feb 08
1
Fastagi question
Hi All,
I have a question about Fastagi because I can't get
it to work for some reason. Everytime I execute the
fastagi command, i get an error:
my extensions.conf:
..
exten => 1000,1,agi(agi://some_ip_address)
..
output from asterisk console:
-- Executing AGI("Zap/1-1",
"agi://some_ip_address") in new stack
-- Launched AGI Script
2007 Aug 09
1
generating a GUID
I have a need to have a GUID (for example,
bcd47ccc-d7c9-ddb6-dc11-6746a770d77d [36 characters long including the
"-"]) generated in the dialplan. Is there any asterisk function that
would do this ? I would prefer not to have to shell out every time a
call comes in.
Julian
2006 Jun 25
1
Testing a FastAGI script
Hi,
(I tried to post this message a week ago but I don't think it could reach
the list. Please forgive me if you already received it).
I would like to develop my first FastAGI script.
I would like to test it independently from Asterisk for the sake of
simplicity.
Which linux (or cygwin) tool is the best for that ?
Using this tool, I will open a FastAGI connection, throw data in and read
2008 Oct 05
5
asterisk, phpagi and singleton
Hello,
I've this situation: 300+ simultaneous calls and dialplan like this:
exten => _X.,1,Answer()
exten => _X.,2,DEADAGI(check_status.php)
exten => _X.,3,Dial(SIP/other/${NUMBER})
exten => _X.,4,Hangup
exten => h,1,DEADAGI(cdr.php)
When project is running , I had a lot of defunct php scripts (I've exceed
mysql connection limits and so on, deadagi help a bit). The
2005 Jul 18
1
FastAgi ...fastagi-mapping missing error
salam .... if anyone uses fastagi then plz help me...
The AGISERVER starts successfully:
Jul 18, 2005 2:54:50 AM net.sf.asterisk.util.impl.JavaLoggingLog info
INFO: Thread pool started.
Jul 18, 2005 2:54:51 AM net.sf.asterisk.util.impl.JavaLoggingLog info
INFO: Listening on *:4573.
but I m getting this error when i call extension
Jul 18, 2005 2:55:13 AM