We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics

Need information on callrecording feature

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
aravindm
Posts: 14
Joined: Mon Mar 30, 2015 10:40 am

Need information on callrecording feature

Post by aravindm »

1. The callrecording gives audio data in "audio/basic" format. Is there a way to change the settings into other format such as "audio/wav" or mp3 etc.,
2. Is there any API available to pull the callrecording from platform.

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

Re: Need information on callrecording feature

Post by support »

Hi,

The "recordcall" property will only allow for the recording to be made in audio/basic format. However, what we suggest would be to post the recording to your server using the <submit> tag and then you can do the conversion from the raw audio/basic to a audio/x-wav (or whatever format you would like) using a program like SoX, for example.

There is no API to retrieve call recordings. Call recordings are only persistent for the duration of the call, so you would need to post the call recording to a server to be saved permanently, for example, using the submit tag.

Additional details about submitting the file to your web server can be found here:

http://www.plumvoice.com/docs/dev/voice ... recordcall

And details about saving the audio file on your web server can be found here:

http://www.plumvoice.com/docs/dev/devel ... user_input

Regards,
Plum Support

aravindm
Posts: 14
Joined: Mon Mar 30, 2015 10:40 am

Re: Need information on callrecording feature

Post by aravindm »

So, you are saying there is no way to retrieve the call recording data after the call completion (or) any failures occurred while submitting the audio data to my server. Please confirm.

Is there any plans on your side in future to provide API to get the call recordings?

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

Re: Need information on callrecording feature

Post by support »

Hi,

No, we are not saving the call recordings on our end. We record while the call is active and the recordcall property is set, and then what happens with the audio at the conclusion of the recording/call is in the hands of the developer. We will add this as a future feature request, but whether or not this will be implemented is unknown at this time.

Regards,
Plum Support

sightplan
Posts: 17
Joined: Wed Feb 25, 2015 3:47 pm

Re: Need information on callrecording feature

Post by sightplan »

Followup question on the recordcall property:

Can I play back the recorded call within the VXML execution context similar to how the <record> element works? It isn't seeming to work for me, and I thought I'd ask if I am missing something elementary.

WORKS:
<record name="myRec">
..
<filled>
<prompt>
Your recording is <value expr="myRec"/>
</prompt>
</filled>


DOESNT WORK:
<vxml version="2.0">
<var name="callRec"/>
<property name="recordcallappend" value="true"/>
<form id="form1">
<property name="recordcall" value="true"/>
<block>

<prompt>
here is the initial prompt that will be recorded.
</prompt>
<goto next="#form2"/>
</block>
</form>

<form id="form2">
<property name="recordcall" value="false"/>
<block>
<assign name="document.callRec" expr="session.callrecording"/>
<prompt>
You will not hear this message in your recording.
The recording from form 1 is:
<value expr="document.callRec"/>
</prompt>
</block>
</form>
</vxml>

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

Re: Need information on callrecording feature

Post by support »

Hi,

We do not support playback of the callrecording. There is a way to get around this by POSTing the callrecording to a webserver and saving the file. You could then play back the recording by fetching a URL to play the audio that was saved.

Regards,
Plum Support

Post Reply