Displaying 20 results from an estimated 46 matches for "agi_type".
2011 Mar 05
2
Help Asterisk / API / Perl
...ipt.agi)
The perl agi file are started without problems
but i want get into this script a lot of variable:
Type (SIP or IAX)
src (from cdr)
but that's don't work:
use Asterisk::AGI;
use lib "/var/lib/asterisk/agi-bin";
$AGI = new Asterisk::AGI;
$typ = $AGI->get_variable('agi_type');
$typ don't have SIP or IAX, same test without succes:
$typ = $AGI->get_variable('type');
anyone know this problems ?
thanks
Olivier
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
Where can I find list of agi var...
2006 May 15
1
GET DATA and STREAM FILE commands, don´t work
...bosity 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 >> agi_callingani2: 0
AGI Tx >> agi_callington: 0
AGI Tx >> agi_callingtns: 0
AGI Tx >> agi_dnid: 2...
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
any solution??
Thanks!!!
------...
2006 Jan 27
0
pb with callerid
...024' 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_priority = 1
test.php: 2006-01-27 10:55:05
-- AGI Script Executing Application: (SetGlobalV...
2006 Dec 12
1
AGI problema
...ler|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: Provale<br>
AGI Tx >> agi_callingpres: 0<br>
AGI Tx >> agi_callingani2: 0<br>
AGI Tx >> agi_callington: 0<br...
2008 Jan 27
1
[AGI 1.4] C sample?
...9 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_callingani2: 0
AGI Tx >> agi_callington: 0
AGI Tx >> agi_callingtns: 0
AGI Tx >> agi_dnid: 9999
AGI Tx &...
2008 Mar 24
2
Getting Exec Format Error when running AGI call
...cuting [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_callingani2: 0
AGI Tx >> agi_callington: 0
AGI Tx >> agi_callingtns: 0
AGI Tx >> agi_dnid: 444
AGI Tx &...
2011 Feb 22
1
[1.4.39.1/AGI] ast_carefulwrite: write() returned error: Broken pipe
...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 >> agi_callingani2: 0
AGI Tx >> agi_callington: 0
AGI Tx >> agi_callingtns: 0
AGI Tx >> agi_dnid: un...
2012 Jan 12
1
how to set callerid in php AGI file.
...I 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/2209-000026d3>AGI Tx >> agi_version: 1.6.2.20
<SIP/2209-000026d3>AGI Tx >> agi_callerid: 2209
<SIP/2209-000026d3>AGI Tx >> agi_calleridname: unknown
<SIP/2209-000026d3>AGI Tx...
2011 Feb 24
1
missing argument on AGI
...nnel.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: unknown
21:47:10]AGI Tx >> agi_callingpres: 0
21:47:10]AGI Tx >> agi_callingani2: 0
21:47:10]AGI Tx >> agi_callington: 0
21:47:10]AGI...
2005 Oct 06
1
Fwd: ASTCC - INUSE Flag
...-- 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 >> agi_callingani2: 0
AGI Tx >> agi_callington: 0
AGI Tx >> agi_callingtns: 0
AGI Tx >> agi_dnid: X...
2011 Feb 24
2
[1.4] Still can't get it to call back
...-- 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_callingani2: 0
AGI Tx >> agi_callington: 0
AGI Tx >> agi_callingtns: 0
AGI Tx >> agi_dnid: unknow...
2005 Jun 03
1
ARESKICC DOESN'T make a CALL!!!
...ck
-- 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'
areskicc2.php: 'agi_callerid' => '"firefly1" <0>'
areskicc2.php: 'agi_dnid' => '0290785472'
areskicc2.php: 'agi_rdnis' => 'unknow...
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
...onse 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 Asterisk...
Received response: agi_uniqueid: 1111659738.1
Reading 80 bytes response from Asterisk...
Received response: agi_callerid: "Moises Silva" <12>
Reading 80 bytes response from Asterisk...
Received response: agi_dnid: 10
Reading 80...
2004 Sep 15
0
AGI didn't get var from Asterisk?
...hed 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_uniqueid' => '1095233534.12'
UpdateAutoDial.php|45: 'agi_callerid' => 'xxxx'
UpdateAutoDial.php|45: 'agi_dnid' => 'xxxx'
UpdateAutoDial.php|45: 'agi_rdnis' =...
2005 Sep 22
0
ASTCC error when using silent=5
...uot;)
-- 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_callingani2: 0
AGI Tx >> agi_callington: 0
AGI Tx >> agi_callingtns: 0
AGI Tx >> agi_dnid: xxxxxx...
2007 Jul 10
0
Odd AGI Issue - STREAM FILE, GET DATA not playing file
...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: 0
AGI Tx >> agi_callingani2: 0
AGI Tx >> agi_callington: 0
AGI Tx >> agi_callingtns: 0
AGI Tx >> agi_dn...
2008 Oct 17
0
GET DATA Returning only a single digit
...\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_callingani2: 0
AGI Tx >> agi_callington: 0
AGI Tx >> agi_callingtns: 0
AGI Tx >> agi_dnid: unknown
A...