• Home
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Post an idea
  • Spaces
  • General
  • News & Announcements
  • Ideas
  • RingCentral Office
    • Getting Started
    • Authentication
    • App Graduation
    • API Betas & Developer Previews
    • REST API
      • Call Management API
      • Glip API
      • Meetings API
      • Messaging API (SMS, Fax, Voicemail)
      • Provisioning API
      • Voice and Telephony API
    • Environment (Sandbox, Gateway)
    • SDKs
    • Admin & Credentials
  • RingCentral Engage
    • Getting Started
    • REST API
      • Interactions API
      • Provisioning API
      • Routing API
  • Jobs/Requests for Help
  • Explore
  • Topics
  • Questions
  • Articles
  • Ideas
  • Users
  • Badges
Skip to main content
  • Create
    • Ask a question
    • Create an article
    • Post an idea
    • General
    • News & Announcements
    • Ideas
    • RingCentral Office
      • Getting Started
      • Authentication
      • App Graduation
      • API Betas & Developer Previews
      • REST API
        • Call Management API
        • Glip API
        • Meetings API
        • Messaging API (SMS, Fax, Voicemail)
        • Provisioning API
        • Voice and Telephony API
      • Environment (Sandbox, Gateway)
      • SDKs
      • Admin & Credentials
    • RingCentral Engage
      • Getting Started
      • REST API
        • Interactions API
        • Provisioning API
        • Routing API
    • Jobs/Requests for Help
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges
  • Sign in
  • Home
  • RingCentral Office

question

point-of-rental-software avatar image
point-of-rental-software asked · Jan 24, 2017 at 06:41 PM

call log for ringOutPC or RingOutWeb 2 records

I Call out with Desktop App, there are 2 records return, RingOutPC and Phone Call, how can I know the second record is from ringoutPC or just inbound call? I need to merge 2 record to 1 record to calculate correct duration.
for example: the following records. one for inbound call, other 2 are outbound from PC.


uri id sessionId startTime duration Type Direction Action Result To_Phone To_extensionNumber To_Name To_Location From_Phone From_extensionNumber From_Name From_Location transport lastModifiedTime legs_startTime legs_duration https://platform.ringcentral.com/restapi/v1.0/account/502681018/call-log/aOVzMtGEALUc5Xc?view=Detail... aOVzMtGEALUc5Xc 1268118322019 24-Jan-17 39 Voice Inbound Phone Call Accepted +18177686409 7020 Yanmei Morales   +12143358664   MORALES YANMEI  Grand Prairie (Dallas), TX PSTN 2017-01-24T17:47:54.119Z   0 https://platform.ringcentral.com/restapi/v1.0/account/502681018/call-log/aORllaQIvC_W1q4?view=Detail... aORllaQIvC_W1q4 1268068587019 24-Jan-17 10 Voice Outbound RingOut PC Call connected +18003159339       +12143477228   Yanmei Morales   PSTN 2017-01-24T17:09:52.446Z   0 https://platform.ringcentral.com/restapi/v1.0/account/502681018/call-log/aORlnfepjmES1pk?view=Detail... aORlnfepjmES1pk 1268068593019 24-Jan-17 32 Voice Inbound Phone Call Accepted +18177686409 7020 Yanmei Morales   +18003159339       PSTN 2017-01-24T17:09:53.577Z   0
topic-default
Comment
0
1 |1000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

4 Answers

· Write an Answer
  • Sort by Created Created
  • Sort by Oldest Oldest
  • Sort by Votes Votes
Tyler Liu avatar image
Tyler Liu answered · Jan 25, 2017 at 01:39 AM
I don't quite understand your question. Could you please elaborate more? For example: how/where do you get the 3 records above? Which 2 do you want to merge?
0 · Share
1 |1000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

point-of-rental-software avatar image
point-of-rental-software answered · Jan 31, 2017 at 08:37 PM
for example, I make call through computer, which is RingOut PC, I get 2 record, one for [RingOut PC] to customer Number, second record is [Inbound] from Company MainPhone to My Phone.

if I make call through my ringCentral APP, I only get one Record [OutBound] from myPhone to customerPhone.  
I need only one record from PC Call.
0 · Share
1 |1000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Tyler Liu avatar image
Tyler Liu answered · Feb 01, 2017 at 03:40 AM
Do you mean RingCentral desktop APP for Windows by "PC Call" ?  And do you mean RingCentral iOS APP by "my RingCentral APP" ? Or are you writing your own code to do RingOut?
0 · Share
1 |1000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

vb avatar image
vb answered · Feb 21, 2017 at 11:51 PM
For your answer you could refer back to  https://devcommunity.ringcentral.com/ringcentraldev/topics/need-extensionnumber-returned-in-active-c...    
The detailedView filter for call-log will provide you all information for a particular  call record . This is the api you will need to use  https://platform.ringcentral.com/restapi/v1.0/account/502681018/call-log?sessionId=XXXXXXXX&view=Detailed

0 · Share
1 |1000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

question details

3 People are following this question.

point-of-rental-software follows this question vb follows this question Tyler850957020 follows this question
Answers Subscribe to Answers Answers and Comments Subscribe to Comments and Answers

Related Questions

Detail about Attachment when send MMS with API 2 Answers

Enable Automatic Call Recording on Sandbox 8 Answers

Fax: Faxout API; Add data to each page header 2 Answers

Getting WaitingForActivation while using c# sdk 4 Answers

How can I implement SingleSignOn when connecting to RingCenral using ringcentral-csharp-client SDK? 8 Answers

  • Developer Home
  • ·
  • Community Guidelines
  • ·
  • Legal
  • ·
  • Privacy Notice