similar to: Strange AGI behavior on Mac OS X

Displaying 20 results from an estimated 20000 matches similar to: "Strange AGI behavior on Mac OS X"

2005 May 17
0
Problem with getting the value of variable DIALSTATUS in AGI script
Hello. ???? ????????? ?????? ?? ?????, ??????? ??????, ??? ????????, ?????? ?? ???????????? ?????, ? ????? ???????? +?????????? ? ??????? ??????. I wrote a small perl script, that just calls to the specified number and then receives the information about +the status of the call. This script is below: #!/usr/bin/perl use Asterisk::AGI; $AGI = new Asterisk::AGI; my %input =
2003 Aug 13
3
h extension seems to wipe variables?
Hi. I'm trying to do some custom call logging, and I want to call an AGI script from a hangup handler to log call durations and things. Although the script executes, it isn't retrieving variables from the AGI interface. Looking closer, I realised the variables are actually getting unset before the h extension is reached. [foo] s,1,SetVar,foo=bar s,2,Play(audio/a-long-prompt)
2003 Apr 11
1
Weird AGI/X100P behavior
I've got a single phone line coming into an X100P. In extensions.conf I've got this: [inboundzap] exten => s,1,Answer exten => s,2,EAgi,hanguptest.agi I see the ring come in and Asterisk detects it and tries to do something with it: NOTICE[20492]: File chan_zap.c, Line 4017 (ss_thread): Got event 2 (Ring/Answered)... -- Executing Answer("Zap/1-1", "") in
2019 Sep 20
2
Load issues using AGI
Hi, @josh, We are using AGI. It is a very simple perl script. If we need to move to FastAGI we most likely would port it to ARI instead. But I let you know. @john, we using Perl. To see if it is a problem with the perl i had put an "exit 0" just at the first lines so there is no logic done at the AGI. It's only the start up and return from AGI what produces the most of the load.
2009 Apr 15
1
Compiling Fortran Subroutines as R Shared Objects on Mac OS-X
Hello, I am trying to compile some F77 subroutines as shared objects for R on my Mac. --> Mac OS-X Version 10.4.11 (Tiger Intel Mac) I have done this (successfully) before on Sun Solaris and Linux Fedora systems using the following command. > R CMD SHLIB myfile.f I have g77 installed from this page. http://hpc.sourceforge.net/ I am using R 2.8.1, and I have installed all 4 additional
2005 Aug 20
0
[Bug 3020] New: Mac OS X/Darwin incorrectly shows read sockets ready when they aren't
https://bugzilla.samba.org/show_bug.cgi?id=3020 Summary: Mac OS X/Darwin incorrectly shows read sockets ready when they aren't Product: rsync Version: 2.6.5 Platform: PPC OS/Version: Mac OS X Status: NEW Severity: critical Priority: P3 Component: core AssignedTo:
2009 Jun 24
7
PHP AGI Not Working and Odd Behavior
Hi, I'm running asterisk 1.4.22 on a debian server. I have php5 installed and it works correctly command line. When trying to run a php script via AGI, I get messages such as: GI Tx >> I> AGI Rx << #!/usr/bin/php5 -q AGI Tx >> 510 Invalid or unknown command The scripts are completely executable and owned by asterisk -rwxr-xr-x 1 asterisk asterisk Googling is not helping
2014 Apr 30
1
AGI GET DATA behavior
Hello all, I have a strange problem with a very simple AGI script, using the GET DATA command. When using this command, Asterisk often returns 0 as a result after a "GET DATA beep 5000" command, without even waiting for input from the calling party. It is quite random : sometimes Asterisk behaves exactly as documented, and sometimes it gives "200 result=0" without any reason.
2012 Feb 11
1
Asterisk perl AGI confusing variables
Hello all, I'm struck with a very strange problem today. I've an AGI with some code subroutine snippet as follows: sub enable_sbc($) { my $carrier = shift; my $tmp = substr($carrier,1); my $jkh = $tmp; $server_port = $ast_agi->get_variable("SIPPEER($jkh,port)"); $ser_ip = $ast_agi->get_variable("SIPPEER($tmp,ip)");
2004 Dec 21
2
File growth behavior of Mac OS X and WinXP
Hello List, I've searched the internet and I haven't been able to figure this out. I hope someone here can point me in the right direction. I have a MacOSX 10.3 machine and a WinXP machine that are being used to produce large video clips (@1gig). After they are rendered and ready for playback, they are copied to the playout machines using a system that uses watch folders shared out over
2010 Jan 07
4
AGI perl script set timeout within script?
Hi All, I'm running an AGI, calling a perl script the does number lookups to a remote server. I would like to put a timeout in the script. The problem I'm running into is if the DNS server is not responding, the script hangs and waits for 30 seconds before returning to the Asterisk dialplan. I would like a timeout of 1 second, then return. Here is my clean script:
2011 Apr 09
1
Is it the normal behaviore for AGI and DeadAGI to terminate AFTER the "h" extension?
Hi Everyone, Trying to run a php script after DeadAGI for A2Billing does it's magic. This is the dialplan: [a2billing] exten => _X.,1,System(php pre-call.php ${CALLERID(num)} ${EXTEN} ${UNIQUEID}) exten => _X.,n,AGI(a2billing.php,1) exten => _X.,n,Hangup() *exten => h,1,Wait(5)* *exten => h,n,System(php post-call.php ${CALLERID(num)} ${UNIQUEID})* As you can see above, I even
2010 May 11
2
Lookup ${EXTEN} in database, update context/route if found... AGI?
Greetings all- I have a handful of Asterisk 1.4.x installations where users dial 'outbound calls' to the PSTN even though the destination is on the same Asterisk box or on another Asterisk box on the same network. Instead of paying twice for the call to go out to the PSTN on one channel and back in on another channel, I'd like the ability to lookup the destination number in a MySQL
2003 Dec 31
1
AGI - IVR - Time Clock
I wanted to post the beginings of my latest IVR Project for an automated Time Clock software. The customer has over 300 Field Reps that call in everytime they arrive on location and whey they leave that location. This is handled by the receptionist now and she logs in them and out of there Time Clock Software. Which takes up majority of her day. The customer has requested a automated way of
2005 Jul 12
1
Compile failure on Mac OS X Tiger
I seem to be having a problem compiling on MacOS X Tiger. The errors are as follows: gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -DASTERISK_VERSION=\"1.0.9\" -DINSTALL_PREFIX=\"\" -DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\"
1999 Jul 15
1
Strange behavior using .Fortran
Hello everybody, I observed some strange behavior of R (0.64.1/Linux 2.0.25) when trying to use FORTRAN-libraries. I downloaded "ALGORITHM AS 304" from StatLib. All I changed at the code, was to substitute "REAL"-routines by "DOUBLE PRECISION". Compiling went o.k. ... > g77 -fpic -O2 -shared -o rtest.o fisher.f ("g77 --version" gives 2.7.2.1)
2010 Sep 29
1
Weird Behavior with DAHDI
Hello, I'm experiencing some weird problems on my server: - 1) The following messages are filling up my logs: [Sep 29 08:24:59] WARNING[7077]: chan_dahdi.c:2789 pri_find_dchan: No D-channels available! Using Primary channel 140 as D-channel anyway! [Sep 29 08:24:59] WARNING[7078]: chan_dahdi.c:2789 pri_find_dchan: No D-channels available! Using Primary channel 171 as D-channel anyway!
2005 Oct 05
0
agi-test.agi question - wierd results
Hello I am starting to learn AGI. I have setup an extension to play the agi-test.agi perl script and the output I get is this on console: On Polycom 300: -- Executing Answer("SIP/200-72d2", "") in new stack -- Executing AGI("SIP/200-72d2", "agi-test.agi") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-test.agi --
2004 Aug 19
1
AGI Script: calleridnamelookup.agi
Is anyone successfully using the AGI script calleridnamelookup.agi (or anything similar) ? I get both name and number caller ID from my POTS line, but I'd save money if I had them deliver ANI only. I've downloaded and installed the AGI script calleridnamelookup.agi, but I always get -- Executing AGI("SIP/9525485560-5359", "calleridnamelookup.agi") in new stack
2018 Sep 14
3
AGI timeout option
Hello list, Hope you all doing well! Recently, I had an issue with a FastAGI PHP script, which under some specific situation would run into an infinity loop, consuming all CPU resources. This also was preventing Asterisk to terminated the call properly because it was waiting for the AGI to return... The application uses AGIspeedy to process the AGI calls, not sure if this can be affecting this