ATech Machine LIBRA-02 M Informações Técnicas Página 117

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 734
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 116
In newer versions of sox (e.g., version 14.3.0, which shipped with
Ubuntu 10.10), the -w option has changed to -2.
Completing file conversion
The resulting file will exist in the /tmp folder (or wherever you uploaded to) and needs
to be copied to the /var/lib/asterisk/moh folder:
$ cp *.sln /var/lib/asterisk/moh
You now need to reload musiconhold in Asterisk in order to have it recognize your new
files:
$ asterisk -rx "module unload res_musiconhold.so"
$ asterisk -rx "module load res_musiconhold.so"
To test that your music is working correctly, add the following to the [UserServices]
context in your dialplan:
exten => 664,1,NoOp()
same => n,Progress()
same => n,MusicOnHold()
Dialing 664 from one of your sets should play a random file from your moh directory.
Conclusion
This chapter helped you complete some initial configuration of Asterisk. From here
you can move on to setting up some phones and taking advantage of the many features
Asterisk has to offer.
Conclusion | 81
Vista de página 116
1 2 ... 112 113 114 115 116 117 118 119 120 121 122 ... 733 734

Comentários a estes Manuais

Sem comentários