HOT NEWS
Remember Me

Monday, 06 September 2010 13:41
Monday, 06 September 2010 13:38
Sunday, 05 September 2010 11:30
Sunday, 05 September 2010 11:19
Written by voiptoday    Wednesday, 28 July 2010 14:13    PDF Print E-mail
Hear the airport's control tower in Seville by using Asterisk!

airporttower_a Excerpt from the article:

Hear the airport's control tower in Seville (TWR LEZL) . This code is ready to collect real-time audio streaming from a source on the Internet where he leaves his radio tower broadcasts, and proof of concept allows us to see some of the opportunities the system without having a radio in our system . In this way, we can assign the background music "radio" for when a call for a DID, an extension or a queue of agents.

First, edit the file musiconhold_custom.conf and add the following:

[Radio]
mode = custom
dir = / var/lib/asterisk/mohmp3/radio
application = / usr/bin/mpg123-q-r 8000-f 8192-s-mono http://bos.liveatc.net/lezl

Reload the Asterisk configuration MoH
[User @ asterisk] asterisk-vvvvvvr

voip * CLI> moh reload
== Parsing '/ etc / asterisk / musiconhold.conf': Found ==
== Parsing '/ etc / asterisk / musiconhold_custom.conf': Found ==
== Parsing '/ etc / asterisk / musiconhold_additional.conf': Found ==

voip * CLI> moh show classes
Class: default
Mode: files
Directory: / var / lib / asterisk / moh
Class: none
Mode: files
Directory: / var / lib / asterisk / moh / .nomusic_reserved
Class: radio
Mode: custom
Directory: Nodir
Application: / usr/bin/mpg123-q-r 8000-f 8192-s-mono
http://bos.liveatc.net/lezl
Format: slin

voip * CLI> reload

Create a "custom extension" for this purpose:

[Asterisk root @] vi extensions_custom.conf
; Special LiveATC Extension
exten => 6000.1, Answer
exten => 6000.2, MusicOnHold (radio)

Last Updated ( Wednesday, 28 July 2010 14:13 )
 

Add comment


Security code
Refresh

Your are currently browsing this site with Internet Explorer 6 (IE6).

Your current web browser must be updated to version 7 of Internet Explorer (IE7) to take advantage of all of template's capabilities.

Why should I upgrade to Internet Explorer 7? Microsoft has redesigned Internet Explorer from the ground up, with better security, new capabilities, and a whole new interface. Many changes resulted from the feedback of millions of users who tested prerelease versions of the new browser. The most compelling reason to upgrade is the improved security. The Internet of today is not the Internet of five years ago. There are dangers that simply didn't exist back in 2001, when Internet Explorer 6 was released to the world. Internet Explorer 7 makes surfing the web fundamentally safer by offering greater protection against viruses, spyware, and other online risks.

Get free downloads for Internet Explorer 7, including recommended updates as they become available. To download Internet Explorer 7 in the language of your choice, please visit the Internet Explorer 7 worldwide page.