similar to: SAY NUMBER in AGI?

Displaying 20 results from an estimated 40000 matches similar to: "SAY NUMBER in AGI?"

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
2016 Jan 06
2
No joy with my first AGI Python script
It's very simple but it doesn't work. Here's the entire script. #! /usr/bin/python import sys env = {} def comm(cmd): sys.stdout.write(cmd.strip() + '\n') sys.stdout.flush() return sys.stdin.readline().strip() while 1: line = sys.stdin.readline().strip() if line == '': break key,data = line.split(':') if key[:4] == 'agi_':
2003 Nov 25
4
AGI Rocks!! (A happy camper)
A note to all those who are avoiding writing up an AGI becasue it looks two complicated.. I have just written up my first and its awesome.. It makes Asterisk open to all sorts of possibilities.. let your imagination run wild.. I put off writing an AGI script because a) I could not find any docs b) it looked like the only way to do it was perl and I know nothing about perl and c) I am not a
2004 May 20
2
AGI/php script not working
Dear all I am just getting started with AGI so I wrote the following script as a simple test but all that happens is silence before it times out and hangs up can someone help to get me started? yet if i use the agi-test.agi script everything works I don't see the difference Thanks php -q <?php fputs(STDOUT 'SAY NUMBER 123 "#*"\n'); $lin =
2013 Jan 10
1
Segmentation fault after upgrading from asterisk-10.5.0 to asterisk-11.1.2
After upgrading from asterisk-10.5.0 to asterisk-11.1.2, I am getting a Segmentation fault. [root at localhost asterisk-11.1.2]# asterisk -vvvvvvc Asterisk 11.1.2, Copyright (C) 1999 - 2012 Digium, Inc. and others. Created by Mark Spencer <markster at digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components
2003 Oct 24
6
AGI questions..
Hi, First off, can AGI scripts be created using PHP??.. This is where our skills are and since PHP can be run from a command line it would be easier to create and maintain.. I understand that AGI works using STDIN and STDOUT, so does that mean that I would simply "echo" the standard Asterisk commands that I wanted Asterisk to execute and it would process them? Are any call
2004 Apr 19
3
One, två, tre, quatre, cinq ... International numbers in say.c
http://bugs.digium.com/bug_view_page.php?bug_id=0001429 * Support for other language syntaxes in saynumber Accidentally I opened this can of worms to see if we can add support for other language syntaxes for saying numbers. Seems like Swedish, english and norwegian follow the same syntax. I've integrated existing patches for french, danish and soon portuguese syntax. The steps we're
2003 Jul 12
1
AGI script sample using bash shell script
Hi, A quick and dirty (aka Rapid Application Developement) AGI script implement using bash shell. No need to invoke a 10MB perl engine to process simple asterisk agi scripts. I found it to be very useful in learning the AGI interface. For example, I learn that AGI won't execute the next command until you read the results from STDIN. Enjoy, Sunny Woo Solution Consultant Avantnix
2013 Jul 01
3
Asterisk 1.8.20 AGI function SAY DATETIME does not play anything when mode in say.conf is changed to "new"
Hi I am using following say.conf file. Its a default file, which comes with Asterisk installation. When I call SAY DATETIME AGI function, it simply returns without playing date & time. Where as if I use mode=old setting, it works. Is this a bug or mode=new is not implemented for SAY DATETIME AGI function? [general] mode=new ; method for playing numbers and dates ;
2007 Jan 12
4
FW: Get dialed numbers in AGI
On 1/11/07, Mike D'Ambrogia <miked@jamagination.com> wrote: > > Ralph > > Kind of new to asterisk, and really new to AGI but it looks like you were > trying to have the AGI script tell asterisk to read and lay the results into > my_var and then regain control in the AGI script, is that correct? > > If so I don't think that will work since the dialplan
2005 Jun 27
3
AGI "say number" but in french
Hello, does anyone know how to get the say number (say.c) agi "application" to work in french [assuming that I have the French voice files] I have looked in the code and about a 1/3 of the way thru there is : /*--- ast_say_number_full: call language-specific functions */ /* Called from AGI */ int ast_say_number_full(struct ast_channel *chan, int num, char *ints, char *language, char
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
2011 Mar 08
5
[1.4] Reading phone number the French way?
Hello, I need to write a script which prompts the callee to type a number, and then read it back to them as confirmation: ======= extensions.conf [robocall] ;Expect 10-digit number excluding final #, 2 tries, 20s time-out exten => s,n(nbr2call),Read(NBR2CALL,please-type-number,10,,2,20) exten => s,n,GotoIf($[${LEN(${NBR2CALL})} != 10]?end) ;exten => s,n,SayDigits(${NBR2CALL}) exten
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
2016 Oct 13
4
Match one OR two digit extension not working as expected without using "dangerous" _. pattern (Ast 14)
Back to basics here. I want to match on one OR two digits. The following two both work, but ONLY for more than one digit, which is not as expected from the docs (see below). exten => _X.,1,SayNumber(${EXTEN}) exten => _[0-9].,1,SayNumber(${EXTEN}) This next one will ONLY match 2 digits, as expected, but the first two SHOULD match one or more, right? exten => _XX,1,SayNumber(${EXTEN})
2010 Sep 02
4
agi playback to execute say.conf settings
Hi all, I am using asterisk-1.6.2.10. I changed say.conf script for customized number reading. In the extension.conf: -------------------------- [number-to-voice] exten => 8765,1,playback(num:344345,say) exten => 8765,n,hangup It executes corresponding say.conf script and produces good results for me. but when I write it in agi does not working. Here is agi debug output from asterisk.
2008 Mar 24
2
Getting Exec Format Error when running AGI call
Dear friends, I am having problem with running a sample php and I can't figure out why. I can run the sample.php using CLI but when I run it inside the dialplan it does not work. Can someone please suggest the config problem that I may have made? dommy:/var/lib/asterisk/agi-bin# php sample.php #!/usr/bin/php5 -q VERBOSE "Here we go!" 2 VERBOSE "Call from - Calling
2012 Jul 23
2
file and on SayNumber() app
Hello, I use the SayNumber() with variable. for example the number 1234 - asterisk play the number without and. -- Executing [888 at from-internal:1] Set("SIP/103-0000035d", "LANGUAGE=en") in new stack -- Executing [888 at from-internal:2] SayNumber("SIP/103-0000035d", "1234") in new stack -- <SIP/103-0000035d> Playing
2003 Oct 10
1
Asterisk crash on AGI
Hi I've just started to play around with AGI scripts and have run into problems. When I run Asterisk in console mode everything works just fine. If I run Asterisk in 'regular' mode (not console) it crashes if I hang up on the script. I have used Python scripts to test this and also the "agi-test.agi" script. (the Asterisk code was compiled from CVS code just a few days
2004 Jan 13
6
SIP and AGI crash...
Hi, I'm trying to use the say-ani agi asterisk-perl script and am experiencing crashes, I am also experienceing problems with the test-agi scripts shipped with asterisk. The clearest demonstration of the problem is that if I dial extension 125 configured as... exten => 125,1,Ringing exten => 125,2,Wait(3) exten => 125,3,Answer exten => 125,4,Wait(2) exten =>