Displaying 20 results from an estimated 9000 matches similar to: "AGI script can not print out error message toconsole"
2006 Jun 12
2
AGI Stderr
Does anyone know how I can get stderr from AGI to be sent to somewhere other than the console? It seems that this is the only place it can go. Changing logger.conf has no effect.
If you want to see errors from AGI scripts, you have to run the Asterisk console, which isn't viable.
Doug.
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
2006 Jan 25
3
Fast AGI Options. Eeeek!
Some questions regarding calling Fast AGI from the dial plan.
Considering that the server side of the Fast AGI has to be able to a) use threading and b) connect to MySQL, this causes some serious limitations. I'm not a C programmer, so development options are either perl or python.
It appears that the perl DBI isn't thread safe, so that rules out Perl. Python's database interfaces
2006 Jun 15
7
Executing a Function from AGI
Hmmm. Not having much luck with this. I'm trying to call the DUNDILOOKUP function and assign it to a variable in an AGI script.
I've tried setting with EXEC CMD and with SET VARIABLE. In both cases, it's treating DUNDILOOKUP literally, rather than calling a funciton.
I've tried this:
EXEC "Set" "DIALPATH=${DUNDILOOKUP(2944093|180net)}"
and also:
SET VARIABLE
2006 Feb 16
3
AGI Flakyness *sigh*
Well, I'm about ready to throw Asterisk across the room.
Can someone tell me WHY, when you've sent a Dial command to Asterisk via AGI, if the callee hangs up the call, Asterisk sends a return code, but if the caller hangs up, it does not???
This means if an agi script services a call, and after the two parties have finished speaking, the person who initiated the call hangs up, the agi
2006 Apr 13
1
placing call with agi
I'm trying to set up a system so that I can record a conversation over
SIP. Monitor and the like don't work so well for me, because I need to
pipe the conversation to other programs in realtime, rather than record
to a file, so I've been trying to use EAGI instead. (if anyone has any
other suggestions about this, it would be greatly appreciated!)
At this point, I'm a little
2023 Jul 01
1
AGI script commands
I have an AGI script written in PHP that worked great with Asterisk 13. I'm
porting it to an Asterisk 20 site and have a strange problem. I tried
running the script from the command line and it works fine; I see the script
commands written to stdout like
VERBOSE "SmartScreen v1"
But when run from asterisk the CLI shows:
[2023-06-30 15:50:47]
2003 Oct 12
1
AGI Test Fails
I've been trying to use the AGI get_data function for some time now, and
can't get it to work. Today I reinstalled a clean system with Red Hat
8.0 (I had been using RH9, but was told * had problems with RH9) and
downloaded the latest Asterisk CVS to install. I then downloaded and
installed perl-asterisk-0.08. I have extension 502 pointed at
EAGI(agi-test.agi). When I call that
2005 Aug 08
1
Found solution to my PHP AGI Script problem...
Dear Moises Silva, Chris Thompson and others,
I've finally managed to find the problem with my PHP AGI script!
Apparently, my machine has 2 versions of PHP installed. One for CGI and
the other for CLI. Without knowing, to hand test my script I was
calling the CLI version (/usr/local/bin/php), whereas Asterisk was
calling the CGI version (/usr/bin/php). It turns out that my script
2006 Dec 08
1
Douglas Garstang <dgarstang@oneeighty.com>
On Fri, 2006-12-08 at 04:26 -0700, Douglas Garstang wrote:
> Hi Steve.
>
> Thanks, but unfortunately, I can't be involved in that. We are
> running Asterisk in a production environment and we're using
> 1.2, not 1.4. I don't have the resources to work with 1.4.
> Last time I filed a bug against 1.2 I got told off.
>
2004 Aug 24
0
Perl AGI - no output from agi script to Aste risk
print to standard error output in your perl script:
print STDERR "This is how perl-AGI prints to Asterisk CLI output\n";
MATT---
-----Original Message-----
From: Robert Rozman [mailto:rozman@fri.uni-lj.si]
Sent: Tuesday, August 24, 2004 8:01 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [Asterisk-Users] Perl AGI - no output from agi script to
Asterisk
Hi,
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
2006 Mar 14
7
Realtime Extensions
Does anyone know if realtime extensions allows extensions in the format callerid/extension yet? ie the extensions.conf file allows you to do:
5551212/1000 => exten ...
and it matches against extension 1000 when the caller id is 5551212. Last time I checked, realtime didn't support this yet.
That's a show stopper for us.
-------------- next part --------------
An HTML
2006 Jun 19
4
Polycom Buddies in 1.6.6
All,
Slightly off topic.
Polycom released their SIP software version 1.6.6 for their phones recently. I was under the impression that this release fixed a previous limitation where the phones would only watch 7 buddies, ie send 7 sip subscriptions to Asterisk. I have configured a phone directory to watch 30 or so appearances, and it still seems to only be sending 7 subscriptions to Asterisk.
2006 Feb 27
8
AGI Scripts Terminate too Soon
Ok, here's a weird one.
I have an AGI script where one user calls another. The call is answered. Everything is peachy. If the call is terminated by the CALLEE hanging up the call, then Asterisk returns control back to where the Dial() command left off, and I can check the return code of Dial(), ${DIALSTATUS} etc. That's all great.
HOWEVER, if the CALLER hangs up the call, it seems as if
2006 Dec 19
26
Match a Numer - then continue with dialplan
Anyone know if there's a way to match a dialplan extension, execute some code, say set a variable, and then continue with the dialplan?
I want to set a variable when the dialplan flows beyond a certain context. This would be a great feature.
Doug.
2006 Dec 13
4
Polycom MyStat
Has anyone ever gotten the Polycom Status feature, accessible via the 'MyStat' soft-key to work? When you change the status in this way, the phone does not send any communication to Asterisk, and it seems to have no effect in incoming calls. So... what's it for?
Doug
2007 Apr 11
3
Execute EAGI script with params from extensions.conf
How can I execute an EAGI script with params from extensions.conf
Example python script:
InfMsg -s 1
in my extensions.conf
exten => 492,1,Answer
exten => 492,2,eagi,InfMsg -s 1
exten => 492,3,Hangup()
It doesn?t work
my * report...
-- Executing [92@telpin-112:2] EAGI("Zap/4-1", "InfMsg -s 1") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/InfMsg
2005 Dec 18
12
ACD with polycom ip phones
Hello,
Polycom ip soundpoint support ACD login/logout .
Can we configure asterisk with polycom ACD support?
Regards
Harry
___________________________________________________________________________
Nouveau : t?l?phonez moins cher avec Yahoo! Messenger ! D?couvez les tarifs exceptionnels pour appeler la France et l'international.
T?l?chargez sur http://fr.messenger.yahoo.com
2006 Oct 10
10
Voicemail Press '0'
Crikey. I can't get this to work!
Allegedly, you can press 0 while in the voicemail greeting and be dropped to the 'o' extension. For some reason, I can't get it to work. The 'docs' aren't clear about what context the o extension should be in. The voip wiki says
"the context for the voicemail box that we're looking for in the dialplan for the jump to the