<record>
Role: gives an option to record the message.
Use: The use of <record> is to prompt the user for recording their voice message.
Number not answered – Say when the number that caller has dialed in is unanswered, then the system will prompt them to leave a voicemail.
Attributes
Attribute | Value | Default |
Action | callback URL | None |
Method | Post | None |
fileID | VARCHAR | UUID(Universal Unique Identifier) |
maxlength (Seconds) | Integer | 180 seconds |
confirmrecording | 0 or 1 | 0 |
If action URL is passed, we will send the recording information in the response to the Callback URL. The recording will be stored on our server and we will provide the link (recordingurl).
“RecordingUrl=”..recordingurl..”&callid=”..UUID..”dialednumber=”..DIALED_NUMBER..”&callerid=”..caller_id_number..”&callername=”..caller_id_name.
Example Code to prompt user to record their message:
Once the message has been recorded it will be played back to the user.
Special record attribute “confirmrecording” give the caller an option to listen to the recording and if they want they can re-record the message.
Last updated