I am using this 'ring back' setting, and it is working great, the caller hearing the voice that I set there, but sorry I dont understand is it related to MOH also?Did you try changing it here?
View attachment 1991
Thanks a lot for advise, I will try to figure out this.Ring groups don't have a way to set MOH normally since that isn't really a needed function of a *Ring*group. Ring groups simply send a call to multiple phones in the prescribed manner.
As mentioned, you can change the ringback sound to a MOH source instead of the default ringing sound a caller hears.
To customize when a certain MOH source is used, you would need to build a dial plan to test the condition you want to match and then set MOH to the stream you want. Set hold_music=local_stream://my.domain.com/CustomMOH as needed.
When you set the Hold Music in the destination does it actually change the XML in associated "inbound route"?Thanks a lot for advise, I will try to figure out this.
One thing that I noted, is that in "Destination" there is one setting, I set my message there, but it didnt change anything, not sure what doing this setting there.
View attachment 1994
cd75eb81-a71e-4199-9cdf-3e90e348cc02 2021-01-19 16:11:23.554744 [DEBUG] switch_ivr.c:632 sofia/external/anonymous@anonymous.invalid Command Execute [depth=0] playback(local_stream://default)
cd75eb81-a71e-4199-9cdf-3e90e348cc02 EXECUTE [depth=0] sofia/external/anonymous@anonymous.invalid playback(local_stream://default)
2021-01-19 16:11:23.554744 [DEBUG] mod_local_stream.c:909 Opening Stream [default/8000] 8000hz
cd75eb81-a71e-4199-9cdf-3e90e348cc02 2021-01-19 16:11:23.554744 [DEBUG] switch_ivr_play_say.c:1488 Codec Activated L16@8000hz 1 channels 20ms
7e069629-f5b6-41dd-b36e-9219c2cd439a 2021-01-19 16:09:52.914720 [DEBUG] switch_channel.c:1927 (sofia/internal/20@192.168.29.45:11868) Callstate Change ACTIVE -> HELD
d8c085f8-2e75-4db9-a6b4-dc42337bcf1f 2021-01-19 16:09:53.074722 [DEBUG] switch_ivr.c:632 sofia/external/anonymous@anonymous.invalid Command Execute [depth=0] playback(/var/lib/freeswitch/recordings/vo****.nt/2a_*****.wav)
d8c085f8-2e75-4db9-a6b4-dc42337bcf1f EXECUTE [depth=0] sofia/external/anonymous@anonymous.invalid playback(/var/lib/freeswitch/recordings/voi*****nt/2a_-*****.wav)
d8c085f8-2e75-4db9-a6b4-dc42337bcf1f 2021-01-19 16:09:53.095014 [DEBUG] switch_ivr_play_say.c:1488 Codec Activated L16@8000hz 1 channels 20ms
That hold_music in your inbound route isn't valid. It should show as a local_stream or shout URL
hold_music=local_stream://MessageOnHold for example.
Also check more of your logs or CDR details to follow the dial plan progress. It will show where/when hold music is set or reset before bridging the call.