similar to: How to reuse mysql connection between AGI's

Displaying 20 results from an estimated 2000 matches similar to: "How to reuse mysql connection between AGI's"

2010 Mar 26
2
Is there any Diguim distributor in Lahore
Hey,?is there any Diguim distributor in Lahore,Pakistan? I need to buy X100P.? Muhammad Faheem -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100326/104853f8/attachment.htm
2012 Dec 12
1
Asterisk 11 originate errors
Hi, I'm getting errors while originating a call through AMI. [Dec 12 21:18:35] ERROR[8661]: utils.c:1236 ast_careful_fwrite: fwrite() returned error: Broken pipe [Dec 12 21:18:35] ERROR[8661]: utils.c:1236 ast_careful_fwrite: fwrite() returned error: Broken pipe [Dec 12 21:18:35] ERROR[8661]: utils.c:1236 ast_careful_fwrite: fwrite() returned error: Broken pipe Asterisk version 11.0.1
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 Mar 08
2
Call load balancing
I've got a system I'm putting together to handle IVR calls with * I have one head system that terminates two PRIs. It routes the calls from the PRIs to * boxes using IAX I'm planning on having four or five * boxes. The * boxes run AGI scripts to process the IVR calls. Can I load balance the routing if I have five calls each of the IVR * boxes gets two call and the next call would go
2007 Jun 07
4
agi with java?
Hi all - Searching for java agi in the mailing list archives turns up ancient posts. Anyone else using java for their AGI? How well is it working & what are you using? My script is pretty simple, and I could write it with perl easy enough, but I just would feel better if I can keep most programming code for our system in java. Thank you- Matt
2020 Oct 27
2
Expert to work on load issue
Jon, We are only using FastAgi. On the second system (running Asterisk 16) there are no agi's running (just some bash scripts on call hangup). I did add some hackey code (netstat -nua | grep -v 'udp 0 0' | grep -v udp6 | grep -v ' 0 0.0.0.0' | grep udp) to my bash script to check out the packet queue (with the help of
2010 Apr 14
4
FastAGiin Windows Server
Hi! I wanna know if can run my AGI scripts as fastAGI scripts in Windoes server. I need a lot of script done in perl and I wanna move to windows server. I checked Asterisk::fastagi but I see that everything is for Linux. Somebody has idea to do this in perl. I dont want to change the language. TIA *-------------------------------------------------------* *-Edwin Quijada *-Developer DataBase
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
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
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:
2020 Oct 27
2
Expert to work on load issue
Hi, Sorry in advance that I am emailing the users list and not the biz list I think I will find my target audience here. We are looking to hire a consultant to help us figure out an issue. We are having what seems are "random load" issues with bare metal boxes that are dedicated to Asterisk and a few Perl AGI's. We went after all the usual suspects (CPU IDLE, memory usage etc.). I
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
2006 Jan 11
17
Nested MySQL Commands
Is it possible to have nested MySQL queries in extensions.conf? Ie, perform a query, grab a value, and then jump to another location in the dialplan and do another query based on that original value. I'm having problems with the result and fetchid's and I'm not sure if it's even possible to do this or not. Thanks, Doug. -------------- next part -------------- An HTML
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
2006 Dec 13
2
FW: Server Requirements
Hi J, >Hi David, >Do you know of a flash player that works for icecast and IE7? Whilst I've never used the software myself I came across Wimpy via the Icecast forum: http://forum.icecast.org/viewtopic.php?p=2822& You may want to give it a try. >j Regards, David >-----Original Message----- >From: icecast-bounces@xiph.org [mailto:icecast-bounces@xiph.org] On Behalf
2013 Sep 05
1
high cpu average load
Hello, Running one asterisk server with below details. Only SIP to SIP calls. No real time configuration, no recording, no voicemail, no IVR, no codec translation. Average CPU load varies between 4 to 30 for 150 to 200 concurrent calls and we start getting problem in call quality like delay in connectivity, voice breakage etc.... Hardware: 2 Physical processor Intel(R) Xeon(R) CPU
2003 Dec 08
3
Strange variable chopping from AGI's
AGI's are resulting in unusual behaviors. Can someone please tell me if this is my inappropriate use of AGI's, inappropriate use of Time::HiRes, or a bug with *: I call this script twice: #!/usr/bin/perl use Time::HiRes qw( gettimeofday ); ($seconds, $microseconds) = gettimeofday; $hirestime = sprintf("%s","$seconds$microseconds"); print "SET VARIABLE
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
2011 Jun 26
2
does rsync not preserve directory mtimes?
Hi, I'm running the following command as a local copy command. faheem at bulldog:/mnt/data$ sudo rsync -abvz --super /data/ . Origin directory faheem at bulldog:/data$ ls -la total 28 drwxr-xr-x 7 root root 4096 Jun 26 08:34 . drwxr-xr-x 25 root root 4096 Apr 13 17:09 .. drwxr-xr-x 2 owzar001 root 4096 Nov 6 2010 CTS drwxr-xr-x 2 owzar001 owzar001 4096 Aug 27 2010