Question

call log for ringOutPC or RingOutWeb 2 records

  • 24 January 2017
  • 4 replies
  • 1431 views

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


4 replies

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?
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.
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?
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

Reply