The active-calls API has a type field and the only options are Voice and Fax. I am missing calls that are voIP. Is there a way to retrieve these calls with this API?
active-calls and voIP
Voice is all types of voice call and include VoIP calls. Here is a sample of an active call object of VoIP call
{ uri: ��'https://platform.ringcentral.com/restapi/v1.0/account/80964xxx/extension/59586xxx/call-log/IqYwk92ibFUjzUQ?view=Detailed', id: 'IqYwk92ibFUjzUQ', sessionId: '41888286xxx', startTime: '2020-06-03T17:38:00.000Z', type: 'Voice', direction: 'Inbound', action: 'Phone Call', result: 'In Progress', to: { name: 'Agent 120', phoneNumber: '+1209248xxxx', location: 'Modesto, CA' }, from: { name: 'Me myself', phoneNumber: '+1650513xxx, location: 'San Mateo, CA' }, extension: { uri: 'https://platform.ringcentral.com/restapi/v1.0/account/80964xxxx/extension/59586xxxx', id: 59586xxxx }, telephonySessionId: 's-87d5abccda974e6c9e5923...', legs: [ { startTime: '2020-06-03T17:38:00.000Z', type: 'Voice', direction: 'Inbound', action: 'Phone Call', result: 'In Progress', to: [Object], from: [Object], extension: [Object], telephonySessionId: 's-87d5abccda974e6c9e5923...', legType: 'Accept', master: true }, { startTime: '2020-06-03T17:38:04.000Z', type: 'Voice', direction: 'Outbound', action: 'VoIP Call', result: 'In Progress', to: [Object], from: [Object], extension: [Object], reason: 'Accepted', reasonDescription: 'The call connected to and was accepted by this number.', telephonySessionId: 's-87d5abccda974e6c9e5923...', legType: 'PstnToSip', master: false } ] }
Where were the calls originally placed?
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.