search for: agi_extension

Displaying 20 results from an estimated 56 matches for "agi_extension".

2009 Apr 23
3
AGI PHP script
...$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 answeringserv.com "; $subject="...
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...
2006 May 15
1
GET DATA and STREAM FILE commands, don´t work
...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 "" -- Playing '/var/lib/asterisk/sounds/demo-instruct' (language 'en') AGI Rx <&l...
2009 May 04
3
AGI PHP
...$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 Answer"; $Q5 = "Did Not Answe...
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... UR...
2014 Jul 18
0
Transfer call question
...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 AGI: /pbx/agi.php: [agi_channel] => PJSIP/10000-00000013 /pbx/agi.php: [agi_callerid] => 89264959635 /pbx/agi.php:...
2010 Nov 20
0
AGI CDR Update (with set variable) problem.
...rty picks up the phone, and makes the call, even at debug of php, i can see all the data correctly, it doesnt update the cdr fileds correct. 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&l...
2006 Jan 27
0
pb with callerid
...i-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' test.php: FIN -- AGI Script test.php completed, returning 0 -- Exec...
2009 May 20
1
Queue and Dial operation - Common Variables?
...hat segment is not shown above. agi_qdial.sh *declare -a array while read -e ARG && [ "$ARG" ] ; do array=(` echo $ARG | sed -e 's/://'`) echo ${array[0]} = ${array[1]} >>$LOG_FILE export ${array[0]}=${array[1]} done echo "EXEC Dial SIP/$agi_extension 20 tTo" *Any hint on this?? Regards, Kurian Thayil. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090520/5ba2b86e/attachment.htm
2006 Dec 12
1
AGI problema
...<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> AGI Tx >> <br> AGI Rx << exec dial "sip/go2call/551236337388|60|TtS(3600)"<br> &nbsp;&nbsp;&nbsp; --...
2008 Jan 27
1
[AGI 1.4] C sample?
...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 fallthrough, channel 'SIP/2000-0904bee0' status is 'UNKNOWN' =========== If someone has a very b...
2008 Mar 24
2
Getting Exec Format Error when running AGI call
...00 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/agi-bin/sample.agi': Exec format error" 2 == sample.agi: Failed to execute '/var/lib/asteris...
2011 Feb 22
1
[1.4.39.1/AGI] ast_carefulwrite: write() returned error: Broken pipe
...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 >> 200 result=0 AGI Rx << NOOP agi_channel: DAHDI/1-1 AGI Tx >> 200 result=0 [Feb 22 10:33:30] ERROR[544...
2012 Jan 12
1
how to set callerid in php AGI file.
...gt; 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: 0.0 <SIP/2209-000026d3>AGI Tx >> agi_accountcode: <SIP/2209-000026d3>AGI Tx >> agi_threadid: 1386719552 <SIP/2209-000026d3>AGI Tx >> <SIP/2209-...
2011 Feb 24
1
missing argument on AGI
...es: 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 >> 21:47:10]AGI Rx << EXEC Noop 21:47:10] -- AGI Script Executing Application: (Noop) Options: ((null)) <== THIS SHOULD DISPLAY THE A...
2005 Jun 11
1
AreskiCC Calling Problem
..._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_enhanced' => '0.0' areskicc2.php: 'agi_accountcode' => '' areskicc2.php: areskicc2.php: >> ANSWER areskicc2.php: string(48) "1001 ; SI...
2005 Oct 06
1
Fwd: ASTCC - INUSE Flag
...;> 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 >> 200 result=0 AGI Rx << STREAM FILE astcc-tone 0123456789 AGI Tx >> 200 result=0 endpos=11200 AGI Rx <&...
2011 Feb 24
2
[1.4] Still can't get it to call back
...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 >> 200 result=0 AGI Rx << NOOP agi_channel: Zap/1-1 AGI Tx >> 200 result=0 AGI Rx << NOOP agi_lan...
2009 Jan 16
0
No subject
...$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 answeringserv.com "; $subject="New...
2005 Jun 03
1
ARESKICC DOESN'T make a CALL!!!
...39; 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: 'agi_enhanced' => '0.0' areskicc2.php: 'agi_accountcode' => '7898389079' areskicc2.php: areskicc2.php: >> ANSWER areskicc2.php: string(82) &...