Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

REST API Method: POST /rest/media?action=uploadmusicfile

This action uploads user's music file to the SBC and further to the DSP cards.

Info

If the action fails, the SBC system will raise an alarm. If the action succeeds, the SBC system will automatically upload the file to the DSP cards.

URL:

https://192.168.0.111/rest/media?action=uploadmusicfile

HTTP Method

POST

Requires Authentication:

true

Noprint
Panel
bgColortransparent
titleBGColor#DDD
title[media - REST API Methods|Resource - media]

Page Tree
root@parent



Parameters

Parameter Name Required Service Affecting Data Type Default Value Possible Values Description
FilenameYesYesstringnone255 - Max LengthIdentifies the name of the MOH file being uploaded to SBC. File needs to be of extension .pcm .pcmu .pcma .wav .g726.