twilio / twilio-voice-react-native

Other
74 stars 29 forks source link

iOS no ringback sound when making a call #172

Closed omerts closed 1 year ago

omerts commented 1 year ago

Hello,

When making a call in iOS, there is no ringback (the sound the caller hears while waiting for an answer) sound, but once the other side answers you can hear fine.

omerts commented 1 year ago

Finally found the undocumented solution.

For iOS you have to put a file named ringtone.wav under the main project. For Android, there is a default ringtone, but you can change it by putting a file named ringtone.wav under: http://android/app/src/main/res/raw/.

Trying to change the ringtone using TwiML has not effect.

This needs to really be added to the documentation. @bobiechen-twilio

mhuynh5757 commented 1 year ago

Hi @omerts, thanks for bringing this one up and providing a workaround. We've filed an internal ticket to improve the documentation around this.