27 | | If you couldn't hear the file played to the speaker, then there's probably something wrong with your speaker. |
| 28 | If you couldn't hear the file played properly to the speaker, then follow the next step. |
| 29 | |
| 30 | [[BR]] |
| 31 | |
| 32 | == If First Check Fails, try Playing the WAV File with playfile sample == |
| 33 | |
| 34 | If the file is '''not''' playing properly with pjsua, then try playing the file with '''{{{playfile}}}''' sample. The {{{playfile}}} sample binary should be put in {{{pjsip-apps/bin/samples}}} directory after the samples project is successfully built. |
| 35 | |
| 36 | To play a WAV file with {{{playfile}}} sample: |
| 37 | {{{ |
| 38 | $ ./playfile THEFILE.WAV |
| 39 | }}} |
| 40 | |
| 41 | The difference between pjsua and playfile program is the lack of conference bridge in playfile. |
| 42 | |
| 43 | |
| 44 | == Troubleshooting == |
| 45 | |
| 46 | === No audio is heard with both pjsua and playfile === |
| 47 | |
| 48 | Probably it's because: |
| 49 | * the speaker is not working properly |
| 50 | * the level is set too low |
| 51 | * the WAV file contains blank recording |
| 52 | * or something else.. |
| 53 | |
| 54 | |