github.com/grokify/go-ringcentral-client@v0.3.31/office/v1/client/model_active_call_info.go (about) 1 /* 2 * RingCentral Connect Platform API Explorer 3 * 4 * <p>This is a beta interactive API explorer for the RingCentral Connect Platform. To use this service, you will need to have an account with the proper credentials to generate an OAuth2 access token.</p><p><h2>Quick Start</h2></p><ol><li>1) Go to <b>Authentication > /oauth/token</b></li><li>2) Enter <b>app_key, app_secret, username, password</b> fields and then click \"Try it out!\"</li><li>3) Upon success, your access_token is loaded and you can access any form requiring authorization.</li></ol><h2>Links</h2><ul><li><a href=\"https://github.com/ringcentral\" target=\"_blank\">RingCentral SDKs on Github</a></li><li><a href=\"mailto:devsupport@ringcentral.com\">RingCentral Developer Support Email</a></li></ul> 5 * 6 * API version: 1.0 7 * Generated by: OpenAPI Generator (https://openapi-generator.tech) 8 */ 9 10 package ringcentral 11 12 type ActiveCallInfo struct { 13 // Internal identifier of a call 14 Id string `json:"id,omitempty"` 15 // Call direction 16 Direction string `json:"direction,omitempty"` 17 // Phone number or extension number of a caller 18 From string `json:"from,omitempty"` 19 // Phone number or extension number of a callee 20 To string `json:"to,omitempty"` 21 // Telephony call status 22 TelephonyStatus string `json:"telephonyStatus,omitempty"` 23 SipData DetailedCallInfo `json:"sipData,omitempty"` 24 // Internal identifier of a call session 25 SessionId string `json:"sessionId,omitempty"` 26 // Type of call termination. Supported for calls in 'NoCall' status. If the returned termination type is 'intermediate' it means the call is not actually ended, the connection is established on one of the devices 27 TerminationType string `json:"terminationType,omitempty"` 28 }