TANDBERG GW Dataport Command Interface D13202 User Manual
Page 22

TANDBERG GW
Dataport Command Interface User Guide
D13202 Rev 01
22
4.2.3. System Status Commands
Command: Description:
callhistory
Used to list call related information for the last 20 calls.
callhistory [logid]
Status format:
callhistory
Parameters:
•
logid: 1..20. Id referring to a disconnected call. The last disconnected call
will have id 1.
•
logtag: Unique number identifying the disconnected call.
•
gwlogtag: Unique number identifying a GW call.
•
remote numb: The remote sites ISDN number.
•
call-dir: incoming/outgoing.
•
chan: speech / h323-voip / h221-
where chan indicates number of B channels.
•
causecode: Standard ISDN cause code. The cause codes can be used to
find out why the call was disconnected (255 if no valid code).
•
time: Total calltime in seconds.
•
inc. restrict: restrict / norestrict. Indicates if the incoming call was
restricted. Restricted calls only utilize 56kb out of an ISDN 64kb channel.
•
outg. restrict: restrict / norestrict. Indicates if the outgoing call was
restricted.
•
inc. encrypt. stat: off/idle/des/aes128/negotiate. Indicates incoming
encryption status.
•
outg. encrypt. stat: off/idle/des/aes128/negotiate. Indicates outgoing
encryption status.
•
gwcallid: 1..16
Example of callhistory feedback:
*S callhistory 1 42 1 6090 outgoing bonding-2b 16 39Sec norestrict norestrict off
off 1
callstatus
Returns status of current calls.
callstatus [callid]
Status format:
callstatus
Parameters:
•
callid: 1..16/32. Identifier referring to a call.
•
direction: incoming/outgoing.
•
type: idle / speech / h323-voip / h221 / H0 / bonding
•
status: idle / answering / calling / connected / disconnecting /
disconnected
•
cause: Standard ISDN cause code. The cause codes can be used to find
out why the call was disconnected (255 if no valid code).
•
time: connect time in seconds.
Example of callstatus feedback:
*S callstatus 1 outgoing bonding connected 255 2446Sec