similar to: Anyone using the directory.agi app in AGI perl

Displaying 20 results from an estimated 30000 matches similar to: "Anyone using the directory.agi app in AGI perl"

2006 May 11
2
Paging and Auto Answer on Grandstream GXP2000
I am looking to setup paging using the auto answer feature on the Grandstream GXP2000. I am thinking I will follow the method as described here: http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+page I will setup the 4th account on the phone to auto answer. Does anyone else have a method that works better? I also looked at the allpage AGI written on Voip-Info. But it seems
2006 Feb 02
0
POTS lines vs. using T1 to connectphoneservices?? HELP
Kevin, Are you in the US? If so then you've probably got several carriers to choose from. In my experience analog lines have a flat expense of $20-$25 per month. That equates to about $140-$175 per month in flat fees, plus you have usage on top of that. (Your experience may vary.) I am currently experimenting with a company out of NY called Digizip (www.digizip.com) that sold me a Qwest
2011 Jan 31
1
Calling Directory app from AGI
Hi all, I've got an agi script that calls the directory function, which seems to work to a point.? However, once the caller has selected an entry, I need my agi script to find out which extension was selected.? I've RTFM'd and don't see that the extension is returned.? Nor is a variable set, as far as I can see. Is there a way to get this information from the directory
2006 Mar 03
2
Background() App From AGI
I have the following python AGI script. I know it's been abstracted, but it's still pretty easy to see what's happening. self.agi.channelAnswer() self.agi.wait(1) self.agi.execCmd("background","enter-conf-call-number","") self.agi.execCmd("Read","confNum|||","") confNum =
2006 May 08
3
Most comprehensive management?
I see that Asterisk@home and FreePBX are going along similar lines with web based management interfaces.. My Asterisk box has one analog phone, one analog line, 3 SIP phones, IAX inbound numbers, an IAX outbound trunk, IVR menus and voicemail boxes in different contexts for each of the inbound numbers.. Soon I will be adding one or more IAXy devices.. Would either Asterisk@home's or
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 Jan 07
1
Some advice on routing DID's
Would like some advice on the best way to route DID's to remote asterisk servers. Currently I have multiple DID's on my main Asterisk server in a datacenter and have remote servers that connect via an IAX trunk and when a call comes into my server I pass it to the iax peer. Just wondering what the best way it is to do this without having to have multiple line contexts for each remote
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?
2005 Jul 26
1
Perl AGI
I am wondering if anyone can help me figure out how to do something. I'm running a simple perl AGI which at the end of the call, creates a MySQL row with some of the tasks done during the AGI session. However, when the call is unexpectedly dropped (possibly the caller hangs up before finishing the entire AGI flow), I don't get the MySQL row created. I'm wondering if there is
2006 Jun 21
0
Re: User Loses Ability to Make Outgoing Call s
If I understand this correctly, this is a user outside your firewall dialing in to your office over the Internet. Always, inbound calls work, but sometimes, outbound calls do not work. So if you have replaced the hardware totally, and you still have the same problem, it could be a routing issue with an upstream ISP. The way to test for this is to do a traceroute from her LAN to your office. Then,
2005 Aug 08
1
AGI perl problem
Hi, For some reason, my AGI perl scripts cannot write to the CLI console using standard error. I ran the agi-test.agi test script that came with asterisk and verified that the problem was not with the code. Asterisk is always started with 4 or more v's, yet this the CLI output does not show up. Have there been any major changes to AGI in the cvs-head? I am using Asterisk CVS-D2005.08.05.
2011 Feb 08
0
Manual Call Transfer // Perl // Asterisk::AGI // MySQL
Hello Everyone! I've hit a bit of a roadblock and I am hoping that someone might point me in the right direction. I am using Asterisk 1.2.4 - I do not have the option of updating it, please do not waste your time telling me to =) I am using PERL AGI scripts to maintain an "active calls count" field for each phone in a mysql database table, for example (not actual code, just trying
2004 Dec 10
0
AGI Perl
Hello, I'm writing a AGI Perl script and use the following lines to initiate a call : $res = $AGI->exec("DIAL $dialstr"); And then : $answeredtime = $AGI->get_variable("ANSWEREDTIME"); The problem is that I need to know immediately when the call has begun. I can have the call duration & establishment time at the end of the call but not in real time when it
2011 Feb 09
0
Manual Call Transfer (Perl, Asterisk::AGI, MySQL)
Hello Everyone! I've hit a bit of a roadblock and I am hoping that someone might point me in the right direction. I am using Asterisk 1.2.4 - I do not have the option of updating it, please do not waste your time telling me to =) I am using PERL AGI scripts to maintain an "active calls count" field for each phone in a mysql database table, for example (not actual code, just trying
2020 Jan 24
0
Perl AGI: read variable with quotes
On Fri, 24 Jan 2020, Benoit Panizzon wrote: > I have stumbled of this problem. > > I need the P-Asserted-Identity header in an AGI scrip. > > In the Dial-Plan I do: > > same => n,Set(PAI=${PJSIP_HEADER(read,P-Asserted-Identity)}) > > In the AGI I do: > > my $pai = $AGI->get_variable(PAI); > > This works fine, unless the PAI contains quotes: > >