similar to: PHP AGI script

Displaying 20 results from an estimated 10000 matches similar to: "PHP AGI script"

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
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
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
2008 Oct 05
5
asterisk, phpagi and singleton
Hello, I've this situation: 300+ simultaneous calls and dialplan like this: exten => _X.,1,Answer() exten => _X.,2,DEADAGI(check_status.php) exten => _X.,3,Dial(SIP/other/${NUMBER}) exten => _X.,4,Hangup exten => h,1,DEADAGI(cdr.php) When project is running , I had a lot of defunct php scripts (I've exceed mysql connection limits and so on, deadagi help a bit). The
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
2007 Dec 06
1
DeadAgi
hi, all I am new to use DeadAgi, can anybody help me how to use DeadAgi, actually i want this, when caller hangup his/her phone, i want to send packet to my other app that check caller hung up done.
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
2005 May 25
15
PHP/AGI Problem
Hi I am currently developing a IVR application using PHP/AGI. I am using the PHPAGI class at http://phpagi.sourceforge.net/ to handle the commuication with my *. The application basically asks a caller to enter in some information which is then processed and a answer is read back out to them. I want the application to loop back to the beginning after giving the answer so they can try another
2005 Sep 23
2
Execute php agi after channel hangup
Hi, following I would like to implement: 1. I receive a call. 2. I hang up the call. 3. I execute a macro I thought about using call files first... but they don't support macros, or? Then I figured I could use php agi after I receive the call, hang up the call with php agi and execute the macro with "exec ...". Unfortunately, the php agi seems to die with the hangup. Does
2012 Mar 08
1
Using the h and DeadAGI
Hi All; Really I need to know why when using the "h" in the exten =>, then we use DeaAGI with it? I am using vicidial and I see this line alot, so I need to know how it work (when it will be executed): exten => h,1,DeadAGI(agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME}) The question is: When
2005 Mar 15
2
How to determine the voicemail file name for an AGI script
I've read several of the Wiki sections on Voicemail and "Asterisk variables" but could not find an obvious answer to this question. I would like to run a script that post-processes the voicemail after the Voicemail application returns (with AGI or DeadAGI), but I cannot figure out how to easily determine the name of the file written by the Voicemail application. Does anyone
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
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
2012 Apr 04
2
Asterisk 1.8 and DeadAGI
Dears; In asterisk 1.8, it is not more possible to use DeadAGI? Also, I found the below commands in the a2billing and I would to ask why it set the sequence 1 for the Hangup()? Maybe because it is related to the NoOp? How? [a2billing-callingcard] exten => _X.,1,NoOp(A2Billing Start) exten => _X.,n,Answer() exten => _X.,n,Wait(2) exten => _X.,n,DeadAgi(a2billing.php,1) exten =>
2010 Aug 31
1
Running System() after call completion, not in 'h'?
Greetings all- I have some dialplan code on an Asterisk 1.2.x box that basically dials a call, then after call completion, runs a command via System(). However, I'm finding that roughly 5% of the time, the System() command never executes and seems to be on specific destinations. Simplified/paraphrased example: exten => 1,1,Set(VARIABLE=SOMEVALUE) exten =>
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
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
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