347 | | === I didn't hear ringing tones when I make a call, why? === #ringtone |
348 | | |
349 | | older pjsip: :: |
350 | | ''pjsua'' does not play any ring tones when the call gets 180/Ringing, since it's just a simple application for demonstration purpose. When you're building your own application, you can add this feature yourself. You can play a ringing tone by using the tone generator as described above (but connecting the tone generator to the sound device instead of to the call), or you can play your own WAV file instead. |
351 | | |
352 | | pjsip version 0.9 and later: :: |
353 | | pjsua now supports generating local ringback tones! |
| 347 | === I didn't hear ringing tones when I make or receive a call, why? === #ringtone |
| 348 | |
| 349 | In general, the library would not play any tones or audio when there is an incoming call or when your outgoing call is answered with 180. You would have to generate it yourself. Sample code is provided in pjsua application. |