login | register
Sat 22 of Nov, 2008 [02:56 UTC]

voip-info.org

Radio

Created by: flavour,Last modification on Sat 24 of Dec, 2005 [03:08 UTC] by rehan

Radio over VoIP


A page to collect resources about linkages between Radios & Voice over IP

  • Asterisk cmd Rpt: Module for using Asterisk to create a Repeater for Amateur or Commercial 2-way Radios
  • iaxRPT: A "soft base station" Linux and Windows GUI client derived from iaxComm for the Rpt Asterisk application
  • DingoTel: Sell commercial '2-way' product for linking 2-way radios to their VoIP service. Mass market approach makes this popular product available online or at Best Buy nationwide.
  • eQSO: Free software to create Repeaters/Gateways to link 2-way radios across the Internet (either PMR446 or HAM)
  • Wireless VOIP: collection of resources on Voice over 2.4 GHz frequencies

General Radio info:

HF

  • Amateur Radio (licensed)
  • CB (EU/US licensed) 27 MHz

VHF

  • Amateur Radio (licensed)

UHF




Thanks to all of you guys for your advices. I already tried to do what was written on the wiki yet I don 't hear any music from the site. Correct me if I was right on the steps I made.

1. I have this on my musiconhold.conf

classes
default => quietmp3:/var/lib/asterisk/mohmp3
default => mp3
/var/lib/asterisk/mohmp3-empty,http://www.kcrw.com/pls/kcrwsimulcast.pls
loud => mp3
/var/lib/asterisk/mohmp3
random => quietmp3:/var/lib/asterisk/mohmp3,-z
streaming => quietmp3nb:/var/lib/asterisk/mohmp3-empty,http://www.live365.com/play/322045?LID=807-usa&lid=807-usa&SaneID=67.117.89.22-1110847230368&AuthType=NORMAL&VisitCount=3&bitrate=256&now=1113619579760

2. Then I place this on my extensions.conf

exten => 99,1,Answer()
exten => 99,2,MusicOnHold(streaming)
exten => 99,3,Hangup

3. Then made a directory of mohmp3-empty on /var/lib/astersisk/

then restarted asterisk

Did I make the right steps or there is still something missing?????

_
Rowell B. Rufino
PHP Developer / Asterisk Developer



classes
default => quietmp3nb:/var/lib/asterisk/moh-native/frequence,http://www.live365.com/play/322045?LID=807-usa&lid=807-usa&SaneID=67.117.89.22-1110847230368&AuthType=NORMAL&VisitCount=3&bitrate=256&now=1113619579760

moh_files
isepic => /var/lib/asterisk/moh-native/isepic,r
holiday => /var/lib/asterisk/moh-native/holiday,r


Comments

Comments Filter
222

333Amateur Radio Newsline on Asterisk

by kb9mwr, Tuesday 30 of January, 2007 [13:56:41 UTC]
Some remote repeater systems still uses their autopatch (telephone interconnect) to call long distance and play <a href="http://www.arnewsline.org">Amateur Radio
Newsline</a>. Here is how to setup an Asterisk PBX extension that plays Newsline. A simple analog telephone adaptor (ATA) could save some telephone charges.

NOTE: It is possible and more sensible if you have <a href="http://www.irlp.net">IRLP</a> hardware and a computer to provision the IRLP system to play Newsline. It's done in a similar manner. KC6HUR has some nice scripts for just this. I took from that idea to create this one. The possible advantage to this route is, you don't need IRLP hardware. This functions off controller with autopatch. You need a controller capable of more that one port to support IRLP, not everyone has this. Lastly, the Asterisk server computer in this situation need not be at the same site as the radio repeater, whereas the IRLP computer would have to be.

First off, there are a few tools you may need to install on your Asterisk system; lynx, mpg123, lame (optional). Step one is to make an automated cron entry that will download a fresh copy of Newsline each week. Then we need to convert the MP3 to the native format of Asterisk, gsm. Unfortunately I had to do this in two steps. Note: Your supposed to be able to play a MP3 directly using the syntax "MP3Player(location)". It requires mpg123.
  1. MM HH DD MO DOW 0=sun, 1=mon
  2. Script to go and get the Amateur Radio Newsline
0 9 * * 6 /usr/bin/lynx -source -dump ftp://ftp.arnewsline.org/quincy/News/news.mp3 > /tmp/newsline.mp3
mpg123 -q -w /tmp/newsline.wav --mono /tmp/newsline.mp3
sox /tmp/newsline.wav -c1 -r8000 -w /var/lib/asterisk/sounds/newsline.gsm
chown "asterisk":"asterisk" /var/lib/asterisk/sounds/newsline.gsm
/bin/rm /tmp/newsline.*

The next step is to add an entry in the /etc/asterisk/extensions_custom.conf file.
custom-newsline
exten => s,1,Answer
exten => s,2,Wait(2)
exten => s,3,Playback(newsline)
exten => s,4,hangup
If you run a GUI such as with Trixbox (phpconfig for Asterisk PBX), you'll need to have the configuration editor re-read the configs, after you edit and append to this file.