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

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

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



Parameters

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

  • No labels