similar to: How to determine the voicemail file name for an AGI script

Displaying 20 results from an estimated 10000 matches similar to: "How to determine the voicemail file name for an AGI script"

2011 Apr 09
1
Is it the normal behaviore for AGI and DeadAGI to terminate AFTER the "h" extension?
Hi Everyone, Trying to run a php script after DeadAGI for A2Billing does it's magic. This is the dialplan: [a2billing] exten => _X.,1,System(php pre-call.php ${CALLERID(num)} ${EXTEN} ${UNIQUEID}) exten => _X.,n,AGI(a2billing.php,1) exten => _X.,n,Hangup() *exten => h,1,Wait(5)* *exten => h,n,System(php post-call.php ${CALLERID(num)} ${UNIQUEID})* As you can see above, I even
2009 Mar 09
3
problem with an agi in PHP
Hello, I need to execute an agi in php. I have that: == Using SIP RTP CoS mark 5 -- Executing [0170725000 at mnupprx1:1] Answer("SIP/33179977999-b6c18478", "") in new stack -- Executing [0170725000 at mnupprx1:2] GotoIf("SIP/33179977999-b6c18478", "0?6:3)") in new stack -- Goto (mnupprx1,0170725000,3) -- Executing
2007 Sep 15
2
AGI/PHP: missing arguments
hi folks, I've built a simple PHP-script utilizing the AGI-interface. in extensions.conf I trigger the script and pass a single value as first argument: exten => h,1,DeadAGI(process.php|${Enter}) On the Asterisk-console, I can actually see that the script is called correctly (something like "DeadAGI(process.php|1234)"). However, when I read stdin in the PHP script, I receive
2007 May 14
3
Proper AGI use with MySQL
Hi, We have a "simple" AGI script that provides some IVR functionality. It connects to a MySQL database in order to create a call record and capture IVR data. During the IVR process, we need to store the time the call started, so basically we INSERT a new MySQL row with callstart = NOW(), uniqueid = AGI(agi_uniqueid). As the user selects different options, we update the row to reflect
2005 May 11
1
HELP: ASTCC (AGI) meets call forward ERROR
Hi, ALL: When I use astcc to do the prepaid function, but if I want to enable "call forward". The result of CDR seems not correct. UA 1011 make a call to UA 9999, and UA 9999 forwards this call to a PSTN number. I think we shall charge the credit from UA 9999 not UA 1011 because UA 1011 don't know where UA 9999 forwards to. But in CDR, I can only find the from(1011) and
2007 Dec 07
2
PHP AGI script
I've got a very nice PHP AGI script but I want to be able to do some database cleanup when the user hangs up the phone. I wish everyone would hang up when they were suposed to, but some people don't. So what does Asterisk send to an AGI file when the line has been disconnected? If I remember reading somewhere correctly, I don't need to use DeadAGI. Instead I'm able to use
2007 Aug 13
1
AGI answering the channel even though I never asked it to
I am working on a call-back solution where the initiating call should never be answered. I was doing this simply through the dial plan, sending a progress tone, and then dumping the channel, and firing off a DeadAGI which created a call file to make the callback. Now I've tried extending this so that an AGI is fired first to check for things - like no inbound ANI - and play a
2006 Mar 20
4
simple perl-agi - where's the error?
Hello! I'm trying to setup a perl-deadagi, but my perl skills lack. can someone tell me why the following code doesn't work: #!/usr/bin/perl use Asterisk::AGI; $AGI = new Asterisk::AGI; $dialstring = $AGI->get_variable("DIALSTRING"); $res = $AGI->exec("DIAL $dialstring"); the asterisk output says: AGI Rx << GET VARIABLE DIALSTRING AGI Tx >> 200
2011 Apr 06
2
voicemail call back loop
I have "externnotify = /var/lib/asterisk/agi-bin/vm_notify.pl" so that when someone is left a voicemail it will call the person's mobile phone and prompt them with the new message. The perl script simply originates a call to a persons mobile phone and connects it to their voicemail using VoiceMailMain. Problem is when user hangs up from checking their messages, it runs the
2006 Nov 02
1
AGI Problems
Hi, I've got a setup whereby calls come into the asterisk server (1.2.7.1) over a IAX2 trunk and into a dialplan that launches a php AGI script: [live-full] exten => _X.,1,Set(TIMEOUT(absolute)=0) exten => _X.,2,NoOp(${EXTEN}) exten => _X.,3,DEADAGI(live-full.php) exten => _X.,4,Wait,2 exten => _X.,5,Hangup The script is using phpagi-2 from http://phpagi.sourceforge.net/ and
2007 Jun 15
2
combining AGI with dialplans
On 2007-05-15 Tony Mountifield wrote (wrt using AGI scripts to dial out): > Can't comment on this one, as I never use AGI to dial. > My AGIs just set the context, extension and priority, > and exit to the dialplan to do any dialling. (http://article.gmane.org/gmane.comp.telephony.pbx.asterisk.user/185537) I would like to do this, but I am having trouble figuring out how. I have
2005 Jun 30
7
Voicemail => SMS
Hi I have been trying for a while to find a way to get an SMS send when I receive a voicemail into my asterisk system. I don't want to send an SMS if the caller doesn't leave a message. I have voicemail.conf set up to email and delete. 302 => 302,Website Sales,sip@example.com,,attach=yes|delete=yes However I can't seem to find a way to test is a message is left. I have tried
2010 Feb 14
3
Line DC
My dialer works perfectly , but whenever I dial a number manually from xlite and press a Key like 6055 for DTMF , line gets disconnected. Line gets DC as soon as I press any key from xlite What could be the issues ? I tried the SAME VOIP from another center and Its Ok there. I tried the Same dialer Xlite over Static IP, problem is there. I tried the same number from other Dialer , it works
2006 Feb 20
1
Dial from AGI = no ring back ??
Hi everybody, I sent an e-mail this morning regarding SIP / IAX2 with no ring-back, I now succeeded to pin-point the problem, here it is, if I dial a provider directly from extensions.conf I get ring-back, if I dial from an AGI script I don't get the ring-back but it calls anyway. I use 1.0.9. Any hint would be appreciated ! Thanks, Frederic ;Calling this one does not give me ring back
2012 Dec 10
1
deadagi on 11 and 1.4
How can extensions.conf be changed to work with both Asterisk 11 and 1.4.X such that 1.4.X calls deadagi and 11 just calls agi as deadagi is no more. Thanks, jerry
2006 Jan 13
1
Re: <Ben Higley> Can you send us your AGI CDR logging application?
I have placed the custom-cdr-V1.0.tar for download http://www.itsngroup.com/software/asterisk/downloads/ Thanks > Dear Ben, > I've also the problems as Chris Mason, Can you send us your own AGI CDR > logging application? > Best regards, > Jian Hong Guan > France > www.directcentrex.com > > >
2006 May 30
1
Asterisk::AGI and DIALEDTIME
Hi List, In one of my AGIs (using DeadAGI) I grab the answered time using: my $res = $agi->exec ("DIAL $dialstring"); my $answeredtime = $agi->get_variable ("ANSWEREDTIME"); However this information differs from what's written in the Master.csv file (which happens to be the correct value!) Any ideas why? I'm using asterisk 1.2.7.1 and the
2010 Jul 08
1
AGI get full variable
Dear All, I have "get full variable" AGI call to get the ANSWEREDTIME channel variable. I have originated the call to one extension, once answered I have called DeadAGI to control the call. I have problem that after hangup the call AGI "GET FULL VARIABLE" returns -1 for ANSWEREDTIME channel variable. What is the problem? Where I made wrong. Please suggest me..
2005 Mar 21
1
ASTCC: perl / mysql or me???
I try to change something in ASTCC, but I am now totally blind, .... I hang on one line now. I changed: vpbx:/var/lib/asterisk/agi-bin # diff astcc-original.agi astcc.agi 22c22 < # exten => _00XXXXXXXXX,1,DeadAGI(astcc.agi,${CALLERIDNUM},${EXTEN}) --- > # exten => _00XXXXXXXXX,1,DeadAGI(astcc.agi,${CALLERIDNUM},${TARIFF},${EXTEN}) 35c35 < # exten =>
2010 Feb 24
2
AMD: HANGUP
*Code:* == Manager 'sendcron' logged off from 127.0.0.1 -- Executing Playback("Local/91441425477394 at default-b9f2,1", "sip-silence") in new stack -- Playing 'sip-silence' (language 'en') -- Executing AGI("Local/91441425477394 at default-b9f2,1", "agi:// 127.0.0.1:4577/call_log") in new stack -- AGI Script