Displaying 20 results from an estimated 10000 matches similar to: "AGI perl script set timeout within script?"
2007 Apr 24
0
Re: agi timeout......clarification
n 4/24/07, JR Richardson <jmr.richardson@gmail.com> wrote:
> Hi All,
>
> Is there a way to specify a time-out option when you call an AGI
> command from the dialplan?
>
> If my AGI fails or doesn't get a response, the call drops, not good.
>
I'm running asterisk 1.2 and calling a fast agi script
exten =>
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
2007 Jan 17
4
FW: Realtime Voicemail Password Change Not Working
> I'm using asterisk 1.2.9.1 and mysql 3.23, asterisk add-ons 1.2.3.
> All seems to work normally with realtime voicemail, reads vmbox
> parameters from the db fine. When I try to change the password,
> asterisk operates normally, "enter new password" ok, "re-enter new
> password" ok, "password has been changed"
>
> There are no entries in
2007 Apr 24
0
agi timeout
Hi All,
Is there a way to specify a time-out option when you call an AGI
command from the dialplan?
If my AGI fails or doesn't get a response, the call drops, not good.
Thanks.
JR
--
JR Richardson
Engineering for the Masses
2008 May 28
7
Cisco Gateway sending call to * without CID Name
Hi All,
I have a Cisco 2600 PRI gateway being hosted on an Asterisk server.
The PRI on the cisco is pointing to a customer legacy PBX, the SIP
VoIP side of the cisco is pointing to an Asterisk server (1.2.X).
In Asterisk, the SIP peer is setup with callerid="some name"<5551212>
In a SIP call from the cisco to asterisk, there is no CID name info in
SIP debug, so Asterisk
2007 May 17
5
DUNDi configuration problem
Hi peeps,
I've been struggling with DUNDi for a few days now and I can't seem to
make call from Asterisk A to Asterisk B. If I do a "dundi show peers",
it finds the other peer but I can't seem to make any calls. Can
anybody help me out here.
Here's the situation:
Machine 1: Debian with Asterisk 1.4.4 --> 192.168.1.103
Machine 2: AsteriskNOW --> 192.168.1.69
The
2010 Jan 20
1
Using SIPPEER status with CUT function? SOLVED
On Wed, Jan 20, 2010 at 2:42 PM, JR Richardson <jmr.richardson at gmail.com> wrote:
> Hi All,
>
> I'm using Asterisk 1.4 branch and checking the status of some SIP
> Peers with the functions ${SIPPEER(101:status)} and the result is "OK
> (48 ms)". ?Seems to work fine.
>
> Now I would like to use the function CUT to set a variable with the
> 'OK'
2008 May 05
2
T38 Passthrough Verification
Hi All,
I have 1.4.9.1 setup, with the compiler flags enabled for T38, and
have a Mediatrix 2102 and a Linksys SPA 8000-G1. I can pass faxes
between devices but can't seem to invoke T38 pt UDPTL. It's enabled
in sip.conf [general] and well as the [peer].
I get an error at the CLI:
WARNING[3096]: chan_sip.c:14149 handle_request_invite: RTP re-invite
after T38 session not handled yet !
2007 Jul 23
2
Voicemail .lock- files voicemail box not accessible
Hi All,
Strange issue, recently I started getting a lot of .lock files in the
voicemail /INBOX folder preventing proper access to voicemail. I can
delete the .lock files and everything is normal. After searching
around, I found some SIP lock file stuff but nothing specific to
voicemail.
Can someone point me in the right direction to resolve this? I'm
runnning 1.2.9 on Debian Sarge.
2007 Dec 18
2
resync linksys SPA9XX config file from Asterisk
Hi All,
Anyone know the sip header to send to a Linksys to resync it's config file?
Thanks.
JR
--
JR Richardson
Engineering for the Masses
2007 Apr 26
1
Re: Voicemail on Different Server, Voicemail with NFS
> -----Original Message-----
> From: JR Richardson [mailto:jmr.richardson@gmail.com]
> Sent: Saturday, June 17, 2006 2:30 PM
> To: asterisk-users@lists.digium.com; Douglas Garstang
> Subject: Voicemail with NFS (working, I think)
>
> I'm using a stand-alone VM server and exporting the VM files ro for
> MWI function only. All my registration servers mount the remote
2009 Apr 08
1
Perl AGI
Hi all,
I have the below peace of my AGI script...the problem here is that I cannot
fetch the extension value to inside the script and assign it to another
variable...I highlighted it in red
#!/usr/bin/perl
#use DBD::mysql;
use DBI;
use DBD::mysql;
use Asterisk::AGI;
############################
#To read asterisk variable values.
$AGI = new Asterisk::AGI;
my %input = $AGI->ReadParse();
2007 Jul 23
0
Problem w/ MySQL update from perl AGI script
I've been trying to get a basic 5 question IVR survey working in an AGI script,
and am having trouble with the SQL portion not updating the table. When I take
out all the AGI references, and run just the perl script, the table updates
with no problem(DBname,username,password have been substituted in this example
for the actual values):
#!/usr/bin/perl
#
#
use DBI;
$DATETIME =
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,
2004 Dec 28
0
Two problems with the Perl AGI
Hi,
I have a * 1.0.3 running on a Gentoo box and I installed Perl AGi from
http://asterisk.gnuinter.net/files/asterisk-perl-0.08.tar.gz.
When I write this :
>#!/usr/bin/perl
>use Asterisk::AGI;
>my $AGI = new Asterisk::AGI;
>$AGI->exec ('Dial SIP/kphone1|30|tTr');
>my $duration = $AGI->get_variable('ANSWEREDTIME');
>print STDERR "\n duration :
2006 Oct 12
1
AccountCode set in sip.conf but not showing up in CDR
Hi All,
I'm running 1.2.9.1 and have a sip user setup with accountcode=4444 in
the context.
lab1*CLI> sip show peer 1234
* Name : 1234
Secret : <Set>
MD5Secret : <Not set>
Context : sip1004
Subscr.Cont. : <Not set>
Language :
Accountcode : 4444
AMA flags : Unknown
CallingPres : Presentation Allowed, Not Screened
Callgroup
2005 Aug 10
1
Help with calling Perl AGI interface
I have installed the Perl library from
http://asterisk.gnuinter.net/asterisk-perl and am wondering how I
reference agi-test.agi from extensions.conf
I have added
exten => s,1,AGI,agi-test.agi
but that doesn't seem to do it.
Is there a certain directory .agi files should be, is that the problem?
TYIA
Dan
2005 Aug 17
1
AGI SCRIPTS USING PERL NEED SOME KIND OF COMPILATION TO WORK WITH *
Hi all,
Help needed:
Does AGI SCRIPTS USING PERL NEED's SOME KIND OF COMPILATION TO WORK WITH
*????
This simple script is not working.
What can I do to make this interact with *?????
#!/usr/bin/perl
#
#
use Asterisk::AGI;
$AGI = new Asterisk::AGI;
my %input = $AGI->ReadParse();
my $tests = 0;
my $pass = 0;
my $fail = 0;
#setup callback
2006 Mar 01
0
perl AGI won't run from extensions.conf
Dear Asterisk Nation,
I am attempting to write a perl AGI script that will give the caller status of a P.O. When I run the script directly (by hand) it executes. I know this because it leaves data in TEST.txt. However, when I try to execute it via extensions.conf the CLI says it executes returning 0, but it does not dump data into TEST.txt. Can anyone help me determine why?
2007 Jun 07
1
custom cdr fields and cdr_mysql, howto?
Hi All,
http://www.voip-info.org/wiki/index.php?page=Asterisk+func+cdr
Under example:
exten => s,2,Set(CDR(MyFavoriteBand)=Foo Fighters)
exten => s,3,Set(CDR(MyFavoriteSong)=Hero)
and under description:
-userfield: The channel's user specified field.
""-any custom value that you wish to store.""
My question is how do you setup more custom fields in the cdr and be