Displaying 20 results from an estimated 4000 matches similar to: "Asterisk Perl AGI"
2006 May 11
10
MeetME Conferencing
Can anyone point me to a sample or information on using MeetMe like
this?
Conference room is set up with 2 PINs, one for the moderator and one for
the participants.
Participants get music until the moderator joins (to avoid wild,
un-moderated tangents).
Call is ended and all participants are kicked out when the moderator
leaves (or the moderator can kick everyone out via phone keypad).
2003 Nov 27
1
AGI (IF/ELSE)
I need some help with some statements.....
#!/usr/bin/perl
use Asterisk::AGI;
$AGI = new Asterisk::AGI;
my %input = $AGI->ReadParse();
my $callerid = $input{'callerid'};
if ($optemp != 1) {
my $empid = $AGI->get_data('employee',-1,5);
$AGI->stream_file(entered);
$AGI->say_digits($empid);
my $optemp =
2008 Jul 23
3
Trouble Playing message file via Perl AGI
Hi all,
I'm trying to build an IVR using the Perl AGI module at
http://search.cpan.org/~jamesgol/asterisk-perl-0.10/lib/Asterisk/AGI.pm
But, I'm having trouble getting my program to play a message and wait for a
keystroke.
I am able to use this code to play the file, so I know that the $msg variable
points to a valid sound file:
$result = $agi->exec("background $msg");
2004 May 07
1
meetme conf-background.agi
Hello there!
Somebody tried the meetme|b which initiates the conf-background AGI.
Actually I want to originate another call from a conference.my AGI
originates the call and connects it to the conference, but the calleeee is
nowhere
My extension
exten => 21,1,meetme(21|pb)
and my AGI
****************************************************************************
#!/usr/bin/perl -w
2014 Sep 23
2
read digits from the user through php agi script
hi everyone,
actually i want to release an IVR system using PHPAGI API , in this IVR i
want to get value from the user.
I already used get_data defined in phpagi but they are not able to get the
value given by the user and store it in a php variable.
i tested this :
$result = $agi->get_data('beep', 3000, 20);
$keys = $result['result'];
but every time i found in $keys variable
2004 Aug 20
7
how to collect user entered digits
Hello all,
I have been searching thru all docs that I can find on wiki and such but can
not get an answer. I am trying to collect a date from user input in the
form of digits dialed from the phone to use in an agi script to do a
database look up. I have tried to use "Get Data filename, timeout,
maxdigits " in the agi script. In * console I get message saying playing
filename but it
2008 Feb 04
8
AGI: Not getting answers from get_data in a call-file call
I have the following situation: I drop a call-file into the Asterisk
spool directory and I get called back. That all works.
And I have this script:
#!/usr/bin/perl -w
use Asterisk::AGI;
my $AGI = new Asterisk::AGI;
my %input = $AGI->ReadParse();
$AGI->answer();
my $i;
$i = $AGI->channel_status();
$AGI->say_digits($i);
$i =
2007 Jan 15
3
php agi - first phrase truncated, all others fine
I have the following code. When I call the extension, it either ignores the
first "Hello there everyone", or says "hello" and moves on sometime stoping
before it finishes hello. The rest of the text reads fine. Anyone else
have this issue??
Thanks!
require('/var/lib/asterisk/agi-bin/phpagi.php');
$agi = new AGI();
$agi->answer();
2005 Jun 01
2
A Way to Write DTMF Digits as text to CDR?
I've gotten my CDR working the way I like, but I am looking to customize it a bit. I have set up an IVR menu, which works great. I would like to be able to capture the prompted DTMF digits pressed by callers, to my CDR database but I don't see any AGI or Asterisk commands that allow one to customize the CDR contents. Am I thinking about this on the wrong track? If someone calls sales
2010 Sep 16
5
AGI Delimiter in 1.6
Hi
I am currently using 1.2.x and 1.4.x behind OpenSER. One of the things
I do on INVITES is to re-authenticate the user from OpenSER. Then when
the INVITE gets passed to Asterisk I capture the AUTH to a variable in
the dialplan and pass to an AGI script. I am now trying to set the
same thing up in 1.6 However because the argument delimter in 1.6 has
changed from pipe to comma this breaks as the
2006 Feb 26
11
Asterisk question
Any idea how to read an external file, grab some stuff and push it back
into an Asterisk variable?
I can do it the other way with:
system(echo "${UNIQUEID} =>" >> /home/ast/curr_calls)
but I'm a bit stumped on how to go the other way around....
much thanks,
Paul Hales
2004 Jan 20
3
Enter Pin followed by Pound key
Im trying to create a custom application via the AGI. I want to
authenticate the users that dial in with a userid and pin. However, the
number of digits in the PIN and userid are variable, and therefore I need to
allow the user to "press enter" by hitting the pound key. How would I
accomplish this in the AGI?
stream_file doesnt seem to work, since it only allows one digit to be
2003 Oct 13
1
AGI solution to Grandstream BT102 call waiting problem
I'm trying to fix a problem with the GrandStream Budgetone 102. I've been reading the source code, mailing lists and other resources. Here's the scenario and the approach I have been pursuing. I'm having some problems with the AGI calls and I hope someone can give me some clarification.
PSTN <---> T1,PRI * <---> Grandstream BT 102 (12)
2008 Aug 21
3
After Dial execution, using DIALEDTIME, ANSWEREDTIME
Hi,
I noticed that when dial terminates it does not return to the dialplan,
and therefore can not execute any entry after Dial().
Is there any trick to overcome this limitation ?
How I am supposed to handle the returned vales DIALEDTIME, ANSWEREDTIME if
I can not execute anything after Dial()?
I made a workaround with DeadAGI (below) but it is unreliable: if 2 calls
end
2003 Oct 29
1
AGI question or something
Sorry for asking this question again but
before I blow 100 dollars on a X100P I need to know this info:
So does "SET EXTENSION <new extension>" allow for you to set which
extension the rest of the call will occur over?
So if a call comes into the switch and I could make the AGI script check
the DID or DNIS which is really in the variable agi_dnid?
After that I can do a database
2013 Oct 23
2
performance on document.get_data()
I got some performance issue for document.get_data() and
enquire.get_mset(). It costs 35 seconds for matches =
enquire.get_mset(0,200), and 3 seconds for iterating all doc in matches to
get_data. Is't normal? My index contains 30millions documents. I use python
binding to operate xapian. Bellow it's my index structure
# value: 0:date, 1:site
# data: json message which contains: author,
2004 Jun 20
1
asterisk console mode
Hi folks,
I use safe asterisk to startup and run asterisk in the background. In
Safe_asterisk script, there is a parameter (right at the top ), CONSOLE
which I can set to no or something. If it is no asterisk startup as
asterisk -vvvg , if it is set to something the asterisk startup as
asterisk -vvvg -c.
Now I am running an agi script when calls get hung-up. That is in my
extensions.conf I call
2014 Aug 07
2
agi get_data noanswer
Hi Guys..
I am making an anoucement machine that is not allowed to "answer" the call
due to a billing issue.
I found that Playback with "noanwser" is usefull in this case.
$AGI->exec('Playback',"$message","noanswer")}
But when i request some values to the user with get_data, i think there is
an answer anywere.
Is there a way to get_data
2002 Feb 18
3
Undeleting files in ext3 (Newbie-question)
Recently I've encountered a problem, and now I would preciate any help
about being able to undelete files.
My /var filestructured is mounted at /dev/hdc1
Part of my /etc/mtab looks like this:
/dev/hdc1 /var ext3 rw 0 0
I'm using the e2fsprogs-1.23-2 package currently installed with Redhat 7.2
So, could anyone give me a hint of how things could be done to find
deleted inodes?
I've
2005 Oct 05
1
Caching DTMF tones for get_data AGI?
I'm using get_data in an AGI script and am having a problem when, after
a long time in my IVR, when I ask for a 10-digit phone number, the first
few tries are always invalid -- the number it reads back is very
strange, almost like the DTMF tones from other answers were being cached
and then dumped on the call to get_data.
Anyone ever experienced this before? I have to do some major