Monday, July 14, 2008

Two-Tone Pager Decoding Using Multimon


Here is a handy Linux based project that I recently worked on for a friend who happens to be a volunteer fire fighter.

A lot of rural volunteer fire departments still rely on the Motorola two-tone sequential paging system and analog Motorola Minitor pagers for dispatching their crews to a fire scene. The standard "Motorola Quick Call 2" paging protocol consists of playing two separate audio tones, the "A" and "B" tone. The "A" tone is played first for one second, then the "B" tone for three seconds. Both of these tones are transmitted on the fire dispatch frequency (VHF usually) which the pager is tuned to. Inside the older Minitor pagers, a mechanical reed is used to filter and decode each of the proper tones. While this may sound primitive, it is actually very reliable. A modern tweak to this type of paging system would be for the fire dispatch page to also be sent to your computer or cellular phone via text or email message. That is what this project will attempt to cover, with the pager tone decoding being done in software instead of having to tie up an additional pager.

For the tone decoding software, I used a slightly modified version of Thomas Sailer's multimon Linux radio transmission decoder.

{Update 2013}
Someone forked the original Multimon.  The original version was badly in need of updating for compatibility with modern Linux installs.  The fork is called multimonNG.


http://dekar.wc3edit.net/2012/05/24/multimonng/

In addition to showing how to modify the source code to match the tone sequences you want to monitor, there is a patch to enable a "quiet output" option to the DTMF decoding and also flushes stdout for better reliability when used in this application. A potential Perl script to trigger an external commands such as start recording or send a text message/email to ones phone is included.

You can read more about the specifics here.

5 comments:

Anonymous said...

I had a similar idea...here's what I came up with, but for Windows, not Linux:

http://radioetcetera.googlepages.com/twotoneprogram

http://www.radioreference.com/forums/scanner-programming-software/120010-twotonedetect-beta.html

Bob K Mertz said...

You are my hero! :)
I'm still working on trying to get this working for my department but I have been able to make so much progress from your PDF. What I ultimately want to have happen is have a script that controls relays for sirens and lights when our tones are dropped. One issue that I think I might see a problem with is that it seems the 700hz tone that is activated for our siren's B tone is common in voices and since our county has tones and all radio traffic on the same channel I'm affraid this may be an issue.... but either way, thank you very much!

Bob K Mertz said...

Oh, I am also having some issues applying the patch. Any chance you have an actual patch somewhere so that I can avoid cutting and pasting?

Bob K Mertz said...

Is there ANY chance of getting a text patch file? I can't for the life of me get the patch information out of the PDF file :(

kb9mwr said...

http://www.qsl.net/k/kb9mwr//projects/pager/multimon.patch