13:41:26 BadRequest: i am looking to use a media file (mp3, wav, etc.) instead of tts for conference greeting 13:48:49 btracht: I assume you are using the conference callflow's action for routing calls to the conference. If so, you may try setting the "welcome_prompt.media_id" to the id of your desired media file in Kazoo or a URL to a media file stored somewhere else in a webserver. https://docs.2600hz.com/supported/applications/callflow/doc/conference/ 13:49:35 You need to change this within the callflow that routes to your conference. 13:56:12 BadRequest: i am using the main conference in smart pbx (conference service) 13:59:50 btracht: I see 3 options there for the main conference number: 1) Existing media. 2) New/upload media. 3) TTS. 13:59:56 https://usercontent.irccloud-cdn.com/file/pUOHj5je/image.png 14:01:59 https://usercontent.irccloud-cdn.com/file/9LlqV5kU/image.png 14:20:02 Then, find the callflow_id for the main conference and modify it manually. Something like "GET /callflows/?filter_name=MainConference" (there should be only 1 callflow in the response), grab the "id" from that response and the PATCH it like: PATCH /callflows/{CALLFLOW_ID} -d '{"data": {"flow": {"data": {"welcome_prompt": {"media_id": "{MEDIA_ID_OR_URL}"}}}}}' 14:20:17 Create a backup of the callflow, just in case you need to restore it. 14:20:53 I think it will also be automatically re-created if you delete it, but better to make sure :) 14:23:59 the PATCH plays the custom greeting then the original/default one as well 14:24:23 what would cause me to not have all 3 options in smart pbx 14:45:37 btracht: My fault, I am running a custom version of SmartPBX. 15:55:12 BadRequest: whats your api request to use media file? 15:58:45 I am sorry, it is a custom implementation from someone else, so I cannot give you that information. The information I gave you before should be enough for you to configure the media you want. 15:58:59 Main conference is just a callflow. 16:05:34 the main conference is a callflow that points to the 'conference service' which has a default greeting. adding the welcome_prompt.media_id does not replace the default greeting just plays the defined media id first then still plays the default 16:06:05 is there a way to define the default conf_welcome prompt 16:54:59 btracht: I think you need to disable the welcome prompt from the conference itself. 16:55:46 Something like: PATCH /callflows/{CONFERENCE_ID} -d '{"data": {"play_welcome": false}}' 16:55:50 https://github.com/2600hz/kazoo/blob/4.3.142/applications/crossbar/priv/couchdb/schemas/conferences.json#L178 16:58:59 tried that. doesn't change anything 17:00:28 Although, according to the following, it should not play the default "welcome_prompt" if you define the "welcome_prompt.media_id" within the callflow because it will be collected as "Play-Welcome-Media" and if defined, it will be played, otherwise, it will play default prompt. 17:00:30 https://github.com/2600hz/kazoo/blob/4.3.142/applications/conference/src/conf_discovery_req.erl#L95 17:46:35 apparently mine not working the way it's supposed to 17:47:38 in media api there is a data field "is_prompt": false but i can't figure out to change 18:13:04 i was able to upload a file with "is_prompt": true via api. shows in account prompt db but still not working 18:22:04 so now my question is if there is an account defined prompt, why is it not overriding the system prompt? 18:53:20 Prompt override, if I recall correctly, is disabled by default for performance purposes. 18:54:08 Also, prompt /= media. At least in Kazoo. 18:56:38 If I recall correctly, in some places they interchangeable, which means you can set a prompt or a media_id as the value for the same field, but in most places, you can only set one or the other, depending on the Kazoo entity you are dealing with. 20:23:20 is there any way to manually override the system prompts in account? 20:55:06 I guess you can create a .wav file and then import it via: "sup kazoo_media_maintenance import_prompt {PATH_TO_WAV_FILE}". If you are using a different language than the default "en-us", you need to pass it as the last argument of that command (without quotes). 20:56:44 I think you can find the original file within "/opt/kazoo/sounds/en/us/" folder in case you want to restore it. If not, you can find it within 2600hz/kazoo-sounds repository.