Ring Group Custom Ringback

Status
Not open for further replies.

ChrisLab

Member
Aug 9, 2023
32
2
8
38
Hi All.

I've got a problem where setting a custom ringback for incoming calls doesn't work.
I setup a ring group, with extensions, and set the custom ringback file(WAV 16bit 8000Hz mono).

If I dial the ring group from an extension, the custom ringback works as expected.
If i dial in from outside, I get normal ringback.

Also tried setting it under greeting. Works fine when phoning internally, but not from outside.

Any ideas?
 

mcs3ss2

Active Member
Sep 8, 2020
286
33
28
AU
Working for me
in Ring group > Ring Back > Choose desired ring back
I have uploaded in wav file Music on Hold and selected in Ring group > Ring Back > Choose desired ring back
 

ChrisLab

Member
Aug 9, 2023
32
2
8
38
Hi. Did exactly the same, even tried the provided ring backs, au-ring, be-ring.... It works when phoning from extension to ring group, but not when phoning from outside. Don't see any errors on fs_cli.
 

mcs3ss2

Active Member
Sep 8, 2020
286
33
28
AU
Hopefully someone else can shed some more light on the issue, works for me.
Convert the file to required bitRate and format using audacity
 

glennbtn

Member
Aug 7, 2018
72
3
8
53
We use Yealinks and set the distinctive ring in the ring group which has a field and use http://www.notused.com;info=ringer1 and then provision in the handset


account.1.alert_info_url_enable = 4
phone_setting.ring_type = Ring4.wav
 

pbxgeek

Active Member
Jan 19, 2021
183
64
28
37
if there is an issue with playing the file, you will see it in the fs_cli. When Freeswtch can't play a file for whatever reason it defaults to the default MOH. Fs_cli will hopefully show you the error and guide you in the right direction.
 

ChrisLab

Member
Aug 9, 2023
32
2
8
38
Hi, Thanks for the feedback.
I've seen fs_cli complain about files when they're not the correct format, but for this file(16bit 8000hz.wav), whether i dial the ring group from an extensions, or I dial from outside and hit the ring group, the feedback from fs_cli is the same as below.
Only difference is, when I dial from extension it works, but not when phoning in??
Code:
2024-07-30 10:20:38.807448 95.70% [DEBUG] switch_ivr_originate.c:1359 Raw Codec Activation Success L16@8000hz 1 channel 20ms
2024-07-30 10:20:38.807448 95.70% [DEBUG] switch_core_codec.c:229 sofia/external/telephonenr@provider Push codec L16:100
2024-07-30 10:20:38.807448 95.70% [DEBUG] switch_ivr_originate.c:1391 Play Ringback File [/var/lib/freeswitch/recordings/domain/16b_8.wav]
2024-07-30 10:20:38.827424 95.70% [DEBUG] sofia.c:7493 Channel sofia/external/telephonenr@provider entering state [early][183]
 

pbxgeek

Active Member
Jan 19, 2021
183
64
28
37
If you share the file, I'll test it on my server and see if I get a different result.
 

ChrisLab

Member
Aug 9, 2023
32
2
8
38
I would love to share the file, but I know the client paid for this audio, and not sure if I've got the rights to share it publicly...
The thing is, even if I try the available ring backs, like au-ring, be-ring, bong-ring, I get the same results. It will only play the custom ring back when phoning internally.
 

pbxgeek

Active Member
Jan 19, 2021
183
64
28
37
I tested a recording on my server. It plays fine in both cases. I'm on a slightly modified FusionPBX 5.1 and Freeswitch 10.11
 
Status
Not open for further replies.