As anyone did some experimentation with FreePBX and Asterisk 1.6? Everything seem to work find except MusicOnHold, what are the required settings to make MusicOnHold work? Here is what I have verified so far.
Both incoming and outgoing routes have Music on hold set to default.
The user reference by the incoming route has Music on hold set to default.
I did the following tests with a sip client.
- Answer an incoming call from trunk.
- Put the call on hold, no music
- Dial an external number while still having incoming call on hold.
- Switch to incoming call, no music on outgoing call.
- Switch back to the outgoing call, still no music on the incoming call.
- Hang-up incoming call, still no music on outgoing call.
- Hang-up outgoing call.
While doing this tests I was looking at the Asterisk console and did not see any SetMusicOnHold call in the trace.
Did I miss something? Any suggestion will be appreciated cause am out of idea now.
vsrv-asterisk*CLI> module show like music
Module Description Use Count
res_musiconhold.so Music On Hold Resource 0
1 modules loadedI>
vsrv-asteriskCLI> moh show classes
Class: defaultCLI>
Mode: files
Directory: /var/lib/asterisk/mohmp3/
Use Count: 0
Class: noneskCLI>
Mode: files
Directory: /dev/null
Use Count: 0
Class: moh
Mode: files
Directory: /var/lib/asterisk/mohmp3/moh/
Use Count: 0
vsrv-asterisk*CLI>
vsrv-asteriskCLI> moh show files
Class: defaultCLI>
vsrv-astFile: /var/lib/asterisk/mohmp3//QuajiroPromo
vsrv-astFile: /var/lib/asterisk/mohmp3//TristeAlegriaPromo
vsrv-astFile: /var/lib/asterisk/mohmp3//orig_03 (You Want To) Make A Memory
Class: mohiskCLI>
vsrv-astFile: /var/lib/asterisk/mohmp3/moh//fpm-world-mix
vsrv-astFile: /var/lib/asterisk/mohmp3/moh//fpm-calm-river
vsrv-astFile: /var/lib/asterisk/mohmp3/moh//fpm-sunshine
vsrv-asterisk*CLI> module show like format
Module Description Use Count
format_wav.so Microsoft WAV format (8000Hz Signed Line 0
format_pcm.so Raw/Sun uLaw/ALaw 8KHz (PCM,PCMA,AU), G. 0
format_mp3.so MP3 format [Any rate but 8000hz mono is 0
format_ilbc.so Raw iLBC data 0
format_jpeg.so JPEG (Joint Picture Experts Group) Image 0
format_gsm.so Raw GSM data 0
format_g729.so Raw G729 data 0
format_h264.so Raw H.264 data 0
format_vox.so Dialogic VOX (ADPCM) File Format 0
format_g726.so Raw G.726 (16/24/32/40kbps) data 0
format_sln16.so Raw Signed Linear 16KHz Audio support (S 0
format_wav_gsm.so Microsoft WAV format (Proprietary GSM) 0
format_g723.so G.723.1 Simple Timestamp File Format 0
format_h263.so Raw H.263 data 0
format_sln.so Raw Signed Linear Audio support (SLN) 0
15 modules loaded>