Created
May 8, 2016 15:48
-
-
Save marcelog/b22941edc5ec93ca23393d023b7edfdd to your computer and use it in GitHub Desktop.
Part of: http://marcelog.github.io/articles/php_asterisk_agi_protocol_tutorial.html Log of a sample communication between Asterisk and a shell script by using the Asterisk Gateway Interface
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
------------ call start ------------ | |
channel variable: config dir = /export/users/marcelog/config/asterisk | |
channel variable: configfile = /export/users/marcelog/config/asterisk/asterisk.conf | |
channel variable: module dir = /usr/lib/asterisk/modules | |
channel variable: spool dir = /tmp/marcelog/asterisk/spool | |
channel variable: monitor dir = /tmp/marcelog/asterisk/spool/monitor | |
channel variable: var dir = /tmp/marcelog/asterisk | |
channel variable: data dir = /tmp/marcelog/asterisk | |
channel variable: log dir = /tmp/marcelog/asterisk/logs | |
channel variable: agi dir = /tmp/marcelog/asterisk/agi-bin | |
channel variable: key dir = /tmp/marcelog/asterisk/keys | |
channel variable: run dir = /tmp/marcelog/asterisk | |
agi_request: /tmp/agi.sh | |
agi_channel: SIP/marcelog-e00d2760 | |
agi_language: ar | |
agi_type: SIP | |
agi_uniqueid: 1297542965.8 | |
agi_version: 1.6.0.9 | |
agi_callerid: marcelog | |
agi_calleridname: marcelog@mg | |
agi_callingpres: 0 | |
agi_callingani2: 0 | |
agi_callington: 0 | |
agi_callingtns: 0 | |
agi_dnid: 667 | |
agi_rdnis: unknown | |
agi_context: default | |
agi_extension: 667 | |
agi_priority: 2 | |
agi_enhanced: 0.0 | |
agi_accountcode: | |
agi_threadid: 1104922960 | |
agi_arg_1: arg1 | |
agi_arg_2: arg2 | |
agi_arg_3: arg3 | |
Sending: ANSWER | |
Got: 200 result=0 | |
Sending: VERBOSE "Hello There" | |
Got: 200 result=1 | |
Sending: STREAM FILE welcome # | |
Sending: VERBOSE "Call ended abruptly" | |
Got: 00 result=-1 endpos=3840 | |
Sending: SET VARIABLE AGISTATUS SUCCESS | |
Got: 200 result=1 | |
Sending: HANGUP 16 | |
Got: 200 result=1 | |
------------ call done ------------ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment