Displaying 20 results from an estimated 46 matches for "agi_accountcode".
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 have any choice, you already made it before you came here.
2006 May 15
1
GET DATA and STREAM FILE commands, don´t work
...allingani2: 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 ""
-- Playing '/var/lib/asterisk/sounds/demo-instruct' (language 'en')
AGI Rx <<
AGI Tx >> 510 Invalid or unknown command
AGI Rx << HANGUP
AGI Tx >> 200 result=1
AG...
2007 Sep 15
2
AGI/PHP: missing arguments
...GI(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
correctly on a different machine...
any suggestions highly appreciated, thx!
regards,
michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digiu...
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 --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/aster...
2010 Nov 20
0
AGI CDR Update (with set variable) problem.
...rect.
Here is the php script output and cdr output of the calls.
No answer:
aftercall.php: [agi_context] => DLPN_WorldcallDial
aftercall.php: [agi_extension] => h
aftercall.php: [agi_priority] => 2
aftercall.php: [agi_enhanced] => 0.0
aftercall.php: [agi_accountcode] =>
aftercall.php: [agi_threadid] => 139906110289680
aftercall.php: >code<: 200
aftercall.php: >result<: 1
aftercall.php: >data<:
aftercall.php: >code<: 200
aftercall.php: >result<: 1
aftercall.php: >data<: 0.04830
aftercall.php: >>...
2006 Dec 12
1
AGI problema
...>
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>
AGI Tx >> <br>
AGI Rx << exec dial "sip/go2call/551236337388|60|TtS(3600)"<br>
-- AGI Script Executing Application: (dial) Options:
(sip/go2call/551236337388|60|TtS(3600))<br>
-- Settin...
2008 Jan 27
1
[AGI 1.4] C sample?
...lingani2: 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 fallthrough, channel 'SIP/2000-0904bee0' status is 'UNKNOWN'
===========
If someone has a very basic example in C that shows how to read the
CID #, and rewrite the CID name, I'm interested.
Thank...
2008 Mar 24
2
Getting Exec Format Error when running AGI call
...ingani2: 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/agi-bin/sample.agi':
Exec format error" 2
== sample.agi: Failed to execute '/var/lib/asterisk/agi-bin/sample.agi':
Exec format error
AGI Tx >> 200 result=1
-- AGI Script sample.agi...
2011 Feb 22
1
[1.4.39.1/AGI] ast_carefulwrite: write() returned error: Broken pipe
...ngani2: 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 >> 200 result=0
AGI Rx << NOOP agi_channel: DAHDI/1-1
AGI Tx >> 200 result=0
[Feb 22 10:33:30] ERROR[5444]: utils.c:967 ast_carefulwrite: write()
returned error: Broken pipe
AGI Rx << NOOP agi_langua...
2012 Jan 12
1
how to set callerid in php AGI file.
...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: 0.0
<SIP/2209-000026d3>AGI Tx >> agi_accountcode:
<SIP/2209-000026d3>AGI Tx >> agi_threadid: 1386719552
<SIP/2209-000026d3>AGI Tx >>
<SIP/2209-000026d3>AGI Rx << ANSWER
<SIP/2209-000026d3>AGI Tx >> 200 result=0
<SIP/2209-000026d3>AGI Rx << VERBOSE
"----------------------------------...
2011 Feb 24
1
missing argument on AGI
...ingtns: 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 >>
21:47:10]AGI Rx << EXEC Noop
21:47:10] -- AGI Script Executing Application: (Noop) Options:
((null)) <== THIS SHOULD DISPLAY THE ARGUMENT
21:47:10]AGI Tx >> 200 result=0
21:47:11]AGI Rx << EXEC Set CALLERID(num)=
21:47:11] -- AGI Script Execut...
2005 Jun 11
1
AreskiCC Calling Problem
...nis' => 'unknown'
areskicc2.php: 'agi_context' => 'default'
areskicc2.php: 'agi_extension' => '011905'
areskicc2.php: 'agi_priority' => '3'
areskicc2.php: 'agi_enhanced' => '0.0'
areskicc2.php: 'agi_accountcode' => ''
areskicc2.php:
areskicc2.php: >> ANSWER
areskicc2.php: string(48) "1001 ; SIP/1001-d6fb ; 1118521907.13 ; ; 011905"n
areskicc2.php: string(26) "Requesting DTMF ::> Len-10"n
areskicc2.php: >> GET DATA prepaid-enter-pin-number 10000...
2005 Oct 06
1
Fwd: ASTCC - INUSE Flag
...I 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 >> 200 result=0
AGI Rx << STREAM FILE astcc-tone 0123456789
AGI Tx >> 200 result=0 endpos=11200
AGI Rx << STREAM FILE astcc-youhave 0123456789
AGI Tx >> 200 result=0 endpos=9920
AGI Rx << SAY NUMBER...
2011 Feb 24
2
[1.4] Still can't get it to call back
...ngani2: 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 >> 200 result=0
AGI Rx << NOOP agi_channel: Zap/1-1
AGI Tx >> 200 result=0
AGI Rx << NOOP agi_language: en
AGI Tx >> 200 result=0
AGI Rx << NOOP agi_type: Zap
AGI Tx >> 200 result=...
2005 Jun 03
1
ARESKICC DOESN'T make a CALL!!!
...#39; => 'unknown'
areskicc2.php: 'agi_context' => 'default'
areskicc2.php: 'agi_extension' => '0290785472'
areskicc2.php: 'agi_priority' => '3'
areskicc2.php: 'agi_enhanced' => '0.0'
areskicc2.php: 'agi_accountcode' => '7898389079'
areskicc2.php:
areskicc2.php: >> ANSWER
areskicc2.php: string(82) ""firefly1" <0> ; IAX2/firefly1@firefly1/3 ;
1117858211.0 ; 7898389079 ; 0290785472"n
areskicc2.php: string(95) "SELECT credit, tariff, activated, inuse,...
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
...ng 80 bytes response from Asterisk...
Received response: agi_extension: s
Reading 80 bytes response from Asterisk...
Received response: agi_priority: 4
Reading 80 bytes response from Asterisk...
Received response: agi_enhanced: 0.0
Reading 80 bytes response from Asterisk...
Received response: agi_accountcode:
Reading 80 bytes response from Asterisk...
Received response:
Sending string SAY NUMBER 55 ""\n to Asterisk...
Wroten bytes to STDOUT: 17
Reading 80 bytes response from Asterisk...
Received response:
Sending string SAY NUMBER 66 ""\n to Asterisk...
Wroten bytes to STDOUT:...
2004 Sep 15
0
AGI didn't get var from Asterisk?
...'agi_context' => 'autodial-agent'
UpdateAutoDial.php|45: 'agi_extension' => 's'
UpdateAutoDial.php|45: 'agi_priority' => '3'
UpdateAutoDial.php|45: 'agi_enhanced' => '0.0'
UpdateAutoDial.php|45: 'agi_accountcode' => ''
UpdateAutoDial.php|45: ';dig' => '/usr/bin/dig'
UpdateAutoDial.php|45: 'debug' => 'true'
UpdateAutoDial.php|45: >> GET VARIABLE ADBID
UpdateAutoDial.php|45: >> SET VARIABLE Adbid1
UpdateAutoDial.ph...
2005 Jan 19
0
AGI crash on 1.0.2 on Wait ...
Hi all, I have a very simple AGI program in Java, but it "sometimes"
hangup before the whole process is completed. Looking at the
/var/log/asterisk/full, I found the following:
AGI Tx >> agi_enhanced: 0.0
AGI Tx >> agi_accountcode:
AGI Tx >>
AGI Rx << STREAM FILE beep ""
Jan 20 07:32:30 WARNING[-169026640]: Wait failed (No such file or
directory)
Jan 20 07:32:30 VERBOSE[-169026640]: AGI Tx >> 200 result=-1 endpos=2880
Jan 20 07:32:30 VERBOSE[-169026640]: AGI Tx >> 200 result=-1 endpos=2880...
2005 Sep 22
0
ASTCC error when using silent=5
...ani2: 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 Script astcc.agi completed, returning 0
-- Executing Hangup("SIP/yyyyyyy-a9da", "")
== Spawn extension (stfc, xxxxxxx, 3) exited non-zero on
'SIP/yyyyyyy-a9da'...