question

callinize-admin avatar image
callinize-admin asked ·

Call Recording URL - Does call have to be completed first?

We have a CRM Call Logging app and want to include the url of the call recording as one of the things we log.  From reading through the docs, I see this can be obtained using the 

/restapi/v1.0/account/{accountId}/extension/{extensionId}/call-log/{callRecordId}

It seems that the callRecordId needed for this url is different then the sessionId we receive in the presence events.  Is their a different api method to go by sessionId or will i need to use 

/restapi/v1.0/account/{accountId}/extension/{extensionId}/call-log  with ?dateFrom=###&phoneNumber=###

Second, when does the recording url become available?  Is it immediately upon start of call or at the end of the call.  Note: I'm just talking about the url not the actual audio file.  
For technical reasons with how our app works it'd be much easier if we could get the recording url when the call begins.  It would allow us to get the url asynchronously and our call event processing loop.




topic-default
1 |1000 characters needed characters left characters exceeded

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

1 Answer

· Write an Answer
benjamin-dean avatar image
benjamin-dean answered ·
For your first question, correct and that is the only sessionId.

For the second question, it takes about 3-5 minutes for the audio file and call-log entry to be available.

You won't be able to receive the call recording ID when the call begins with our current API, but I will share this with the API PM for consideration.
Share
1 |1000 characters needed characters left characters exceeded

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.