similar to: extension launch into AGI

Displaying 20 results from an estimated 30000 matches similar to: "extension launch into AGI"

2007 Feb 10
3
Dial out from AGI
I'm writing an AGI script and want it to dial a number on a channel connected to the PSTN. It would look something like this (pseudo-code follows): if ($a){ dial("8005551212"); }else{ dial("8665550000"); } The part I can't seem to get right is the "dial" function. I tried to mimic the dial plan like so sub dial($number){ print
2004 Aug 19
1
AGI Script: calleridnamelookup.agi
Is anyone successfully using the AGI script calleridnamelookup.agi (or anything similar) ? I get both name and number caller ID from my POTS line, but I'd save money if I had them deliver ANI only. I've downloaded and installed the AGI script calleridnamelookup.agi, but I always get -- Executing AGI("SIP/9525485560-5359", "calleridnamelookup.agi") in new stack
2006 Jun 09
2
No CID on ZAP
I am using asterisk version 1.2.6 with Zaptel version 1.2.5. I have a POTs line coming into a Digium TDM01B. It appears to not be getting CID at all. If I hook up a POTS phone to the line CID comes through fine. Inbound and outbound calls work fine but there is just no CID on inbound for this channel.The incoming route for the channel is Zaptel Channel 0. No DID or CID settings applied. My IP
2007 Jun 27
2
Error While Calling AGI
Hello All, Found some strange problem while Asterisk trying to call the AGI file. If I pick up the call on the first attempt, it will execute my AGI file properly. But if I don't pick up the call and let Asterisk call me again, it adds StartRetry next to my AGI file name. Which will cause the AGI to fail to execute. -- Attempting call on SIP/5181 for application AGI(recordvoice.php)
2004 Aug 26
2
<<< AGI and EXEC function CONFIRMATION >>>
Howdie- Can anyone please confirm that the BACKGROUND application does ***NOT*** return IMMEDIATELY when called from within an AGI EXEC command? It seems that EXEC waits until DTMF or THE END OF THE AUDIO FILE to return to the AGI script. This essentially prevents repeated calls to BACKGROUND (or I assume any other asterisk dialplan application) from within an AGI, and prevents
2009 Jun 24
7
PHP AGI Not Working and Odd Behavior
Hi, I'm running asterisk 1.4.22 on a debian server. I have php5 installed and it works correctly command line. When trying to run a php script via AGI, I get messages such as: GI Tx >> I> AGI Rx << #!/usr/bin/php5 -q AGI Tx >> 510 Invalid or unknown command The scripts are completely executable and owned by asterisk -rwxr-xr-x 1 asterisk asterisk Googling is not helping
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 =>
2003 Jun 05
1
T100P + Capi + Caller ID issue
Hi 2 all. I've a nice issue my * system. I have: asterisk latest cvs T100P + Zhone cb (3fxo+10fxs used) Diva Server 4BRI running Capi a bunch of pots and sip phones The whole system is running good (thanks to capigod and Bic. for the help with the Eicon Diva), but there's a very strange issue when calls arrive on the Diva and then bridged to the pots on the channel bank: the voice is not
2003 Oct 16
2
AGI problem (crash)
Hi Every time I hangup on my AGI script Asterisk crashes if it is not running in console mode. (happens when using python and perl AGI scripts) I'm desparatly trying to get my employer to let me use Asterisk. So I must get this to work. I've posted about this before, I'm sorry, but I'm desperate. I'm running RedHat 9.0 (kernel 2.4.20-8 everything else updated) I'm
2006 Mar 31
4
cannot set outgoing cid
Hi, sorry for the long debug output below. I configured Asterisk with AMP to send the whole number including the extensions of the callers to the called party. Whatever I configure in AMP it looks like it is used, In my eyes it is ok, but doesn't seem to work. 033811234451 is the call id i configured, and it seems to use them, but the caller will only see a 0338189040 instead of my
2004 Aug 16
2
1.0 RC2 External AGI Issues
Hi All, I'm trying to execute an external AGI script but get just the following: -- Executing AGI("SIP/xlite-2fa7", "agi-test") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-test -- AGI Script agi-test completed, returning 0 For whatever reason, it looks like the AGI script is just exiting without feeding the correct commands into
2003 Apr 11
1
Weird AGI/X100P behavior
I've got a single phone line coming into an X100P. In extensions.conf I've got this: [inboundzap] exten => s,1,Answer exten => s,2,EAgi,hanguptest.agi I see the ring come in and Asterisk detects it and tries to do something with it: NOTICE[20492]: File chan_zap.c, Line 4017 (ss_thread): Got event 2 (Ring/Answered)... -- Executing Answer("Zap/1-1", "") in
2007 Aug 23
3
[PHP-AGI] Problem executing script
Hello,I have succeded in compiling and configuring My TDM Card and asterisk, all works fine. But I have a problem using the PHP Agi.The CLI tells me that when I call my number :-- Starting simple switch on 'Zap/4-1' -- Executing [s at incoming:1] Answer("Zap/4-1", "") in new stack -- Executing [s at incoming:2] AGI("Zap/4-1", "rabot.agi") in
2007 Nov 14
4
Problem with AGI Script
I have asterisk 1.2.18 running on a new system we just installed. Although I've used AGIs many times in the past, I'm stumped on this one. It may just be a simple issue that I need another eyeset to look at. My AGI does the following: #!/usr/bin/perl #Load a few modules... use Asterisk::AGI; use DBI; $AGI = new Asterisk::AGI; #Grab input from Asterisk my %input =
2003 Nov 26
3
AGI - CallerID ??
I have a client who needs an application for there field techs to call in when they arrive on site and when they leave. The logic behind it seems pretty simple. I am going to write something in AGI to capture some DTMF tones and update this data into MySQL to run some reports from. But here's my initial problem. I have started to create a simple AGI script to capture the CallerID, but I
2005 Oct 13
1
AGI Variable problem
Hello all, I try to use a agi script to get a variable from * und put them into a script which gives me another variablke and put this in *. My problem is now it seems the var ID is empty coz i always jump into the result 0 loop. The $MSN should be in the SetCIDNum. #!/usr/bin/php -q <?php include("/var/lib/asterisk/agi-bin/phpagi.php"); $agi = new AGI(); $ID =
2005 Aug 23
1
AGI nor System working after a dial - Should it work?
Hello List, This is my first message herein. I was playing around with System() and AGI() and found out something I cound not determine my configuration error. I added before.agi and after.agi to the agi-bin dir. Tried to make before.agi get run before the dial call and after.agi be run after. Only the first priority (step 1) gets executed. Here follows some relevant part of the tests: On
2006 Oct 16
1
Page hangs up after 5 seconds
Hi asterisk-users, We are using Asterisk 1.2.12.1, and are trying to use the Page application. It seems to work but after approx 4-5 seconds the call is hung up. The dialplan code look like this: exten => _*2XX,1,AGI(get-paging-devices.agi,${EXTEN:2}) exten => _*2XX,n,GotoIf($[ "${PAGING_DEVICES}" = "invalid" ]?i,1) exten => _*2XX,n,SIPAddHeader(Call-Info:
2004 Jun 07
2
AGI + g729A
Hello.... I have the follow situatuion: < ISDN > | | V E100P |----------------| IAX2 / g729A |----------------| T100P | Asterisk1 |- - - - - - - - - - - - - - > | Asterisk2 | - - - - - -> |--------------| | | | | | Zhone | ----------------- ----------------- --------------- Here's the situation: I receive calls from the PSTN
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