-
Notifications
You must be signed in to change notification settings - Fork 8
Model Call
Kim Rostgaard Christensen edited this page Feb 5, 2014
·
3 revisions
{ "call" : {
"arrival_time": 1343827055,
"assigned_to" : null,
"b_leg": null,
"call_id": "1343827055.2",
"channel": "ec27a8b2-0e52-11e3-ad89-17d72a43c793",
"inbound" : true,
"organization_id": 2,
"state" : "speaking"
}
}Field definition is as follows:
- arrival_time: The arrival time of the call (Unix time stamp, positive Integer)
- assigned_to: The id of the agent currently handling the call. Can be undefined when the call is in the state (String)
- call_id: The unique call identification (String)
- channel: An identifier for the channel in Freeswitch.
- inbound: Specifies if this is an in- or outbound call. (Boolean)
- organization_id: The ID of the organization in the current context. (Integer)
- state: The state of the current call. Can be "queued", "speaking", "Foo" or "bar" -TODO Not complete-"new"