Displaying 20 results from an estimated 50 matches for "agi_dnid".
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 variables?
thanks,
--
You don't...
2006 May 15
1
GET DATA and STREAM FILE commands, don´t work
...t; 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: 2100
AGI Tx >> agi_rdnis: unknown
AGI Tx >> agi_context: test
AGI Tx >> agi_extension: 2100
AGI Tx >> agi_priority: 1
AGI Tx >> agi_enhanced: 0.0
AGI Tx >> agi_accountcode:
AGI Tx >>
AGI Rx << GET DATA /var/lib/asterisk/sounds/demo-instruct "&qu...
2003 Oct 29
1
AGI question or something
...dollars on a X100P I need to know this info:
So does "SET EXTENSION <new extension>" allow for you to set which
extension the rest of the call will occur over?
So if a call comes into the switch and I could make the AGI script check
the DID or DNIS which is really in the variable agi_dnid?
After that I can do a database lookup from the script and then issue the
"SET EXTENSION" command to asterisk to allocate the call to the right
extension if available?
I had to go to http://home.cogeco.ca /~camstuff/agi.html
For the AGI command descriptions. Is there a better/more up...
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!!!
-------------- next part --------------
A...
2008 Feb 06
0
Problem forwarding a call with an AGI script
...licit_flush(true);
set_time_limit(6);
error_reporting(0);
$stdin=fopen("php://stdin","r");
while(!feof($stdin)){
$temp = fgets($stdin);
$temp = str_replace("\n","",$temp);
$s = explode(":",$temp);
if( $s[0]=="agi_dnid"){
// $s[1] contains the number that has forwarded the call
$stdout=fopen("php://stdout","w");
fwrite($stdout,"NOOP(dummy)");
fwrite($stdout,"SET CONTEXT local");
fwrite($stdout,"SE...
2006 Jan 27
0
pb with callerid
...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: (SetGlobalVar) Options:
(NOM_CLIENT=DSOFT)
== Setting global variable 'NOM_CLIENT' to 'DSOFT'...
2006 Dec 12
1
AGI problema
...r>
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>
AGI Tx >> agi_callingtns: 0<br>
AGI Tx >> agi_dnid: 01236337388<br>
AGI Tx >> agi_rdnis: unknown<br>
AGI Tx >> agi_context: default<br>
AGI Tx >> agi_extension: 01236337388<br>
AGI Tx >> agi_priority: 1<br>
AGI Tx >> agi_enhanced: 0.0<br>
AGI Tx >> agi_accountcode: <br>
A...
2008 Jan 27
1
[AGI 1.4] C sample?
...GI 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 >> agi_rdnis: unknown
AGI Tx >> agi_context: inside
AGI Tx >> agi_extension: 9999
AGI Tx >> agi_priority: 2
AGI Tx >> agi_enhanced: 0.0
AGI Tx >> agi_accountcode:
AGI Tx >>
-- AGI Script check_cid.exe completed, returning 0
== Auto fallth...
2008 Mar 24
2
Getting Exec Format Error when running AGI call
...I 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 >> agi_rdnis: unknown
AGI Tx >> agi_context: my-phones
AGI Tx >> agi_extension: 444
AGI Tx >> agi_priority: 2
AGI Tx >> agi_enhanced: 0.0
AGI Tx >> agi_accountcode:
AGI Tx >>
AGI Rx << verbose "Failed to execute '/var/lib/asterisk...
2011 Feb 22
1
[1.4.39.1/AGI] ast_carefulwrite: write() returned error: Broken pipe
...gt; 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: unknown
AGI Tx >> agi_rdnis: unknown
AGI Tx >> agi_context: from_fxo
AGI Tx >> agi_extension: s
AGI Tx >> agi_priority: 3
AGI Tx >> agi_enhanced: 0.0
AGI Tx >> agi_accountcode:
AGI Tx >>
AGI Rx << NOOP agi_request: /var/tmp/test.lua
AGI Tx >> 2...
2012 Jan 12
1
how to set callerid in php AGI file.
...alleridname: unknown
<SIP/2209-000026d3>AGI Tx >> agi_callingpres: 0
<SIP/2209-000026d3>AGI Tx >> agi_callingani2: 0
<SIP/2209-000026d3>AGI Tx >> agi_callington: 0
<SIP/2209-000026d3>AGI Tx >> agi_callingtns: 0
<SIP/2209-000026d3>AGI Tx >> agi_dnid: 101
<SIP/2209-000026d3>AGI Tx >> agi_rdnis: unknown
<SIP/2209-000026d3>AGI Tx >> agi_context: outbound
<SIP/2209-000026d3>AGI Tx >> agi_extension: 101
<SIP/2209-000026d3>AGI Tx >> agi_priority: 2
<SIP/2209-000026d3>AGI Tx >> agi_enhanced:...
2011 Feb 24
1
missing argument on AGI
...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 Tx >> agi_callingtns: 0
21:47:10]AGI Tx >> agi_dnid: unknown
21:47:10]AGI Tx >> agi_rdnis: unknown
21:47:10]AGI Tx >> agi_context: macro-callout
21:47:10]AGI Tx >> agi_extension: s
21:47:10]AGI Tx >> agi_priority: 1
21:47:10]AGI Tx >> agi_enhanced: 0.0
21:47:10]AGI Tx >> agi_accountcode:
21:47:10]AGI Tx >>
2...
2005 Jun 11
1
AreskiCC Calling Problem
...e' => 'Junaid Uppal'
areskicc2.php: 'agi_callingpres' => '0'
areskicc2.php: 'agi_callingani2' => '0'
areskicc2.php: 'agi_callington' => '0'
areskicc2.php: 'agi_callingtns' => '0'
areskicc2.php: 'agi_dnid' => '011905'
areskicc2.php: 'agi_rdnis' => 'unknown'
areskicc2.php: 'agi_context' => 'default'
areskicc2.php: 'agi_extension' => '011905'
areskicc2.php: 'agi_priority' => '3'
areskicc2.php: 'agi...
2005 Oct 06
1
Fwd: ASTCC - INUSE Flag
...t; 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: XXXXXXXXXXX
AGI Tx >> agi_rdnis: unknown
AGI Tx >> agi_context: internos
AGI Tx >> agi_extension: XXXXXXXXX
AGI Tx >> agi_priority: 1
AGI Tx >> agi_enhanced: 0.0
AGI Tx >> agi_accountcode: XXXXXXXXXXX
AGI Tx >> >
AGI Rx << ANSWER
AGI Tx >> 2...
2011 Feb 24
2
[1.4] Still can't get it to call back
...gt;> 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: unknown
AGI Tx >> agi_rdnis: unknown
AGI Tx >> agi_context: from_fxo
AGI Tx >> agi_extension: h
AGI Tx >> agi_priority: 1
AGI Tx >> agi_enhanced: 0.0
AGI Tx >> agi_accountcode:
AGI Tx >>
AGI Rx << NOOP agi_request: /var/tmp/test7.lua
AGI Tx >>...
2005 Jun 03
1
ARESKICC DOESN'T make a CALL!!!
...'
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' => 'unknown'
areskicc2.php: 'agi_context' => 'default'
areskicc2.php: 'agi_extension' => '0290785472'
areskicc2.php: 'agi_priority' => '3'
areskicc2.php:...
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
...ceived 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 bytes response from Asterisk...
Received response: agi_rdnis: unknown
Reading 80 bytes response from Asterisk...
Received response: agi_context: macro-root
Reading 80 bytes response from Asterisk...
Received response: agi_extension: s
Reading 80 bytes response from Asterisk.....
2004 Sep 15
0
AGI didn't get var from Asterisk?
...'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' => 'unknown'
UpdateAutoDial.php|45: 'agi_context' => 'autodial-agent'
UpdateAutoDial.php|45: 'agi_extension' => 's'
UpdateAutoDial.php|45: 'agi_priority&...
2005 Sep 22
0
ASTCC error when using silent=5
...gt;> 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: xxxxxxx
AGI Tx >> agi_rdnis: unknown
AGI Tx >> agi_context: stfc
AGI Tx >> agi_extension: xxxxxxx
AGI Tx >> agi_priority: 2
AGI Tx >> agi_enhanced: 0.0
AGI Tx >> agi_accountcode:
AGI Tx >>
AGI Rx << ANSWER
AGI Tx >> 200 result=0
-- AGI Scri...