Displaying 20 results from an estimated 58 matches for "agi_callerid".
2012 Jan 12
1
how to set callerid in php AGI file.
..._limit(30);
//require(.phpagi.php.);
include("phpagi.php");
$agi = new AGI();
//answer the call
$agi-> answer();
$agi->verbose("------------------------------------------");
$agi-> exec('Set',"CALLERID(num)=01133200274");
$ani = $agi->request['agi_callerid'];
$agi->noop("My CalleID: <<<<<<<=".$ani);
$agi->set_variable("CALLERID(num)","01133200274");
$ani = $agi->request['agi_callerid'];
$agi->noop("My CalleID: <<<<<<<=".$ani);
$agi-> exec(...
2009 Apr 23
3
AGI PHP script
...array();
while (!feof(STDIN)) {
$agivar = trim(fgets(STDIN));
if ($agivar === '') {
break;
}
$agivar = explode(':', $agivar);
$agivars[$agivar[0]] = trim($agivar[1]);
}
extract($agivars);
// Variable Declarations
$agi_uniqueid;
$agi_callerid;
$agi_calleridname;
$agi_extension;
$agi_uniqueid;
$UNIQUEID = $agi_uniqueid;
$CALLERID = $agi_callerid;
$EXTEN = $agi_extension;
$attachment =
"/var/lib/asterisk/sounds/NewHire/Newhire-$UNIQUEID-$CALLERID-$EXTEN.wav
";
$from = "... at xxx.com";
$to ="jas at answe...
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 d...
2006 May 15
1
GET DATA and STREAM FILE commands, don´t work
...t;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: 2100
AGI Tx >> agi_rdnis: unknown
AGI Tx >> agi_context: test
AGI T...
2007 Sep 15
2
AGI/PHP: missing arguments
...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
correctly on a diffe...
2009 May 04
3
AGI PHP
...array();
while (!feof(STDIN)) {
$agivar = trim(fgets(STDIN));
if ($agivar === '') {
break;
}
$agivar = explode(':', $agivar);
$agivars[$agivar[0]] = trim($agivar[1]);
}
extract($agivars);
// Variable Declarations
$agi_uniqueid;
$agi_callerid;
$agi_calleridname;
$agi_extension;
$agi_uniqueid;
$UNIQUEID = $agi_uniqueid;
$CALLERID = $agi_callerid;
$CallerName = $agi_calleridname;
$EXTEN = $agi_extension;
$Q1 = "Did Not Answer";
$Q2 = "Did Not Answer";
$Q3 = "Did Not Answer";
$Q4 = "Did Not Ans...
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 -------...
2010 Aug 11
2
channel variables in AGI
Hello,
How to take the values of channel variables like 'agi_uniqueid' and
'agi_callerid' in agi script.
For example
#!/bin/bash -x
T="$agi_uniqueid"
I want to save value of 'agi_uniqueid' channel variable into a variable
called 'T' in my script
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/piperm...
2014 Jul 18
0
Transfer call question
Hello guys,
I have trunk ?10000", Internal num ?99" and MeetMe ?1010"
now I calling 99 -> 89264959635 via 10000
/pbx/agi.php: [agi_channel] => PJSIP/99-00000012
/pbx/agi.php: [agi_callerid] => 99
/pbx/agi.php: [agi_calleridname] => 99
/pbx/agi.php: [agi_context] => dialmap
/pbx/agi.php: [agi_extension] => 89264959635
then I would like to direct transfer this call to 1010
and when I do that from my phone I getting this agi_request in...
2006 Jan 27
0
pb with callerid
...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: (SetGlobalVar) Options:
(NOM_CLIENT=DSOFT...
2006 Dec 12
1
AGI problema
...cal/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>
AGI Tx >> agi_callingtns: 0<br>
AGI Tx >> agi_dnid: 01236337388<br>
AG...
2008 Jan 27
1
[AGI 1.4] C sample?
...") 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 >> agi_rdnis: unknown
AGI Tx >> agi_context: inside
AGI Tx >>...
2008 Mar 24
2
Getting Exec Format Error when running AGI call
...e.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 >> agi_rdnis: unknown
AGI Tx >> agi_context: my-phones
AGI Tx >&...
2011 Feb 22
1
[1.4.39.1/AGI] ast_carefulwrite: write() returned error: Broken pipe
..."/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: unknown
AGI Tx >> agi_rdnis: unknown
AGI Tx >> agi_context: from_fxo...
2011 Feb 24
1
missing argument on AGI
.../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 Tx >> agi_callingtns: 0
21:47:10]AGI Tx >> agi_dnid: unknown
21:47:10]AGI Tx >&g...
2005 Jun 11
1
AreskiCC Calling Problem
...have ten $ , right after that it says sorry you
dont have enough funds for this call and hangs up. i see this in cli
help me out please guys , thanks a lot!!
regards
~junjun
------------------------------------------
CLI LOG START
------------------------------------------
areskicc2.php: 'agi_callerid' => '1001'
areskicc2.php: 'agi_calleridname' => 'Junaid Uppal'
areskicc2.php: 'agi_callingpres' => '0'
areskicc2.php: 'agi_callingani2' => '0'
areskicc2.php: 'agi_callington' => '0'
areskicc2.php: &...
2005 Oct 06
1
Fwd: ASTCC - INUSE Flag
...XXXXXX|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: XXXXXXXXXXX
AGI Tx >> agi_rdnis: unknown
AGI Tx >> agi_context: int...
2011 Feb 24
2
[1.4] Still can't get it to call back
.../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: unknown
AGI Tx >> agi_rdnis: unknown
AGI Tx >> agi_context: from_fxo
AGI...
2009 Jan 16
0
No subject
...array();
while (!feof(STDIN)) {
$agivar = trim(fgets(STDIN));
if ($agivar === '') {
break;
}
$agivar = explode(':', $agivar);
$agivars[$agivar[0]] = trim($agivar[1]);
}
extract($agivars);
// Variable Declarations
$agi_uniqueid;
$agi_callerid;
$agi_calleridname;
$agi_extension;
$agi_uniqueid;
$UNIQUEID = $agi_uniqueid;
$CALLERID = $agi_callerid;
$EXTEN = $agi_extension;
$attachment =
"/var/lib/asterisk/sounds/NewHire/Newhire-$UNIQUEID-$CALLERID-$EXTEN.wav";
$from = ". at xxx.com";
$to ="jas at answerin...
2005 Jun 03
1
ARESKICC DOESN'T make a CALL!!!
...cc2.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' => 'unknown'
areskicc2.php: 'agi_context' => 'default'
areskicc2.php: 'agi_extension' => '02907854...