Displaying 20 results from an estimated 50 matches for "agi_request".
2011 Feb 22
1
[1.4.39.1/AGI] ast_carefulwrite: write() returned error: Broken pipe
...uot;, "2") in new stack
-- Executing [s at from_fxo:2] Set("DAHDI/1-1", "CID=123465") in new
stack
-- Executing [s at from_fxo:3] AGI("DAHDI/1-1", "/var/tmp/test.lua")
in new stack
-- Launched AGI Script /var/tmp/test.lua
AGI Tx >> agi_request: /var/tmp/test.lua
AGI Tx >> agi_channel: DAHDI/1-1
AGI Tx >> agi_language: en
AGI Tx >> agi_type: DAHDI
AGI Tx >> agi_uniqueid: 1298367207.9
AGI Tx >> agi_callerid: 0177628460
AGI Tx >> agi_calleridname: unknown
AGI Tx >> agi_callingpres: 0
AGI Tx >>...
2006 Jan 16
2
AGI variables
When I read variables in AGI scripts, I see only the follwing 13 variables
agi_request
agi_channel
agi_language
agi_type
agi_uniqueid
agi_callerid
agi_dnid
agi_rdnis
agi_context
agi_extension
agi_priority
agi_enhanced
agi_accountcode
beside these, I found following variables documented on several sites.
agi_calleridname
agi_callingpres
agi_callingani2
agi_callington
agi_callingtns...
2006 May 15
1
GET DATA and STREAM FILE commands, don´t work
...k be need at the detail of the problem:
Connected to Asterisk 1.2.7.1 currently running on linux (pid = 19044)
Verbosity is at least 18
-- Executing AGI("SIP/8070-609b", "teste.bsh") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/teste.bsh
AGI Tx >> agi_request: teste.bsh
AGI Tx >> agi_channel: SIP/8070-609b
AGI Tx >> agi_language: en
AGI Tx >> agi_type: SIP
AGI Tx >> agi_uniqueid: 1147466306.21
AGI Tx >> agi_callerid: 8070
AGI Tx >> agi_calleridname: Michely Germano
AGI Tx >> agi_callingpres: 0
AGI Tx >> ag...
2007 Sep 15
2
AGI/PHP: missing arguments
...gle 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 all AGI-environment variables
(agi_request, agi_callerid etc.) correctly, but I'm missing the actual
passed value (which should be in agi_arg_1 etc.). the last thing I get from
stdin is the environment-variable agi_accountcode, after this it seems to
stop.
what's really strange is, that the exact same script has been working
correc...
2009 Feb 26
3
Getting SIP field P-Asserted-Identity from EAGI
Hi, using EAGI variables like
agi_request
agi_channel
agi_language
agi_type
agi_uniqueid
agi_callerid
agi_dnid
agi_rdnis
agi_context
agi_extension
agi_priority
agi_enhanced
agi_accountcode
I get a lot of data about a call, but I need to obtain P-Asserted-Identity
value from a SIP call. Are tehe any eagi variable to get that? Or have you...
2006 Jan 27
0
pb with callerid
...=> 8489,n,Dial(SIP/7297,,T)
####Presentation of number
-- Accepting call from '611134024' to '8489' on channel 0/8, span 1
-- Executing AGI("Zap/8-1", "test.php") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/test.php
test.php: agi_request = test.php
test.php: agi_channel = Zap/8-1
test.php: agi_language = fr
test.php: agi_type = Zap
test.php: agi_callerid = 611134024
test.php: agi_calleridname = unknown
test.php: agi_dnid = 8489
test.php: agi_uniqueid = 1138355705.1362
test.php: agi_extension = 8489
test.php: agi_p...
2006 Dec 12
1
AGI problema
...Below I give you the debug message:<br>
<br>
-- Executing agi("SIP/provale-7473", "dialer|551236337388")<br>
-- Launched AGI Script /usr/local/share/asterisk/agi-bin/dialer<br>
AGI Tx >> agi_request: dialer<br>
AGI Tx >> agi_channel: SIP/provale-7473<br>
AGI Tx >> agi_language: br<br>
AGI Tx >> agi_type: SIP<br>
AGI Tx >> agi_uniqueid: 1165939032.131<br>
AGI Tx >> agi_callerid: provale<br>
AGI Tx >> agi_calleridname: Prova...
2008 Jan 27
1
[AGI 1.4] C sample?
...ecuting [9999 at inside:1] Verbose("SIP/2000-0904bee0",
"Yes!") in new stack
Yes!
-- Executing [9999 at inside:2] AGI("SIP/2000-0904bee0",
"check_cid.exe|123") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/check_cid.exe
AGI Tx >> agi_request: check_cid.exe
AGI Tx >> agi_channel: SIP/2000-0904bee0
AGI Tx >> agi_language: en
AGI Tx >> agi_type: SIP
AGI Tx >> agi_uniqueid: 1201412176.3
AGI Tx >> agi_callerid: 2000
AGI Tx >> agi_calleridname: Fred
AGI Tx >> agi_callingpres: 0
AGI Tx >> agi_ca...
2008 Mar 24
2
Getting Exec Format Error when running AGI call
...LI> -- Executing [444 at my-phones:1] Answer("SIP/2000-b640ba18", "") in
new stack
-- Executing [444 at my-phones:2] AGI("SIP/2000-b640ba18", "sample.agi") in
new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/sample.agi
AGI Tx >> agi_request: sample.agi
AGI Tx >> agi_channel: SIP/2000-b640ba18
AGI Tx >> agi_language: en
AGI Tx >> agi_type: SIP
AGI Tx >> agi_uniqueid: 1206377474.53
AGI Tx >> agi_callerid: 2000
AGI Tx >> agi_calleridname: 2000
AGI Tx >> agi_callingpres: 0
AGI Tx >> agi_call...
2012 Jan 12
1
how to set callerid in php AGI file.
...1] Answer("SIP/2209-000026d3", "") in new
stack
-- Executing [101 at outbound:2] AGI("SIP/2209-000026d3",
"/home/virendra.bhati/outdial.php") in new stack
-- Launched AGI Script /home/virendra.bhati/outdial.php
<SIP/2209-000026d3>AGI Tx >> agi_request: /home/virendra.bhati/outdial.php
<SIP/2209-000026d3>AGI Tx >> agi_channel: SIP/2209-000026d3
<SIP/2209-000026d3>AGI Tx >> agi_language: en
<SIP/2209-000026d3>AGI Tx >> agi_type: SIP
<SIP/2209-000026d3>AGI Tx >> agi_uniqueid: 1326357644.10070
<SIP/...
2011 Feb 24
1
missing argument on AGI
..."callout|006583232393-1-201") in new stack
21:47:10] -- Executing [s at macro-callout:1] AGI("SIP/201-00000004",
"getchannel.php|006583232393-1-201") in new stack
21:47:10] -- Launched AGI Script /var/lib/asterisk/agi-bin/getchannel.php
21:47:10]AGI Tx >> agi_request: getchannel.php
21:47:10]AGI Tx >> agi_channel: SIP/201-00000004
21:47:10]AGI Tx >> agi_language: en
21:47:10]AGI Tx >> agi_type: SIP
21:47:10]AGI Tx >> agi_uniqueid: 1298555228.12
21:47:10]AGI Tx >> agi_callerid: unknown
21:47:10]AGI Tx >> agi_calleridname: unkn...
2005 Oct 06
1
Fwd: ASTCC - INUSE Flag
...d the second has
mysql-standard-4.1.12-pc-linux-gnu-i686.
Below is the output of AGI Debug of the beta-1.2 machine:
-- Executing DeadAGI("SIP/XXXXXXXXX-6cb1",
"astcc.agi|XXXXXXXXX|XXXXXXXXXX|0")
-- Launched AGI Script /var/lib/asterisk/agi-bin/astcc.agi
AGI Tx >> agi_request: astcc.agi
AGI Tx >> agi_channel: SIP/XXXXXXXXXX-6cb1
AGI Tx >> agi_language: br
AGI Tx >> agi_type: SIP
AGI Tx >> agi_uniqueid: 1128548232.15
AGI Tx >> agi_callerid: XXXXXXXXX
AGI Tx >> agi_calleridname: XXXXXXXXXX
AGI Tx >> agi_callingpres: 0
AGI Tx >&...
2011 Feb 24
2
[1.4] Still can't get it to call back
...t;Zap/1-1", "") in new stack
== Spawn extension (from_fxo, s, 4) exited non-zero on 'Zap/1-1'
-- Executing [h at from_fxo:1] DeadAGI("Zap/1-1",
"/var/tmp/callback.lua|123456") in new stack
-- Launched AGI Script /var/tmp/test7.lua
AGI Tx >> agi_request: /var/tmp/test7.lua
AGI Tx >> agi_channel: Zap/1-1
AGI Tx >> agi_language: en
AGI Tx >> agi_type: Zap
AGI Tx >> agi_uniqueid: 1298539792.116
AGI Tx >> agi_callerid: 123456
AGI Tx >> agi_calleridname: unknown
AGI Tx >> agi_callingpres: 0
AGI Tx >> agi_...
2005 Jun 03
1
ARESKICC DOESN'T make a CALL!!!
...uot;) in new stack
-- Executing Wait("IAX2/firefly1@firefly1/3", "2") in new stack
-- Executing DeadAGI("IAX2/firefly1@firefly1/3", "areskicc2.php") in new
stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/areskicc2.php
areskicc2.php: 'agi_request' => 'areskicc2.php'
areskicc2.php: 'agi_channel' => 'IAX2/firefly1@firefly1/3'
areskicc2.php: 'agi_language' => 'en'
areskicc2.php: 'agi_type' => 'IAX2'
areskicc2.php: 'agi_uniqueid' => '1117858211.0'...
2005 Sep 28
3
ASTCC - INUSE Flag
I download and installed ASTCC over the weekend and I am having an issue where the INUSE flag will not get set back to 0 if the user drops a call while the balance is being played. All other times it seems to reset the flag correctly.
I have tried both AGI and DeadAGI with the same results.
Those of you using it for a while, how did you get around this?
Just for fun this is all I am doing in
2005 Mar 24
0
AGI commands STDOUT problem
...?>
As you can see, the test is exactly the same, in fact, the output to
the asterisk console is the same, but here i can log the communication
between Asterisk and my PHP script. The log output in the file defined
in the script is:
Reading 80 bytes response from Asterisk...
Received response: agi_request: agi_cdr.php
Reading 80 bytes response from Asterisk...
Received response: agi_channel: SIP/12-d91b
Reading 80 bytes response from Asterisk...
Received response: agi_language: en
Reading 80 bytes response from Asterisk...
Received response: agi_type: SIP
Reading 80 bytes response from Aster...
2004 Sep 15
0
AGI didn't get var from Asterisk?
...require ("phpagi.php");
$agi=new AGI();
$dbid=$agi->get_var("ADBID");
$tt=$agi->set_var("Adbid1", $dbid);
echo "VERBOSE DID: $dbid";
?>
Console:
-- Launched AGI Script UpdateAutoDial.php
UpdateAutoDial.php|45: 'agi_request' => 'UpdateAutoDial.php'
UpdateAutoDial.php|45: 'agi_channel' => 'Zap/1-1'
UpdateAutoDial.php|45: 'agi_language' => 'en'
UpdateAutoDial.php|45: 'agi_type' => 'Zap'
UpdateAutoDial.php|45: 'agi_uniquei...
2005 Sep 22
0
ASTCC error when using silent=5
...========================================================
-- Executing Answer("SIP/yyyyyyy-a9da", "")
-- Executing DeadAGI("SIP/yyyyyyy-a9da", "astcc.agi|yyyyyyy|xxxxxxx|5")
-- Launched AGI Script /var/lib/asterisk/agi-bin/astcc.agi
AGI Tx >> agi_request: astcc.agi
AGI Tx >> agi_channel: SIP/yyyyyyy-a9da
AGI Tx >> agi_language: br1
AGI Tx >> agi_type: SIP
AGI Tx >> agi_uniqueid: 1127396734.48
AGI Tx >> agi_callerid: yyyyyyy
AGI Tx >> agi_calleridname: unknown
AGI Tx >> agi_callingpres: 0
AGI Tx >> agi...
2007 Jul 10
0
Odd AGI Issue - STREAM FILE, GET DATA not playing file
...with other files as well)
print "exec swift \"Caller I D not recognized, please enter your pin
coade followed by the pound key\" \n";
print "GET DATA silence1 \n";
print "exec swift \"Thank You\"\n";
Console Dump:
AGI Tx >> agi_request: webrelay.agi
AGI Tx >> agi_channel: SIP/207.103.129.146-08243870
AGI Tx >> agi_language: en
AGI Tx >> agi_type: SIP
AGI Tx >> agi_uniqueid: 1184095513.2
AGI Tx >> agi_callerid: 2152592100
AGI Tx >> agi_calleridname: unknown
AGI Tx >> agi_callingpres...
2008 Oct 17
0
GET DATA Returning only a single digit
...#39;)
12 sys.stdout.flush()
13 line = sys.stdin.readline()
14 sys.stderr.write("DIGIT PRESSED: %s\n" % (line))
15
16 sys.stdout.write('GET DATA tt-monkeys 10 4\n')
17 sys.stdout.flush()
18 line = sys.stdin.readline()
Asterisk Console
AGI Tx >> agi_request: test.py
AGI Tx >> agi_channel: SIP/jane-09386dd0
AGI Tx >> agi_language: en
AGI Tx >> agi_type: SIP
AGI Tx >> agi_uniqueid: 1224244224.22
AGI Tx >> agi_callerid: unknown
AGI Tx >> agi_calleridname: john
AGI Tx >> agi_callingpres: 0
AGI Tx >> agi_call...