similar to: Having serious problems with AGI

Displaying 20 results from an estimated 8000 matches similar to: "Having serious problems with AGI"

2004 Jul 15
2
SoxMix - Fails to Execute
I have Asterisk configured to record calls. Both in and out record ok but SoxMix fails to join the two files. The error from the CLI is as follows: Execute of ( nice -n 19 soxmix /var/spool/asterisk/monitor/Support-in.wav /var/spool/asterisk/monitor/Support-out.wav /var/spool/asterisk/monitor/Support.wav && rm -f /var/spool/asterisk/monitor/Support-* ) & failed. If I run exactly the
2004 Jul 15
3
Important note for AGI with PHP newbies
I say this note is important only because I (a AGI PHP newbie) was tormented by this problem for many an hour, even though I'm sure it's documented somewhere or obvious to more experienced users. So as I was experimenting with AGI in PHP scripting I was baffled by why Asterisk was properly receiving AGI commands written to stdout but always returning "510 invalid command" to the
2004 Jul 15
4
freenode #asterisk IRC channel identd problem
Sorry to ask this question here since it's related to IRC and not Asterisk, but I am having trouble logging into the #asterisk IRC channel on freenode and was wondering if anyone else has had this problem and solved it. So here's the situation: Whenever I try to login to the #asterisk channel I get a message like "you must be identified to login to this channel." So after doing
2003 Nov 05
1
First AGI help..
I am trying to write my first AGI script.. I cant seem to get it to work.. I am trying PHP in preference (I know this is frowned upon) but I can't get it to work with perl either.. I guess I just don't understand it correctly.. All I am trying to do is get the script to make a call using "Dial" so that I can get an idea of how it works.. My experience is really only in PHP
2008 Feb 06
0
Problem forwarding a call with an AGI script
Hi, I'm trying to achieve the following: Incoming call for user A (97), user A make a blind transfer to user B's phone (96). User B's phone rings and since there is no one to take the call, it returns the call to User A with an AGI script. The dialplan looks like this: [local] .... exten => 96,1,Dial(SIP/user4,10,tr) exten => 96,2,AGI(transfer.php) exten =>
2006 Jun 02
1
PHP-AGI help
Can someone help me with this AGI script to send an email. It just isn't working. The file is being called in the dialplan and is saved as em.agi but it isn't sending the email. #!/usr/bin/php4 -q <?php ob_implicit_flush(true); set_time_limit(6); $in = fopen("php://stdin","r"); $stdlog = fopen("/var/log/asterisk/my_agi.log", "w"); //
2006 Dec 18
2
AGI Help Please
List, I finally decided to break down & start playing with AGI scripts, but for the life of me, I can't figure out what I am doing wrong. Below is a super simple script to run a query in mysql to see how many call records there are for the extension calling in, then print the total in the CLI. This is all I get on the CLI: -- Executing AGI("SIP/216-0baa",
2003 Nov 10
3
AGI and PHP
i've just spent the pass 2 days trying to get AGI to work with PHP; i made a lot of silly mistakes along the way which could have been avoided if only there were some kinda howto or samples. at the risk of looking stupid, i decided to shared my experience in hopes that it might help some newbie get going with PHP. 1. first order of business is to be aware of your php environment; i m NOT
2003 Dec 10
0
Trouble with AGI and SAY DIGITS and WAIT FOR DIGIT using PHP
Hi there, AGI is partially not working for me with SAY DIGITS, SAY NUMBER, WAIT FOR DIGITS etc. It appears that result is always one for any function that looks for user input, regardless of which key was pressed. Playing sound is only possible using EXEC. This applies to two * servers with RH 7.2 and RH 7.3 and very recent CVS. Any suggestion or tips about where I goofed? Thanks, Philipp
2003 Nov 13
0
2 AGI questions..
Question 1.. Do the "say number" and "say digits" commands in AGI scritps work? If I use "EXEC SayNumber 123" it works but is I try "say number 123" it doesn't.. I think I have the syntax right becaasue thats how its shown when typing "show agi" on a console and also on the agi pages I have looked at.. Question 2.. Can an AGI script be
2010 Jan 11
0
PHP-Script (AGI) doesn't finish after upgrading to 1.6.0.15
Hi, I recently upgraded our asterisk server from some 1.4 version to version 1.6.0.15. From this point on my AGI scripts aren't working anymore, here is a simple example: [isdin] exten => 83086921,1,AGI(test.php) exten => 83086921,2,NOOP("MARKE1") exten => 83086921,3,WAIT(2) exten => 83086921,4,Hangup() /var/lib/asterisk/agi-bin/test.php
2011 Oct 05
0
Internship Opportunity at New York financial weekly
It's not too early for statistically-adept students to think about underpaid, but life-altering, internships for the summer of 2012. In fact, after November 1st it may be too late to apply here at Barron's. This will be the second summer we've offered paid internships, which means that applicants can now poll the hapless folks who interned this past summer. Contact me, Bill Alpert, and
2005 Mar 05
1
SAY DIGITS problem
Hi, I have a problem using AGI cmd "SAY DIGITS". For some reason I cannot here any thing when the script got executed. However if I use the cmd "SAY NUMBER" I can here * reading the number fine. I am running asterisk-1.0.6 and below is my PHP script. Help please. - Natt #!/usr/bin/php -q <?php ob_implicit_flush(true); set_time_limit(10); /*
2009 May 29
1
how to detect dtmf in meetme
hello i want to kick participant in a meeting by pressing the digit on sip phone.when i entry the meeting ,no matter how i press the button,the dtmf does not work. here is my dialplan and my agi script,and sip.conf [from-internal] exten =>121,1,MeetMeCount(900,CONFCOUNT) exten =>121,2,GotoIF($[${CONFCOUNT}<10]?3:100) exten =>121,3,Authenticate(123456) exten
2005 Nov 03
3
newbie graphics question: Two density plots in same frame ?
I swear I've scoured the help files and several texts before posting what feels like a dumb newbie question. How can I draw two kernel density plots in the same frame ? I have similar variables in two separate data frames, and I would like to show their two histograms/densities in a single picture. Same units, scale, range for both, so I'm simply trying to draw one and then add the
2006 Jan 19
0
AGI Tx error 510
My php script called from my extensions.conf is working fine, however each time I run it with agi debug mode on I see the message AGI Rx << Done AGI Tx >> 510 Invalid or unknown command which does not come from my script, apart from the Rx << Done where the 'Done' is the message from my exit() statement. If I omit the exit() statement I get AGI Rx << AGI Tx
2007 Aug 24
0
MYSQL problem and configuration
Hello,I am new to asterisk but i have vbeen scriptinh PHP SQL and webLanguages for a long time.I can Give you a solution but using php AGI:extensions.con-----> AGI(connect.agi);/var/lib/asterisk/agi-bin/connect.agi :#!/usr/bin/php -q<?phpset_time_limit(0);ob_implicit_flush();error_reporting(0);//Initialisation des entr?e-sortiefunction init() {#create file handles if
2003 Mar 13
0
Repeated measures 2-way anova -- robustness question
I'm a journalist, wondering what questions to ask about a study that contrasted the impact on serum cholesterol of two drugs. This was a 40 dog study: 5 treatment blocks of 4 dogs each, randomized to: a control block, two blocks at different doses of drug1 and two at corresponding doses of drug2. Analysis was 2-factor repeated measures ANOVA on treatment group and sampling time. Linear
2013 Oct 25
1
Intern at Barron's ! -- use statistics for investigative financial journalism
We're seeking interns for the summer of 2014 here at Barron's the Dow Jones newsweekly that's searched out good investments and financial frauds since 1921, when our founder exposed Charles Ponzi. We're at the center of the financial world in New York and can pay a bit of a stipend to cover the city's high living costs. Here's the blurb: Do some good. Intern at
2009 May 27
1
PHP AGI Problems
(Accidentally posted this to asterisk-dev, should be here) fgets is only returning one character... either when run as an AGI or run as a test on PHP on CLI... Example, enter 3333, then fgets returns '3'. Also, GET DATA seems to be returning early and the loop keeps prompting 'invalid'... Any suggestions on how to improve my AGI class so it actually works? Thanks. [code]