View one call

Request:

GET /api/v2/calls/<call-id>.json

Response is a JSON formatted object with call metadata:

{
  "call": {
     "call_id":          "e03f497d-bdff-1019-102d-68be3896f081",
     "parent_call_id":   "",
     "is_conference",    false,
     "recorder_id":      "27a7086c-f5c2-11e4-8cc5-e03f497dbdff",
     "protocol_call_id": "12345678-098765-765431",

     "call_state":       6,
     "on_demand_state":  0,
     "record_state":     30,
     "voip_protocol":    0,

     "setup_time":       "2013-10-12T16:32:22-0800"
     "connect_time":     "2013-10-12T16:32:22-0800"
     "disconnect_time":  "2013-10-12T16:38:56-0800",

     "from_ip":          "192.168.0.10",
     "from_port":        5060,
     "from_mac":         "11-22-33-44-55-66",
     "from_number":      "102",
     "from_name":        "User1",
     "from_id":          "102@192.168.0.10",

     "to_ip":            "192.168.0.5",
     "to_port":          5060,
     "to_mac":           "22-33-44-55-66-77",
     "to_number":        "101",
     "to_name":          "",
     "to_id":            "101@192.168.0.5",

     "redirected_from_number":  "",
     "redirected_from_name":    "",
     "redirected_from_id":      "",
     "redirected_to_number":    "",
     "redirected_to_name":      "",
     "redirected_to_id":        "",

     "broadworks_sp_id":     "",
     "broadworks_group_id":  "",
     "broadworks_user_id":   "",
     
     "cisco_nearend_guid":    "",
     "cisco_farend_guid":     "",

     "files": [{
        "file_id": "01",
        "start_time": "2013-10-12T16:32:22-0800",
        "stop_time": "2013-10-12T16:38:56-0800",
        "file_size": 132000,
        "file_path": "C:\Recordings\20131012\20131012163222-534346ad00000003.mp3",
        "encrypt_key": "",
        "encrypt_tag": ""
     }],

     "participants": [{
        "participant_id": "01",
        "join_time": "2013-10-12T16:32:22-0800",
        "leave_time": "2013-10-12T16:38:56-0800",
        "user_id": "546340bf-7b47-11e4-85a4-e03f497dbdff",
        "party_direction": 1,
        "party_type": 0,
        "party_number": "102",
        "party_name": "User1",
        "party_caller_id": "102@192.168.0.10"
     }, {
        "participant_id": "02",
        "join_time": "2013-10-12T16:32:22-0800",
        "leave_time": "2013-10-12T16:38:56-0800",
        "user_id": "",
        "party_direction": 2,
        "party_type": 0,
        "party_number": "101",
        "party_name": "",
        "party_caller_id": "101@192.168.0.10"
     }]
  }
}