Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
userdoc:tt_external_moh_source [2014/02/18 08:38] abelbeck |
userdoc:tt_external_moh_source [2014/02/18 11:29] droemel [Internet Streaming] |
||
---|---|---|---|
Line 87: | Line 87: | ||
You can also easily stream music over the Internet/ | You can also easily stream music over the Internet/ | ||
- | Create file: ''/ | + | Create file: ''/ |
#!/bin/sh | #!/bin/sh | ||
| | ||
- | wget -q -O - ${1} | sox -t mp3 - -t raw -r 8000 -c 1 - | + | wget -q -O - ${1} | sox -t mp3 -v 0.8 - -t raw -r 8000 -c 1 - |
- | Make the "'' | + | Adjust |
- | | + | Make the "''/ |
+ | |||
+ | | ||
Edit the Asterisk configuration file "''/ | Edit the Asterisk configuration file "''/ | ||
Line 101: | Line 103: | ||
[internet-stream] | [internet-stream] | ||
mode=custom | mode=custom | ||
- | application=/ | + | application=/ |
+ | |||
+ | !!Note ->!! The example MP3 source URL shown above is only an example, and does not imply it is legal to use for MOH in your country. | ||
Reload the Asterisk MoH module: | Reload the Asterisk MoH module: | ||
Line 108: | Line 112: | ||
asterisk -rx " | asterisk -rx " | ||
- | !!Tip ->!! Never edit the '' | + | !!Tip ->!! Never edit the '' |