Showing posts with label interoperability. Show all posts
Showing posts with label interoperability. Show all posts

Sunday, March 1, 2009

XIPAR - The Open Source Amateur Radio Over IP Project

A Brief History of Asterisk Radio Over IP

Most people don't know that Asterisk was designed from the beginning with radio applications in mind.

Jim Dixon (WB6NIL) developed pioneering hardware and software and collaborated with Mark Spencer of Digium to make Asterisk a reality. Jim (a.k.a. Duuuude) says that compatibility with Amateur Radio applications was always a design requirement for his Asterisk work.

Steve Rodgers (WA6ZFT) is a longtime friend of Jim's and they co-developed the app_rpt module and the Quad Radio PCI card to interface radio equipment to Asterisk. Steve's company QRVC Communications offers the Quad Radio PCI card for sale.

Steve Henke (W9SH) wanted to use hardware that would provide baseband (receiver discriminator and transmitter modulation) signal processing. This allows noise squelch detect, RSSI, CTCSS and other signaling protocols to be done in software and provide additional features. The answer to this need was found in a low cost USB Sound Adapter. Steve and Jim collaborated on the chan_usbradio driver and Steve's company Xelatec contributed the xpmr radio signal processing routines under the GPL to the project.


The Xelatec XIPAR project combines the Asterisk® VoIP PBX with radio interface software and hardware that provides the following for Amateur Radio stations and systems:
- A Full Function Multi-Site Linking Repeater Controller
- Touch Tone Command and Control
- Autopatch - Reverse and VOX Operation
- CTCSS Decode/Encode Functions
- Asterisk VoIP Private Branch Telephone Exchange
- Voice Mail and Announcements
- Contact Closure Telemetry and Announcments
- Non-Proprietary Software and Hardware
- Open Source Linux Operating System
- Remote Base PTT Dispatch Client Software for PC's
- A Fully Configurable and Programmable Communications Solution

Complete with a GUI interface

Wednesday, January 14, 2009

Satoshi, 7M3TJZ/AD6GZ's D-Star Node and DV Adapter


Satoshi Yasuda, 7M3TJZ/AD6GZ, has two different constructions projects available. The one that is the main focus of this yahoo group - the node adapter - is basically a GMSK smart modem tailored to D-STAR.

The node adapter has two modes - simplex and repeater. In simplex mode, node adapter only serves to decode/encode the GMSK modulation used by D-STAR radios and turn it into a bit stream that can be fed into a computer. In repeater mode, the node adapter serves as a bit regenerative repeater. However, while in repeater mode, the node adapter does not have the capability to pass any data in/out of the computer. So, in repeater mode, the node adapter can not be linked to any D-STAR gateways/reflectors. This node adapter has no provisions to convert D-Star Digital Voice To Analog Voice. This hardware software combination operates in 100% digital mode.

He began by looking into the UT-118 works. It is entirely of his own design. Mr. Yasuda is/was a member of the D-Star standardization committee.

The main component is the CMX589A GMSK modem chip. The same chip used in many
of the Icom radios.

Probably the next most important chip is the 18F2550 PIC that runs his firmware.
This takes care of formatting/ recognizing the actual D-Star protocol, USB
communications etc.


More information can be found on Satoshi's web site.

Mark, KB9KHM uses his node adaptor in simplex mode with his D-STAR Hot Spot software that Mark wrote to provide a simplex RF point of presence to the D-STAR network. (He uses his D-Star HT with the adaptor hooked to an analog radio's packet port to pass D-Star digitally to a gateway server over the internet.)

In this video, Erik Finskas OH2LAK, of Finland shows his D-Star Hot Spot / node adaptor while holding a QSO:

And here is a slide-show overview of the GMSK Node Adapter:


In a later revision of Mark's hotspot software he added a routine that provides a way around the combination problem repeater mode and linking. Now you only need one pic, as the data received can be sent back out like a loopback, while still keeping a data stream to external D-Plus gateways.




His AMBE DV adaptor on the other hand is a full blown adapter to turn an analog radio in to a D-STAR radio and does include provisions to encode/decode AMBE.

In this video Peter, DJ6ZR/AI4UE and Don, WD4CWE test D-Star on 6 meter and 10m with the Satoshi DV Adapter. With more info at http://dstarradioclub-international.com/default.aspx



Mark, G7LTT/NI2O also has had 10 and 6 Meter successful D-Star QSO's using Satoshi's AMBE DV adapters interfaced to two Yaesu FT-8900 quad band FM rigs.

Satoshi's AMBE DV adapter does decode and encode raw D-Star tailored GMSK unlike the the DV Dongle that Moe, AE4JY and Robin, AA4RC have in production.

Satoshi's does seem better suited for the D-Star to SIP translation project that is being investigated.

Saturday, November 1, 2008

DV Dongle


If you have been following my blog you probably say my piece on interoperability strides and my other piece on this second roll out of D-Star called NXDN.

This interoperability thing as you can imagine is pretty important. The key problem stems from a lack of standards but it really has to do more so with the fact that technology is developing so quickly that it's difficult to get everyone on the same page. Technology standards seem to be set by who can develop something first and obtain the largest market following. Just look back at VHS vs Beta, Blueray vs HD-DVD, etc.

As pointed out a common interconnection that both P25, and D-Star developers are choosing is the standardized Asterisk based SIP protocol using RTP audio streams.

A key component in all these digital voice systems is the vocoder. This is the device that converts your spoken voice to a synthesized or digitally compressed speech format.

The public safety APCO/ P25 format uses Improved Multi-Band Excitation (IMBE). This is proprietary vocoder developed by Digital Voice Systems, Inc. (DVSI). It is the predecessor of their Advanced Multi-Band Excitation (AMBE). It costs $150K to get the rights to play with that mode plus $5 a seat. There is no off the shelf IC to do it.

D-Star uses Advanced Multi-Band Excitation (AMBE) from DVSI. Same $150K if you want the software source but they do offer a single chip solution for $20 single quantity and are happy to sell to hams.

The DV dongle is an important development. It was started by Moe, AE4JY and Robin, AA4RC. It contains the ability to process AMBE full duplex. Presently software applications exist to use this to communicate from a computer to a D-Star gateway. Further development are expected so that it can be interfaced to a radio's packet radio port that has the necessary discriminator connections. This may be a huge milestone. The ability to retrofit an existing repeater could be possible with this. Not only that, but you may be able to retrofit it in such a way that it can be usable in analog and for D-Star. 

With the DV Dongle you will be able to use DPLUS* or the future OpenDSTAR gateway software to connect to the gateway computer behind the ID-RP2C (repeater controller). Then you will use the DV Dongle to extract the audio streams and can transcode them to standard G.711a/u, GSM, G.729, etc. and then use the Asterisk PBX power for telephone, voicemail, DID-Callsign-DID, repeater, etc. interconnection.

(* DPLUS is a gateway addon daemon that provides a number of functions see: http://opendstar.org/tools/readme.txt)

When you take a digital radio platform like D-Star, this is where integrating Asterisk could be very powerful. Since the call sign is part of every packet, this could be assigned to a direct inward dialing number (DID) or extension.

At the present time the dongle connects over the internet to an Icom gateway controller at a repeater site. So for now is a non-RF application.

What would be even more ideal since D-Star radios don't have an analog packet port is if the various D-Star radios had a digital interface port/jack to support just such a dongle / device to transcode to a SIP and codec standard. Unfortunately at this time there are no known interfaces to the Icom D-STAR radios that allow access to the on-air data stream.

I'd love it if I could buy a D-Star radio, that has an digital interface of sorts. Something along the lines of D-Star non-proprietary interface. Perhaps a mini-USB interface that perhaps transcodes to a more open standard codec like G.711 using SIP and RTP protocols (standardized protocols) so one can connect the radios together into wide area networks.

Then one would be able to have a D-Star radio in my shack also interconnected to various Asterisk powered applications in their house. Where if you weren't around to take a directed D-Star call, it could be configured as a DID to a system and use a ring group / follow me list to let the radio caller ring a home phone or leave a voice mail.

The open source project25 interface is a good idea. Unfortunately the problem they're facing is that most of the manufacturers don't bother following the ISSI spec, nor does the ISSI spec call out hardware interface details. So basically the "plugs" on the back of say, a Quantar... don't match the "plugs" on the back of a MASTR III.

http://en.wikipedia.org/wiki/P25_ISSI
The Project 25 Inter RF Subsystem Interface (P25 ISSI) is a non-proprietary interface that enables RF subsystems (RFSSs) built by different manufacturers to be connected together into wide area networks.


It would be great to see an a D-Star radio that supports something like this on the market possibly before the P25 interface idea ever makes it to the market.  

ARRL: It Seems to Us: Interoperability October 1, 2007 We need to encourage D-Star manufactures to come up with a similar style non-proprietary interface for D-Star.  

Thursday, September 11, 2008

Digital Voice Interoperability strides


Asterisk provides an Interoberabity platform

What is Asterisk?
Asterisk is an Open Source PBX & Telephony Platform. It’s often labeled as the future of telephony. It has been around since about 1999 and the platform is open source - Linux operating system based. It can support a variety of signaling protocols, but by far SIP, the session intitation protocol, for VOIP and other text and multimedia sessions, has become a standard.

For those scratching their head a bit... PBX stands for private branch exchange. It is a machine that handles many businesses telephones calls for you. Its main functions are to transfer calls to different individual phones; play music when somebody is put on hold; to play automated voice responses when a call is received; to provide an options menu for the caller etc.

Asterisk allows one to build their own phone systems. It adds features, functionality and reduces deployment costs in ways which; at first are a little difficult to understand.

How does this relate to amateur radio?

Very simple, the future of two way radio is digital. As of writing, TV are required to be full digital and shut down their analog transmitters in Feb. 2009. The only spectrum broadcasters are required to vacate are channels 64 thru 69 that will become the new "700 MHZ band" that is being auctioned off by the FCC. The vacated areas of this spectrum will be utilized for: Public Wireless deployment (Cellular/PCS); A wide-band private data network that will be shared between public safety and paying customers; and new spectrum for public safety that will butt right up to the re-located NPSPAC National Public Safety Planning Advisory Committee band being moved to 806-809/851-853 by Sprint/Nextel.

Public safety also has guidelines to migrate to APCO-25 digital. The future of two way radio is digital, and we must also advance in this direction. The digital premise is that it generally allows more use in a more efficient/flexible use of band space.

Most present day government communication centers that use analog systems happen to have a VOIP based dispatch console. This analog to VOIP patching is something that we are presently also embracing in ham radio with IRLP, EchoLink, Yeasu WIRES II, and the like.

Your seeing the digital migration in the commercial world as I pointed out; And the only analog part left of traditional telephone is the “last mile” drop to your home. Time Warner and now AT&T are providing digital phone service to close that up too.

As of writing there aren't any 100% directed approaches to tie this to the hobby that I can point you to. There are a number of open ended ideas from a variety of different people. What I'm saying is there is no one entity steering the ship, so to speak. This ideas are still in development. Which makes it precisely the time to jump aboard and get our hands in it and see what we can do with it. So in light of that I suggest a google search for more info...
Digital Voice Interoperability Software Strides
Perhaps some of you remember the ARRL "It Seems to Us: Interoperability" statement from October last year regarding emerging digital voice.

Well the good news is here are some of the strides I've run across:

-OpenP25 Project http://openp25.org/index.php/category/project-status/

"We've determined that the open source Asterisk PBX appears to be a good framework on which to build a P25 ISSI (Inter RF Subsystem Interface) switch. Asterisk has a mature SIP stack and already has the ability to transparently pass RTP frames between SIP channels. The National Institute of Standards and Technology (NIST) has made an open source program for ISSI testing freely available to the P25 community. A full-featured open source P25 ISSI switch is clearly achievable."

The Project 25 Inter RF Subsystem Interface (P25 ISSI) is a non-proprietary interface that enables RF subsystems (RFSSs) built by different manufacturers to be connected together into wide area networks. Apparently consideration is being given to enhancing Asterisk app_rpt to support a such a low-level P25 radio interface.
The open source project25 interface is a good idea. Unfortunately the problem they're facing is that most of the manufacturers don't bother following the ISSI spec, nor does the ISSI spec call out hardware interface details. So basically the "plugs" on the back of say, a Quantar... don't match the "plugs" on the back of a Mastr III.

-Open D-Star Project http://opendstar.org/

The OpenDSTAR group has released several software tools which build on existing commercially available repeaters and Internet gateways to extend functionality.

And this interoperability work in progress attempt has been around longer than the P25 one. They too are working a SIP stack into their DPLUS gateway add-on daemon.
A project is lead by Scott, KI4LKF expand the Asterisk capabilities with his RtpDir bridge software (Real TimeProtocol Director) software package for VoIP/RF Gateways. http://tech.groups.yahoo.com/group/rtpDir/
It can bridges transmit and receive from/to Asterisk/app_rpt, IRLP, Echolink, Speak-Freely and he is working on D-Star. There is support for all link interfaces, sound mode or ASCII mode, VA3TO, WB2REM, ULI, Rigblasters, MFJ, SignalLink, etc.
-RadioGrid RG-4 Radio Gateway. http://www.radiogrid.com/
The guys from NHRC who make repeater controllers have come up with a commercially targeted (and priced) controller called the RadioGrid RG-4 Radio Gateway. It's built around Asterisk open source PBX technology. It's specifically for VOIP linking designed with interoperability applications in mind. It uses a 500 MHz Blackfin processor, 64 MB RAM, 4 MB Flash memory, 1 GB SD Card

A key component in all these digital voice systems is the vocoder. P25 uses the IMBE vocoder from Digital Voice System Inc. (DVSI). It costs $150K to get the rights to play with that mode plus $5 a seat. There is no off the shelf IC to do it. Fortunately D-Star uses AMBE from DVSI they do offer a single chip solution for $20 single qty and are happy to sell to hams.

- The DV Dongle http://dvdongle.com/
The DV dongle is an important development. It was started by Moe Wheatley, AE4JY and Robin Cutshaw, AA4RC. It contains the hardware ability to process AMBE full duplex. Presently software applications exist to use this to communicate from a computer to a D-Star gateway. Further development are in the works so that it can be interfaced to a radio's packet radio port that has the necessary discriminator connections. This may be a huge milestone. The ability to retrofit an existing repeater could be possible with this. Not only that, but you may be able to retrofit it in such a way that it can be usable in analog and for D-Star.

It would be great to see an a D-Star radio that supports something like this on the market possibly before the P25 interface idea ever makes it to the market. We should to encourage D-Star manufactures to come up with a similar style non-proprietary interface for D-Star. As unfortunately at this time there are no known interfaces to the Icom D-STAR radios that allow access to the on-air data stream.

It would be nice to see some agreement and standards in place amongst the various guys working on software solutions and the manufactures, to help make things more stream-lined. Either way people are working on interoperability solutions, toward convergence with open standard codecs like G.711 using real word protocols like SIP and RTP protocols so one can connect the radios together into wide area networks.

Then one would be able to have a D-Star radio in their shack also interconnected to various Asterisk powered applications in their house or abroad. Where if you weren't around to take a directed D-Star call, it could be configured as a DID to a system and use a ring group / follow me list to let the radio caller ring a home phone or leave a voice mail. Calls could be route to/through the Public switched telephone network and so on. A very powerful ability for EMCOMM and personal use.