title: Unable to play music on hold in asterisk
body: <p>In my dialplan music on hold was working earlier but its not working now.My musiconhold.conf</p>
  
  <pre><code>;
  ; Music on Hold -- Sample Configuration
  ;
  
      [old-default]
      mode=files
      directory=/var/lib/asterisk/mohmp3
      random=yes 
  
      [old-quiet]
      mode=files
      directory=/var/lib/asterisk/quiet-mp3
  
      #include musiconhold-vicidial.conf
  
      ; valid mode options:
      ; quietmp3      -- default
      ; mp3           -- loud
      ; mp3nb         -- unbuffered
      ; quietmp3nb    -- quiet unbuffered
      ; custom        -- run a custom application
      ; files         -- read files from a directory in any Asterisk supported format
  </code></pre>
  
  <p>my cli shows
  <strong>Music class default requested but no musiconhold loaded.</strong></p>
  
  <p>the output of moh reload</p>
  
  <pre><code>localhost*CLI&gt; moh reload
    == Parsing '/etc/asterisk/musiconhold.conf':   == Found
  [Jul  4 11:23:08] WARNING[4504]: res_musiconhold.c:1068 moh_scan_files: Cannot open dir /var/lib/asterisk/mohmp3 or dir does not exist
  [Jul  4 11:23:08] WARNING[4504]: res_musiconhold.c:1068 moh_scan_files: Cannot open dir /var/lib/asterisk/quiet-mp3 or dir does not exist
  </code></pre>
  
  <p>I dont know what hapened it was working fine earlier.</p>
  
  <p>Thanks in advance</p>