# Anyone using MDC1200 for control?

**URL:** <https://community.allstarlink.org/t/anyone-using-mdc1200-for-control/8164>\
**Category:** AllStarLink\
**Created:** [March 21, 2010, 1:17am UTC](https://community.allstarlink.org/t/anyone-using-mdc1200-for-control/8164 "2010-03-21T01:17:52Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kt9ac](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/k/a4c791/32.png) [@Kt9ac](https://community.allstarlink.org/u/Kt9ac)\
**Post date:** [March 21, 2010, 1:17am UTC](https://community.allstarlink.org/t/anyone-using-mdc1200-for-control/8164/1 "2010-03-21T01:17:52Z")

</div>

Hi Everyone,  
New to the group and Asterisk; got my first node online today. I know there are libraries available from Matthew Kaufman for MDC1200 decoding, but haven't ventured into the code just yet. Does anyone have examples of what works and how difficult it was? I want to simply send an MDC ID into Asterisk to control my links/macros versus DTMF.

Thanks!  
Tony, KT9AC

---

<div class="post-metadata">

**Author:** ![Telesistant](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/t/a87d85/32.png) [@Telesistant](https://community.allstarlink.org/u/Telesistant)\
**Post date:** [March 22, 2010, 5:04pm UTC](https://community.allstarlink.org/t/anyone-using-mdc1200-for-control/8164/2 "2010-03-22T17:04:51Z")

</div>

Well, it could very easily. Im game.. (be sure you  
pronounce that right) :-). What kind of MDC-1200  
message type are you intending use (excuse the  
possibility of this being a dumb question, but  
the only thing Im familiar with MDC-1200 for is  
UnitID).

JIM WB6NIL

> **···**
>
> ----------------------------------------
> 
> > Date: Sat, 20 Mar 2010 20:17:52 -0500  
> > From: kt9ac@ameritech.net  
> > To: App\_rpt-users@qrvc.com  
> > Subject: [App\_rpt-users] Anyone using MDC1200 for control?
> > 
> > Hi Everyone,  
> > New to the group and Asterisk; got my first node online today. I know  
> > there are libraries available from Matthew Kaufman for MDC1200 decoding,  
> > but haven't ventured into the code just yet. Does anyone have examples  
> > of what works and how difficult it was? I want to simply send an MDC ID  
> > into Asterisk to control my links/macros versus DTMF.
> > 
> > Thanks!  
> > Tony, KT9AC  
> > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > App\_rpt-users mailing list  
> > App\_rpt-users@qrvc.com  
> > [http://qrvc.com/mailman/listinfo/app\_rpt-users](http://qrvc.com/mailman/listinfo/app_rpt-users)

---

<div class="post-metadata">

**Author:** ![Kt9ac](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/k/a4c791/32.png) [@Kt9ac](https://community.allstarlink.org/u/Kt9ac)\
**Post date:** [March 22, 2010, 6:42pm UTC](https://community.allstarlink.org/t/anyone-using-mdc1200-for-control/8164/3 "2010-03-22T18:42:50Z")

</div>

Thanks Jim for the reply and interest. Basically I just want to send/decode the Unit ID that will be used as a control function (i.e. macro to connect up to site "X"), activity timer (link transmit authorization) or repeater access control. I like MDC since its a fixed-length packet, has error-correction built-in and once programmed in to a radio mode doesn't require using a DTMF mic while mobile.

Tony

Jim Duuuude wrote:

> **···**
>
> > Well, it could very easily. Im game.. (be sure you  
> > pronounce that right) :-). What kind of MDC-1200  
> > message type are you intending use (excuse the possibility of this being a dumb question, but  
> > the only thing Im familiar with MDC-1200 for is  
> > UnitID).
> > 
> > JIM WB6NIL
> > 
> > ----------------------------------------  
> > &nbsp;&nbsp;
> > 
> > > Date: Sat, 20 Mar 2010 20:17:52 -0500  
> > > From: kt9ac@ameritech.net  
> > > To: App\_rpt-users@qrvc.com  
> > > Subject: [App\_rpt-users] Anyone using MDC1200 for control?
> > > 
> > > Hi Everyone,  
> > > New to the group and Asterisk; got my first node online today. I know  
> > > there are libraries available from Matthew Kaufman for MDC1200 decoding,  
> > > but haven't ventured into the code just yet. Does anyone have examples  
> > > of what works and how difficult it was? I want to simply send an MDC ID  
> > > into Asterisk to control my links/macros versus DTMF.
> > > 
> > > Thanks!  
> > > Tony, KT9AC  
> > > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > > App\_rpt-users mailing list  
> > > App\_rpt-users@qrvc.com  
> > > [http://qrvc.com/mailman/listinfo/app\_rpt-users](http://qrvc.com/mailman/listinfo/app_rpt-users)  
> > > &nbsp;&nbsp;&nbsp;&nbsp;

---

<div class="post-metadata">

**Author:** ![Telesistant](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/t/a87d85/32.png) [@Telesistant](https://community.allstarlink.org/u/Telesistant)\
**Post date:** [March 22, 2010, 7:05pm UTC](https://community.allstarlink.org/t/anyone-using-mdc1200-for-control/8164/4 "2010-03-22T19:05:41Z")

</div>

okay, What I will do is have a list of "Unit-ID"'s that  
can correspond to DTMF macros. In other words, you  
could make unit ID 1234 be the same as pressing \*32000  
or something like that.

Is that pretty much what you had in mind??

JIM WB6NIL

> **···**
>
> ----------------------------------------
> 
> > Date: Mon, 22 Mar 2010 13:42:50 -0500  
> > From: kt9ac@ameritech.net  
> > To: telesistant@hotmail.com  
> > CC: app\_rpt-users@qrvc.com  
> > Subject: Re: [App\_rpt-users] Anyone using MDC1200 for control?
> > 
> > Thanks Jim for the reply and interest. Basically I just want to  
> > send/decode the Unit ID that will be used as a control function (i.e.  
> > macro to connect up to site "X"), activity timer (link transmit  
> > authorization) or repeater access control. I like MDC since its a  
> > fixed-length packet, has error-correction built-in and once programmed  
> > in to a radio mode doesn't require using a DTMF mic while mobile.
> > 
> > Tony
> > 
> > Jim Duuuude wrote:
> > 
> > > Well, it could very easily. Im game.. (be sure you  
> > > pronounce that right) :-). What kind of MDC-1200  
> > > message type are you intending use (excuse the  
> > > possibility of this being a dumb question, but  
> > > the only thing Im familiar with MDC-1200 for is  
> > > UnitID).
> > > 
> > > JIM WB6NIL
> > > 
> > > ----------------------------------------
> > > 
> > > > Date: Sat, 20 Mar 2010 20:17:52 -0500  
> > > > From: kt9ac@ameritech.net  
> > > > To: App\_rpt-users@qrvc.com  
> > > > Subject: [App\_rpt-users] Anyone using MDC1200 for control?
> > > > 
> > > > Hi Everyone,  
> > > > New to the group and Asterisk; got my first node online today. I know  
> > > > there are libraries available from Matthew Kaufman for MDC1200 decoding,  
> > > > but haven't ventured into the code just yet. Does anyone have examples  
> > > > of what works and how difficult it was? I want to simply send an MDC ID  
> > > > into Asterisk to control my links/macros versus DTMF.
> > > > 
> > > > Thanks!  
> > > > Tony, KT9AC  
> > > > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > > > App\_rpt-users mailing list  
> > > > App\_rpt-users@qrvc.com  
> > > > [http://qrvc.com/mailman/listinfo/app\_rpt-users](http://qrvc.com/mailman/listinfo/app_rpt-users)

---

<div class="post-metadata">

**Author:** ![Kt9ac](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/k/a4c791/32.png) [@Kt9ac](https://community.allstarlink.org/u/Kt9ac)\
**Post date:** [March 22, 2010, 7:12pm UTC](https://community.allstarlink.org/t/anyone-using-mdc1200-for-control/8164/5 "2010-03-22T19:12:58Z")

</div>

Yes, that is correct.

Jim Duuuude wrote:

> **···**
>
> > okay, What I will do is have a list of "Unit-ID"'s that  
> > can correspond to DTMF macros. In other words, you  
> > could make unit ID 1234 be the same as pressing \*32000  
> > or something like that.
> > 
> > Is that pretty much what you had in mind??
> > 
> > JIM WB6NIL
> > 
> > ----------------------------------------  
> > &nbsp;&nbsp;
> > 
> > > Date: Mon, 22 Mar 2010 13:42:50 -0500  
> > > From: kt9ac@ameritech.net  
> > > To: telesistant@hotmail.com  
> > > CC: app\_rpt-users@qrvc.com  
> > > Subject: Re: [App\_rpt-users] Anyone using MDC1200 for control?
> > > 
> > > Thanks Jim for the reply and interest. Basically I just want to  
> > > send/decode the Unit ID that will be used as a control function (i.e.  
> > > macro to connect up to site "X"), activity timer (link transmit  
> > > authorization) or repeater access control. I like MDC since its a  
> > > fixed-length packet, has error-correction built-in and once programmed  
> > > in to a radio mode doesn't require using a DTMF mic while mobile.
> > > 
> > > Tony
> > > 
> > > Jim Duuuude wrote:  
> > > &nbsp;&nbsp;&nbsp;&nbsp;
> > > 
> > > > Well, it could very easily. Im game.. (be sure you  
> > > > pronounce that right) :-). What kind of MDC-1200  
> > > > message type are you intending use (excuse the  
> > > > possibility of this being a dumb question, but  
> > > > the only thing Im familiar with MDC-1200 for is  
> > > > UnitID).
> > > > 
> > > > JIM WB6NIL
> > > > 
> > > > ----------------------------------------
> > > > 
> > > > > Date: Sat, 20 Mar 2010 20:17:52 -0500  
> > > > > From: kt9ac@ameritech.net  
> > > > > To: App\_rpt-users@qrvc.com  
> > > > > Subject: [App\_rpt-users] Anyone using MDC1200 for control?
> > > > > 
> > > > > Hi Everyone,  
> > > > > New to the group and Asterisk; got my first node online today. I know  
> > > > > there are libraries available from Matthew Kaufman for MDC1200 decoding,  
> > > > > but haven't ventured into the code just yet. Does anyone have examples  
> > > > > of what works and how difficult it was? I want to simply send an MDC ID  
> > > > > into Asterisk to control my links/macros versus DTMF.
> > > > > 
> > > > > Thanks!  
> > > > > Tony, KT9AC  
> > > > > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > > > > App\_rpt-users mailing list  
> > > > > App\_rpt-users@qrvc.com  
> > > > > [http://qrvc.com/mailman/listinfo/app\_rpt-users](http://qrvc.com/mailman/listinfo/app_rpt-users)

---

<div class="post-metadata">

**Author:** ![W9drr\_Ham](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/w/91b2a8/32.png) [@W9drr\_Ham](https://community.allstarlink.org/u/W9drr_Ham)\
**Post date:** [March 22, 2010, 9:44pm UTC](https://community.allstarlink.org/t/anyone-using-mdc1200-for-control/8164/6 "2010-03-22T21:44:50Z")

</div>

Wouldn't it be better to use mdc status messages for control? The unit  
id is sent every transmission.  
You really wouldn't want a dtmf macro activated every time a unit  
transmits.. that could be real bad if you slip on the ptt.  
I can see it would be pretty easily to generate a couple commands by  
accident. I think MDC status messages are more  
up that alley.

My MDC-1200 biggest wish is an "MDC squelch" that will compare the  
unit-ID to a list, if in the list allow the audio to repeat.

A local ham repeater (fishfar) only allows access based on a known  
list of Unit IDs.

My concept would be status-1 to enable the repeater, status-2 disable,  
status-3 reboot the server, status-4 enable mdc-squech,  
status-5 enable pl squelch, status-6 send "ffff" all call. Something  
like that....

It would be really cool if we could also have the ability to generate  
MDC messages. a command like rpt mdc 2090 ffff which would generate  
an ffff all call on node 2090 would be really appreciated.

Being able to watch the output of the decoder into a log would help  
find what codes are being seen.

In the mean time, I recorded my ht sending the "all call" and play the  
wav file back. It does activate all the radios each time it's sent.

> **···**
>
> --  
> Don Russell, CBRE  
> W9DRR - ARRL OES, Technical Specialist  
> --
> 
> On Mon, Mar 22, 2010 at 14:12, KT9AC \<kt9ac@ameritech.net\> wrote:
> 
> > Yes, that is correct.
> > 
> > Jim Duuuude wrote:
> > 
> > > okay, What I will do is have a list of "Unit-ID"'s that  
> > > can correspond to DTMF macros. In other words, you  
> > > could make unit ID 1234 be the same as pressing \*32000  
> > > or something like that.
> > > 
> > > Is that pretty much what you had in mind??
> > > 
> > > JIM WB6NIL
> > > 
> > > ----------------------------------------
> > > 
> > > > Date: Mon, 22 Mar 2010 13:42:50 -0500  
> > > > From: kt9ac@ameritech.net  
> > > > To: telesistant@hotmail.com  
> > > > CC: app\_rpt-users@qrvc.com  
> > > > Subject: Re: [App\_rpt-users] Anyone using MDC1200 for control?
> > > > 
> > > > Thanks Jim for the reply and interest. Basically I just want to  
> > > > send/decode the Unit ID that will be used as a control function (i.e.  
> > > > macro to connect up to site "X"), activity timer (link transmit  
> > > > authorization) or repeater access control. I like MDC since its a  
> > > > fixed-length packet, has error-correction built-in and once programmed  
> > > > in to a radio mode doesn't require using a DTMF mic while mobile.
> > > > 
> > > > Tony
> > > > 
> > > > Jim Duuuude wrote:
> > > > 
> > > > > Well, it could very easily. Im game.. (be sure you  
> > > > > pronounce that right) :-). What kind of MDC-1200  
> > > > > message type are you intending use (excuse the  
> > > > > possibility of this being a dumb question, but  
> > > > > the only thing Im familiar with MDC-1200 for is  
> > > > > UnitID).
> > > > > 
> > > > > JIM WB6NIL
> > > > > 
> > > > > ----------------------------------------
> > > > > 
> > > > > > Date: Sat, 20 Mar 2010 20:17:52 -0500  
> > > > > > From: kt9ac@ameritech.net  
> > > > > > To: App\_rpt-users@qrvc.com  
> > > > > > Subject: [App\_rpt-users] Anyone using MDC1200 for control?
> > > > > > 
> > > > > > Hi Everyone,  
> > > > > > New to the group and Asterisk; got my first node online today. I know  
> > > > > > there are libraries available from Matthew Kaufman for MDC1200 decoding,  
> > > > > > but haven't ventured into the code just yet. Does anyone have examples  
> > > > > > of what works and how difficult it was? I want to simply send an MDC ID  
> > > > > > into Asterisk to control my links/macros versus DTMF.
> > > > > > 
> > > > > > Thanks!  
> > > > > > Tony, KT9AC  
> > > > > > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > > > > > App\_rpt-users mailing list  
> > > > > > App\_rpt-users@qrvc.com  
> > > > > > [http://qrvc.com/mailman/listinfo/app\_rpt-users](http://qrvc.com/mailman/listinfo/app_rpt-users)
> > 
> > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > App\_rpt-users mailing list  
> > App\_rpt-users@qrvc.com  
> > [http://qrvc.com/mailman/listinfo/app\_rpt-users](http://qrvc.com/mailman/listinfo/app_rpt-users)

---

<div class="post-metadata">

**Author:** ![Telesistant](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/t/a87d85/32.png) [@Telesistant](https://community.allstarlink.org/u/Telesistant)\
**Post date:** [March 22, 2010, 11:24pm UTC](https://community.allstarlink.org/t/anyone-using-mdc1200-for-control/8164/7 "2010-03-22T23:24:42Z")

</div>

The new version of app\_rpt.c which will be posted on SVN  
this evening contains new code (experimental at this point)  
which allows you to put a '[mdcmacro]' stanza in your rpt.conf file  
where the entries under it are UnitID=DTMF Tones To RUN

So, like:

[mdcmacro]  
d00d=\*32000

If you have id d00d, it logs into hub node 2000.

If you send the same ID over and over again, it ignores  
subsequent duplicates.

If someone would find me a full copy of the MDC-1200 command  
set, I sure would appreciate it.

JIM WB6NIL

> **···**
>
> ----------------------------------------
> 
> > Date: Mon, 22 Mar 2010 16:44:50 -0500  
> > From: w9drr.ham@gmail.com  
> > To: kt9ac@ameritech.net  
> > CC: app\_rpt-users@qrvc.com  
> > Subject: Re: [App\_rpt-users] Anyone using MDC1200 for control?
> > 
> > Wouldn't it be better to use mdc status messages for control? The unit  
> > id is sent every transmission.  
> > You really wouldn't want a dtmf macro activated every time a unit  
> > transmits.. that could be real bad if you slip on the ptt.  
> > I can see it would be pretty easily to generate a couple commands by  
> > accident. I think MDC status messages are more  
> > up that alley.
> > 
> > My MDC-1200 biggest wish is an "MDC squelch" that will compare the  
> > unit-ID to a list, if in the list allow the audio to repeat.
> > 
> > A local ham repeater (fishfar) only allows access based on a known  
> > list of Unit IDs.
> > 
> > My concept would be status-1 to enable the repeater, status-2 disable,  
> > status-3 reboot the server, status-4 enable mdc-squech,  
> > status-5 enable pl squelch, status-6 send "ffff" all call. Something  
> > like that....
> > 
> > It would be really cool if we could also have the ability to generate  
> > MDC messages. a command like rpt mdc 2090 ffff which would generate  
> > an ffff all call on node 2090 would be really appreciated.
> > 
> > Being able to watch the output of the decoder into a log would help  
> > find what codes are being seen.
> > 
> > In the mean time, I recorded my ht sending the "all call" and play the  
> > wav file back. It does activate all the radios each time it's sent.
> > 
> > --  
> > Don Russell, CBRE  
> > W9DRR - ARRL OES, Technical Specialist  
> > --
> > 
> > On Mon, Mar 22, 2010 at 14:12, KT9AC wrote:
> > 
> > > Yes, that is correct.
> > > 
> > > Jim Duuuude wrote:
> > > 
> > > > okay, What I will do is have a list of "Unit-ID"'s that  
> > > > can correspond to DTMF macros. In other words, you  
> > > > could make unit ID 1234 be the same as pressing \*32000  
> > > > or something like that.
> > > > 
> > > > Is that pretty much what you had in mind??
> > > > 
> > > > JIM WB6NIL
> > > > 
> > > > ----------------------------------------
> > > > 
> > > > > Date: Mon, 22 Mar 2010 13:42:50 -0500  
> > > > > From: kt9ac@ameritech.net  
> > > > > To: telesistant@hotmail.com  
> > > > > CC: app\_rpt-users@qrvc.com  
> > > > > Subject: Re: [App\_rpt-users] Anyone using MDC1200 for control?
> > > > > 
> > > > > Thanks Jim for the reply and interest. Basically I just want to  
> > > > > send/decode the Unit ID that will be used as a control function (i.e.  
> > > > > macro to connect up to site "X"), activity timer (link transmit  
> > > > > authorization) or repeater access control. I like MDC since its a  
> > > > > fixed-length packet, has error-correction built-in and once programmed  
> > > > > in to a radio mode doesn't require using a DTMF mic while mobile.
> > > > > 
> > > > > Tony
> > > > > 
> > > > > Jim Duuuude wrote:
> > > > > 
> > > > > > Well, it could very easily. Im game.. (be sure you  
> > > > > > pronounce that right) :-). What kind of MDC-1200  
> > > > > > message type are you intending use (excuse the  
> > > > > > possibility of this being a dumb question, but  
> > > > > > the only thing Im familiar with MDC-1200 for is  
> > > > > > UnitID).
> > > > > > 
> > > > > > JIM WB6NIL
> > > > > > 
> > > > > > ----------------------------------------
> > > > > > 
> > > > > > > Date: Sat, 20 Mar 2010 20:17:52 -0500  
> > > > > > > From: kt9ac@ameritech.net  
> > > > > > > To: App\_rpt-users@qrvc.com  
> > > > > > > Subject: [App\_rpt-users] Anyone using MDC1200 for control?
> > > > > > > 
> > > > > > > Hi Everyone,  
> > > > > > > New to the group and Asterisk; got my first node online today. I know  
> > > > > > > there are libraries available from Matthew Kaufman for MDC1200 decoding,  
> > > > > > > but haven't ventured into the code just yet. Does anyone have examples  
> > > > > > > of what works and how difficult it was? I want to simply send an MDC ID  
> > > > > > > into Asterisk to control my links/macros versus DTMF.
> > > > > > > 
> > > > > > > Thanks!  
> > > > > > > Tony, KT9AC  
> > > > > > > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > > > > > > App\_rpt-users mailing list  
> > > > > > > App\_rpt-users@qrvc.com  
> > > > > > > [http://qrvc.com/mailman/listinfo/app\_rpt-users](http://qrvc.com/mailman/listinfo/app_rpt-users)
> > > 
> > > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > > App\_rpt-users mailing list  
> > > App\_rpt-users@qrvc.com  
> > > [http://qrvc.com/mailman/listinfo/app\_rpt-users](http://qrvc.com/mailman/listinfo/app_rpt-users)
> > 
> > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > App\_rpt-users mailing list  
> > App\_rpt-users@qrvc.com  
> > [http://qrvc.com/mailman/listinfo/app\_rpt-users](http://qrvc.com/mailman/listinfo/app_rpt-users)

---

<div class="post-metadata">

**Author:** ![Kt9ac](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/k/a4c791/32.png) [@Kt9ac](https://community.allstarlink.org/u/Kt9ac)\
**Post date:** [March 23, 2010, 12:26am UTC](https://community.allstarlink.org/t/anyone-using-mdc1200-for-control/8164/8 "2010-03-23T00:26:06Z")

</div>

Great! I never expected this so quickly. I'll grab a copy, compile and start testing. I'll do my part and try to find online documentation about the data layout for MDC.

Tony

Jim Duuuude wrote:

> **···**
>
> > The new version of app\_rpt.c which will be posted on SVN  
> > this evening contains new code (experimental at this point)  
> > which allows you to put a '[mdcmacro]' stanza in your rpt.conf file  
> > where the entries under it are UnitID=DTMF Tones To RUN
> > 
> > So, like:
> > 
> > [mdcmacro]  
> > d00d=\*32000
> > 
> > If you have id d00d, it logs into hub node 2000.
> > 
> > If you send the same ID over and over again, it ignores  
> > subsequent duplicates.
> > 
> > If someone would find me a full copy of the MDC-1200 command  
> > set, I sure would appreciate it.
> > 
> > JIM WB6NIL
> > 
> > ----------------------------------------  
> > &nbsp;&nbsp;
> > 
> > > Date: Mon, 22 Mar 2010 16:44:50 -0500  
> > > From: w9drr.ham@gmail.com  
> > > To: kt9ac@ameritech.net  
> > > CC: app\_rpt-users@qrvc.com  
> > > Subject: Re: [App\_rpt-users] Anyone using MDC1200 for control?
> > > 
> > > Wouldn't it be better to use mdc status messages for control? The unit  
> > > id is sent every transmission.  
> > > You really wouldn't want a dtmf macro activated every time a unit  
> > > transmits.. that could be real bad if you slip on the ptt.  
> > > I can see it would be pretty easily to generate a couple commands by  
> > > accident. I think MDC status messages are more  
> > > up that alley.
> > > 
> > > My MDC-1200 biggest wish is an "MDC squelch" that will compare the  
> > > unit-ID to a list, if in the list allow the audio to repeat.
> > > 
> > > A local ham repeater (fishfar) only allows access based on a known  
> > > list of Unit IDs.
> > > 
> > > My concept would be status-1 to enable the repeater, status-2 disable,  
> > > status-3 reboot the server, status-4 enable mdc-squech,  
> > > status-5 enable pl squelch, status-6 send "ffff" all call. Something  
> > > like that....
> > > 
> > > It would be really cool if we could also have the ability to generate  
> > > MDC messages. a command like rpt mdc 2090 ffff which would generate  
> > > an ffff all call on node 2090 would be really appreciated.
> > > 
> > > Being able to watch the output of the decoder into a log would help  
> > > find what codes are being seen.
> > > 
> > > In the mean time, I recorded my ht sending the "all call" and play the  
> > > wav file back. It does activate all the radios each time it's sent.
> > > 
> > > --  
> > > Don Russell, CBRE  
> > > W9DRR - ARRL OES, Technical Specialist  
> > > --
> > > 
> > > On Mon, Mar 22, 2010 at 14:12, KT9AC wrote:  
> > > &nbsp;&nbsp;&nbsp;&nbsp;
> > > 
> > > > Yes, that is correct.
> > > > 
> > > > Jim Duuuude wrote:  
> > > > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> > > > 
> > > > > okay, What I will do is have a list of "Unit-ID"'s that  
> > > > > can correspond to DTMF macros. In other words, you  
> > > > > could make unit ID 1234 be the same as pressing \*32000  
> > > > > or something like that.
> > > > > 
> > > > > Is that pretty much what you had in mind??
> > > > > 
> > > > > JIM WB6NIL
> > > > > 
> > > > > ----------------------------------------
> > > > > 
> > > > > > Date: Mon, 22 Mar 2010 13:42:50 -0500  
> > > > > > From: kt9ac@ameritech.net  
> > > > > > To: telesistant@hotmail.com  
> > > > > > CC: app\_rpt-users@qrvc.com  
> > > > > > Subject: Re: [App\_rpt-users] Anyone using MDC1200 for control?
> > > > > > 
> > > > > > Thanks Jim for the reply and interest. Basically I just want to  
> > > > > > send/decode the Unit ID that will be used as a control function (i.e.  
> > > > > > macro to connect up to site "X"), activity timer (link transmit  
> > > > > > authorization) or repeater access control. I like MDC since its a  
> > > > > > fixed-length packet, has error-correction built-in and once programmed  
> > > > > > in to a radio mode doesn't require using a DTMF mic while mobile.
> > > > > > 
> > > > > > Tony
> > > > > > 
> > > > > > Jim Duuuude wrote:
> > > > > > 
> > > > > > > Well, it could very easily. Im game.. (be sure you  
> > > > > > > pronounce that right) :-). What kind of MDC-1200  
> > > > > > > message type are you intending use (excuse the  
> > > > > > > possibility of this being a dumb question, but  
> > > > > > > the only thing Im familiar with MDC-1200 for is  
> > > > > > > UnitID).
> > > > > > > 
> > > > > > > JIM WB6NIL
> > > > > > > 
> > > > > > > ----------------------------------------
> > > > > > > 
> > > > > > > > Date: Sat, 20 Mar 2010 20:17:52 -0500  
> > > > > > > > From: kt9ac@ameritech.net  
> > > > > > > > To: App\_rpt-users@qrvc.com  
> > > > > > > > Subject: [App\_rpt-users] Anyone using MDC1200 for control?
> > > > > > > > 
> > > > > > > > Hi Everyone,  
> > > > > > > > New to the group and Asterisk; got my first node online today. I know  
> > > > > > > > there are libraries available from Matthew Kaufman for MDC1200 decoding,  
> > > > > > > > but haven't ventured into the code just yet. Does anyone have examples  
> > > > > > > > of what works and how difficult it was? I want to simply send an MDC ID  
> > > > > > > > into Asterisk to control my links/macros versus DTMF.
> > > > > > > > 
> > > > > > > > Thanks!  
> > > > > > > > Tony, KT9AC  
> > > > > > > > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > > > > > > > App\_rpt-users mailing list  
> > > > > > > > App\_rpt-users@qrvc.com  
> > > > > > > > [http://qrvc.com/mailman/listinfo/app\_rpt-users](http://qrvc.com/mailman/listinfo/app_rpt-users)
> > > > 
> > > > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > > > App\_rpt-users mailing list  
> > > > App\_rpt-users@qrvc.com  
> > > > [http://qrvc.com/mailman/listinfo/app\_rpt-users](http://qrvc.com/mailman/listinfo/app_rpt-users)
> > > 
> > > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > > App\_rpt-users mailing list  
> > > App\_rpt-users@qrvc.com  
> > > [http://qrvc.com/mailman/listinfo/app\_rpt-users](http://qrvc.com/mailman/listinfo/app_rpt-users)  
> > > &nbsp;&nbsp;&nbsp;&nbsp;

---

<div class="post-metadata">

**Author:** ![Bbrown](https://community.allstarlink.org/user_avatar/community.allstarlink.org/bbrown/32/812_2.png) [@Bbrown](https://community.allstarlink.org/u/Bbrown)\
**Post date:** [March 23, 2010, 12:51am UTC](https://community.allstarlink.org/t/anyone-using-mdc1200-for-control/8164/9 "2010-03-23T00:51:13Z")

</div>

some info i found on the subject:

[http://batboard.batlabs.com/viewtopic.php?t=36459](http://batboard.batlabs.com/viewtopic.php?t=36459)

[http://www.antistatic.org/winmdcd/](http://www.antistatic.org/winmdcd/)

[http://www.matthew.at/mdc/](http://www.matthew.at/mdc/)

> **···**
>
> –  
> Thanks in Advance
> 
> Bob Brown, WØNQX
> 
> Kansas City Metro Area
> 
> [http://sm0kenet.net](http://sm0kenet.net)
> 
> [http://byrg.net](http://byrg.net)
> 
> [http://kcdstar.byrg.net](http://kcdstar.byrg.net)
> 
> Quis custodiet ipsos custodes?
> 
> On Mon, Mar 22, 2010 at 19:26, KT9AC [kt9ac@ameritech.net](mailto:kt9ac@ameritech.net) wrote:
> 
> > Great! I never expected this so quickly. I’ll grab a copy, compile and
> > 
> > start testing. I’ll do my part and try to find online documentation
> > 
> > about the data layout for MDC.
> > 
> > Tony
> 
> > Jim Duuuude wrote:
> > 
> > > The new version of app\_rpt.c which will be posted on SVN
> > 
> > > this evening contains new code (experimental at this point)
> > 
> > > which allows you to put a ‘[mdcmacro]’ stanza in your rpt.conf file
> > 
> > > where the entries under it are UnitID=DTMF Tones To RUN
> > 
> > > 
> > 
> > > So, like:
> > 
> > > 
> > 
> > > [mdcmacro]
> > 
> > > d00d=\*32000
> > 
> > > 
> > 
> > > If you have id d00d, it logs into hub node 2000.
> > 
> > > 
> > 
> > > If you send the same ID over and over again, it ignores
> > 
> > > subsequent duplicates.
> > 
> > > 
> > 
> > > If someone would find me a full copy of the MDC-1200 command
> > 
> > > set, I sure would appreciate it.
> > 
> > > 
> > 
> > > JIM WB6NIL
> > 
> > > 
> > 
> > > 
> > 
> > > 
> > 
> > > * * *
> > 
> > > 
> > 
> > > > Date: Mon, 22 Mar 2010 16:44:50 -0500
> > 
> > > > From: [w9drr.ham@gmail.com](mailto:w9drr.ham@gmail.com)
> > 
> > > > To: [kt9ac@ameritech.net](mailto:kt9ac@ameritech.net)
> > 
> > > > CC: [app\_rpt-users@qrvc.com](mailto:app_rpt-users@qrvc.com)
> > 
> > > > Subject: Re: [App\_rpt-users] Anyone using MDC1200 for control?
> > 
> > > >
> > 
> > > > Wouldn’t it be better to use mdc status messages for control? The unit
> > 
> > > > id is sent every transmission.
> > 
> > > > You really wouldn’t want a dtmf macro activated every time a unit
> > 
> > > > transmits… that could be real bad if you slip on the ptt.
> > 
> > > > I can see it would be pretty easily to generate a couple commands by
> > 
> > > > accident. I think MDC status messages are more
> > 
> > > > up that alley.
> > 
> > > >
> > 
> > > > My MDC-1200 biggest wish is an “MDC squelch” that will compare the
> > 
> > > > unit-ID to a list, if in the list allow the audio to repeat.
> > 
> > > >
> > 
> > > > A local ham repeater (fishfar) only allows access based on a known
> > 
> > > > list of Unit IDs.
> > 
> > > >
> > 
> > > > My concept would be status-1 to enable the repeater, status-2 disable,
> > 
> > > > status-3 reboot the server, status-4 enable mdc-squech,
> > 
> > > > status-5 enable pl squelch, status-6 send “ffff” all call. Something
> > 
> > > > like that…
> > 
> > > >
> > 
> > > > It would be really cool if we could also have the ability to generate
> > 
> > > > MDC messages. a command like rpt mdc 2090 ffff which would generate
> > 
> > > > an ffff all call on node 2090 would be really appreciated.
> > 
> > > >
> > 
> > > > Being able to watch the output of the decoder into a log would help
> > 
> > > > find what codes are being seen.
> > 
> > > >
> > 
> > > > In the mean time, I recorded my ht sending the “all call” and play the
> > 
> > > > wav file back. It does activate all the radios each time it’s sent.
> > 
> > > >
> > 
> > > > –
> > 
> > > > Don Russell, CBRE
> > 
> > > > W9DRR - ARRL OES, Technical Specialist
> > 
> > > > –
> > 
> > > >
> > 
> > > >
> > 
> > > >
> > 
> > > > On Mon, Mar 22, 2010 at 14:12, KT9AC wrote:
> > 
> > > >
> > 
> > > > > Yes, that is correct.
> > 
> > > > >
> > 
> > > > > Jim Duuuude wrote:
> > 
> > > > >
> > 
> > > > > > okay, What I will do is have a list of “Unit-ID”'s that
> > 
> > > > > > can correspond to DTMF macros. In other words, you
> > 
> > > > > > could make unit ID 1234 be the same as pressing \*32000
> > 
> > > > > > or something like that.
> > 
> > > > > >
> > 
> > > > > > Is that pretty much what you had in mind??
> > 
> > > > > >
> > 
> > > > > > JIM WB6NIL
> > 
> > > > > >
> > 
> > > > > > * * *
> > 
> > > > > >
> > 
> > > > > >
> > 
> > > > > > > Date: Mon, 22 Mar 2010 13:42:50 -0500
> > 
> > > > > > > From: [kt9ac@ameritech.net](mailto:kt9ac@ameritech.net)
> > 
> > > > > > > To: [telesistant@hotmail.com](mailto:telesistant@hotmail.com)
> > 
> > > > > > > CC: [app\_rpt-users@qrvc.com](mailto:app_rpt-users@qrvc.com)
> > 
> > > > > > > Subject: Re: [App\_rpt-users] Anyone using MDC1200 for control?
> > 
> > > > > > >
> > 
> > > > > > > Thanks Jim for the reply and interest. Basically I just want to
> > 
> > > > > > > send/decode the Unit ID that will be used as a control function (i.e.
> > 
> > > > > > > macro to connect up to site “X”), activity timer (link transmit
> > 
> > > > > > > authorization) or repeater access control. I like MDC since its a
> > 
> > > > > > > fixed-length packet, has error-correction built-in and once programmed
> > 
> > > > > > > in to a radio mode doesn’t require using a DTMF mic while mobile.
> > 
> > > > > > >
> > 
> > > > > > > Tony
> > 
> > > > > > >
> > 
> > > > > > > Jim Duuuude wrote:
> > 
> > > > > > >
> > 
> > > > > > >
> > 
> > > > > > > > Well, it could very easily. Im game… (be sure you
> > 
> > > > > > > > pronounce that right) :-). What kind of MDC-1200
> > 
> > > > > > > > message type are you intending use (excuse the
> > 
> > > > > > > > possibility of this being a dumb question, but
> > 
> > > > > > > > the only thing Im familiar with MDC-1200 for is
> > 
> > > > > > > > UnitID).
> > 
> > > > > > > >
> > 
> > > > > > > > JIM WB6NIL
> > 
> > > > > > > >
> > 
> > > > > > > > * * *
> > 
> > > > > > > >
> > 
> > > > > > > >
> > 
> > > > > > > >
> > 
> > > > > > > > > Date: Sat, 20 Mar 2010 20:17:52 -0500
> > 
> > > > > > > > > From: [kt9ac@ameritech.net](mailto:kt9ac@ameritech.net)
> > 
> > > > > > > > > To: [App\_rpt-users@qrvc.com](mailto:App_rpt-users@qrvc.com)
> > 
> > > > > > > > > Subject: [App\_rpt-users] Anyone using MDC1200 for control?
> > 
> > > > > > > > >
> > 
> > > > > > > > > Hi Everyone,
> > 
> > > > > > > > > New to the group and Asterisk; got my first node online today. I know
> > 
> > > > > > > > > there are libraries available from Matthew Kaufman for MDC1200 decoding,
> > 
> > > > > > > > > but haven’t ventured into the code just yet. Does anyone have examples
> > 
> > > > > > > > > of what works and how difficult it was? I want to simply send an MDC ID
> > 
> > > > > > > > > into Asterisk to control my links/macros versus DTMF.
> > 
> > > > > > > > >
> > 
> > > > > > > > > Thanks!
> > 
> > > > > > > > > Tony, KT9AC
> > 
> > > > > > > > > * * *
> > 
> > > > > > > > > App\_rpt-users mailing list
> > 
> > > > > > > > > [App\_rpt-users@qrvc.com](mailto:App_rpt-users@qrvc.com)
> > 
> > > > > > > > > [http://qrvc.com/mailman/listinfo/app\_rpt-users](http://qrvc.com/mailman/listinfo/app_rpt-users)
> > 
> > > > > > > > >
> > 
> > > > > > > > >
> > 
> > > > > > > > >
> > 
> > > > > >
> > 
> > > > > * * *
> > 
> > > > > App\_rpt-users mailing list
> > 
> > > > > [App\_rpt-users@qrvc.com](mailto:App_rpt-users@qrvc.com)
> > 
> > > > > [http://qrvc.com/mailman/listinfo/app\_rpt-users](http://qrvc.com/mailman/listinfo/app_rpt-users)
> > 
> > > > >
> > 
> > > > >
> > 
> > > > * * *
> > 
> > > > App\_rpt-users mailing list
> > 
> > > > [App\_rpt-users@qrvc.com](mailto:App_rpt-users@qrvc.com)
> > 
> > > > [http://qrvc.com/mailman/listinfo/app\_rpt-users](http://qrvc.com/mailman/listinfo/app_rpt-users)
> > 
> > > >
> > 
> > > 
> > 
> > > 
> > 
> > * * *
> > 
> > App\_rpt-users mailing list
> > 
> > [App\_rpt-users@qrvc.com](mailto:App_rpt-users@qrvc.com)
> > 
> > [http://qrvc.com/mailman/listinfo/app\_rpt-users](http://qrvc.com/mailman/listinfo/app_rpt-users)

---

<div class="post-metadata">

**Author:** ![Kb2ear](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/k/9de0a6/32.png) [@Kb2ear](https://community.allstarlink.org/u/Kb2ear)\
**Post date:** [March 23, 2010, 3:35pm UTC](https://community.allstarlink.org/t/anyone-using-mdc1200-for-control/8164/10 "2010-03-23T15:35:58Z")

</div>

So how can you tell if the MDC is decoding? Is there a debug statement?

Scott

> **···**
>
> ----- Original Message ----- From: "KT9AC" \<kt9ac@ameritech.net\>  
> To: "app\_rpt mailing list" \<app\_rpt-users@qrvc.com\>  
> Sent: Monday, March 22, 2010 8:26 PM  
> Subject: Re: [App\_rpt-users] Anyone using MDC1200 for control?
> 
> > Great! I never expected this so quickly. I'll grab a copy, compile and  
> > start testing. I'll do my part and try to find online documentation  
> > about the data layout for MDC.
> > 
> > Tony
> > 
> > Jim Duuuude wrote:
> > 
> > > The new version of app\_rpt.c which will be posted on SVN  
> > > this evening contains new code (experimental at this point)  
> > > which allows you to put a '[mdcmacro]' stanza in your rpt.conf file  
> > > where the entries under it are UnitID=DTMF Tones To RUN
> > > 
> > > So, like:
> > > 
> > > [mdcmacro]  
> > > d00d=\*32000
> > > 
> > > If you have id d00d, it logs into hub node 2000.
> > > 
> > > If you send the same ID over and over again, it ignores  
> > > subsequent duplicates.
> > > 
> > > If someone would find me a full copy of the MDC-1200 command  
> > > set, I sure would appreciate it.
> > > 
> > > JIM WB6NIL
> > > 
> > > ----------------------------------------
> > > 
> > > > Date: Mon, 22 Mar 2010 16:44:50 -0500  
> > > > From: w9drr.ham@gmail.com  
> > > > To: kt9ac@ameritech.net  
> > > > CC: app\_rpt-users@qrvc.com  
> > > > Subject: Re: [App\_rpt-users] Anyone using MDC1200 for control?
> > > > 
> > > > Wouldn't it be better to use mdc status messages for control? The unit  
> > > > id is sent every transmission.  
> > > > You really wouldn't want a dtmf macro activated every time a unit  
> > > > transmits.. that could be real bad if you slip on the ptt.  
> > > > I can see it would be pretty easily to generate a couple commands by  
> > > > accident. I think MDC status messages are more  
> > > > up that alley.
> > > > 
> > > > My MDC-1200 biggest wish is an "MDC squelch" that will compare the  
> > > > unit-ID to a list, if in the list allow the audio to repeat.
> > > > 
> > > > A local ham repeater (fishfar) only allows access based on a known  
> > > > list of Unit IDs.
> > > > 
> > > > My concept would be status-1 to enable the repeater, status-2 disable,  
> > > > status-3 reboot the server, status-4 enable mdc-squech,  
> > > > status-5 enable pl squelch, status-6 send "ffff" all call. Something  
> > > > like that....
> > > > 
> > > > It would be really cool if we could also have the ability to generate  
> > > > MDC messages. a command like rpt mdc 2090 ffff which would generate  
> > > > an ffff all call on node 2090 would be really appreciated.
> > > > 
> > > > Being able to watch the output of the decoder into a log would help  
> > > > find what codes are being seen.
> > > > 
> > > > In the mean time, I recorded my ht sending the "all call" and play the  
> > > > wav file back. It does activate all the radios each time it's sent.
> > > > 
> > > > --  
> > > > Don Russell, CBRE  
> > > > W9DRR - ARRL OES, Technical Specialist  
> > > > --
> > > > 
> > > > On Mon, Mar 22, 2010 at 14:12, KT9AC wrote:
> > > > 
> > > > > Yes, that is correct.
> > > > > 
> > > > > Jim Duuuude wrote:
> > > > > 
> > > > > > okay, What I will do is have a list of "Unit-ID"'s that  
> > > > > > can correspond to DTMF macros. In other words, you  
> > > > > > could make unit ID 1234 be the same as pressing \*32000  
> > > > > > or something like that.
> > > > > > 
> > > > > > Is that pretty much what you had in mind??
> > > > > > 
> > > > > > JIM WB6NIL
> > > > > > 
> > > > > > ----------------------------------------
> > > > > > 
> > > > > > > Date: Mon, 22 Mar 2010 13:42:50 -0500  
> > > > > > > From: kt9ac@ameritech.net  
> > > > > > > To: telesistant@hotmail.com  
> > > > > > > CC: app\_rpt-users@qrvc.com  
> > > > > > > Subject: Re: [App\_rpt-users] Anyone using MDC1200 for control?
> > > > > > > 
> > > > > > > Thanks Jim for the reply and interest. Basically I just want to  
> > > > > > > send/decode the Unit ID that will be used as a control function (i.e.  
> > > > > > > macro to connect up to site "X"), activity timer (link transmit  
> > > > > > > authorization) or repeater access control. I like MDC since its a  
> > > > > > > fixed-length packet, has error-correction built-in and once programmed  
> > > > > > > in to a radio mode doesn't require using a DTMF mic while mobile.
> > > > > > > 
> > > > > > > Tony
> > > > > > > 
> > > > > > > Jim Duuuude wrote:
> > > > > > > 
> > > > > > > > Well, it could very easily. Im game.. (be sure you  
> > > > > > > > pronounce that right) :-). What kind of MDC-1200  
> > > > > > > > message type are you intending use (excuse the  
> > > > > > > > possibility of this being a dumb question, but  
> > > > > > > > the only thing Im familiar with MDC-1200 for is  
> > > > > > > > UnitID).
> > > > > > > > 
> > > > > > > > JIM WB6NIL
> > > > > > > > 
> > > > > > > > ----------------------------------------
> > > > > > > > 
> > > > > > > > > Date: Sat, 20 Mar 2010 20:17:52 -0500  
> > > > > > > > > From: kt9ac@ameritech.net  
> > > > > > > > > To: App\_rpt-users@qrvc.com  
> > > > > > > > > Subject: [App\_rpt-users] Anyone using MDC1200 for control?
> > > > > > > > > 
> > > > > > > > > Hi Everyone,  
> > > > > > > > > New to the group and Asterisk; got my first node online today. I know  
> > > > > > > > > there are libraries available from Matthew Kaufman for MDC1200 decoding,  
> > > > > > > > > but haven't ventured into the code just yet. Does anyone have examples  
> > > > > > > > > of what works and how difficult it was? I want to simply send an MDC ID  
> > > > > > > > > into Asterisk to control my links/macros versus DTMF.
> > > > > > > > > 
> > > > > > > > > Thanks!  
> > > > > > > > > Tony, KT9AC  
> > > > > > > > > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > > > > > > > > App\_rpt-users mailing list  
> > > > > > > > > App\_rpt-users@qrvc.com  
> > > > > > > > > [http://qrvc.com/mailman/listinfo/app\_rpt-users](http://qrvc.com/mailman/listinfo/app_rpt-users)
> > > > > 
> > > > > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > > > > App\_rpt-users mailing list  
> > > > > App\_rpt-users@qrvc.com  
> > > > > [http://qrvc.com/mailman/listinfo/app\_rpt-users](http://qrvc.com/mailman/listinfo/app_rpt-users)
> > > > 
> > > > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > > > App\_rpt-users mailing list  
> > > > App\_rpt-users@qrvc.com  
> > > > [http://qrvc.com/mailman/listinfo/app\_rpt-users](http://qrvc.com/mailman/listinfo/app_rpt-users)
> > 
> > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > App\_rpt-users mailing list  
> > App\_rpt-users@qrvc.com  
> > [http://qrvc.com/mailman/listinfo/app\_rpt-users](http://qrvc.com/mailman/listinfo/app_rpt-users)

---

<div class="post-metadata">

**Author:** ![Telesistant](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/t/a87d85/32.png) [@Telesistant](https://community.allstarlink.org/u/Telesistant)\
**Post date:** [March 23, 2010, 7:13pm UTC](https://community.allstarlink.org/t/anyone-using-mdc1200-for-control/8164/11 "2010-03-23T19:13:51Z")

</div>

Yes, it makes some output when it happily decodes a unit id

For those wanting extra functionality for "buttons" or whatever  
it is your radios are equipped with. If someone could give me  
a recording (of the receive input of a receiver listening  
to your transmiter) of the output your transmitter as you  
press the buttons you are interested in, and then tell me what  
you pressed in what order, I could use that recording to do  
what I need to do. Probably the best way to accomplish the recording  
is to use the URI as a regular sound device (like on a windows machine  
or Linux) and use a standard sound recorder program or editor  
(like audacity) to make the recording.

Thanks!!

JIM WB6NIL

> **···**
>
> ----------------------------------------
> 
> > From: kb2ear@kb2ear.net  
> > To: app\_rpt-users@qrvc.com  
> > Date: Tue, 23 Mar 2010 11:35:58 -0400  
> > Subject: Re: [App\_rpt-users] Anyone using MDC1200 for control?
> > 
> > So how can you tell if the MDC is decoding? Is there a debug statement?
> > 
> > Scott  
> > ----- Original Message -----  
> > From: "KT9AC"  
> > To: "app\_rpt mailing list"  
> > Sent: Monday, March 22, 2010 8:26 PM  
> > Subject: Re: [App\_rpt-users] Anyone using MDC1200 for control?
> > 
> > > Great! I never expected this so quickly. I'll grab a copy, compile and  
> > > start testing. I'll do my part and try to find online documentation  
> > > about the data layout for MDC.
> > > 
> > > Tony
> > > 
> > > Jim Duuuude wrote:
> > > 
> > > > The new version of app\_rpt.c which will be posted on SVN  
> > > > this evening contains new code (experimental at this point)  
> > > > which allows you to put a '[mdcmacro]' stanza in your rpt.conf file  
> > > > where the entries under it are UnitID=DTMF Tones To RUN
> > > > 
> > > > So, like:
> > > > 
> > > > [mdcmacro]  
> > > > d00d=\*32000
> > > > 
> > > > If you have id d00d, it logs into hub node 2000.
> > > > 
> > > > If you send the same ID over and over again, it ignores  
> > > > subsequent duplicates.
> > > > 
> > > > If someone would find me a full copy of the MDC-1200 command  
> > > > set, I sure would appreciate it.
> > > > 
> > > > JIM WB6NIL
> > > > 
> > > > ----------------------------------------
> > > > 
> > > > > Date: Mon, 22 Mar 2010 16:44:50 -0500  
> > > > > From: w9drr.ham@gmail.com  
> > > > > To: kt9ac@ameritech.net  
> > > > > CC: app\_rpt-users@qrvc.com  
> > > > > Subject: Re: [App\_rpt-users] Anyone using MDC1200 for control?
> > > > > 
> > > > > Wouldn't it be better to use mdc status messages for control? The unit  
> > > > > id is sent every transmission.  
> > > > > You really wouldn't want a dtmf macro activated every time a unit  
> > > > > transmits.. that could be real bad if you slip on the ptt.  
> > > > > I can see it would be pretty easily to generate a couple commands by  
> > > > > accident. I think MDC status messages are more  
> > > > > up that alley.
> > > > > 
> > > > > My MDC-1200 biggest wish is an "MDC squelch" that will compare the  
> > > > > unit-ID to a list, if in the list allow the audio to repeat.
> > > > > 
> > > > > A local ham repeater (fishfar) only allows access based on a known  
> > > > > list of Unit IDs.
> > > > > 
> > > > > My concept would be status-1 to enable the repeater, status-2 disable,  
> > > > > status-3 reboot the server, status-4 enable mdc-squech,  
> > > > > status-5 enable pl squelch, status-6 send "ffff" all call. Something  
> > > > > like that....
> > > > > 
> > > > > It would be really cool if we could also have the ability to generate  
> > > > > MDC messages. a command like rpt mdc 2090 ffff which would generate  
> > > > > an ffff all call on node 2090 would be really appreciated.
> > > > > 
> > > > > Being able to watch the output of the decoder into a log would help  
> > > > > find what codes are being seen.
> > > > > 
> > > > > In the mean time, I recorded my ht sending the "all call" and play the  
> > > > > wav file back. It does activate all the radios each time it's sent.
> > > > > 
> > > > > --  
> > > > > Don Russell, CBRE  
> > > > > W9DRR - ARRL OES, Technical Specialist  
> > > > > --
> > > > > 
> > > > > On Mon, Mar 22, 2010 at 14:12, KT9AC wrote:
> > > > > 
> > > > > > Yes, that is correct.
> > > > > > 
> > > > > > Jim Duuuude wrote:
> > > > > > 
> > > > > > > okay, What I will do is have a list of "Unit-ID"'s that  
> > > > > > > can correspond to DTMF macros. In other words, you  
> > > > > > > could make unit ID 1234 be the same as pressing \*32000  
> > > > > > > or something like that.
> > > > > > > 
> > > > > > > Is that pretty much what you had in mind??
> > > > > > > 
> > > > > > > JIM WB6NIL
> > > > > > > 
> > > > > > > ----------------------------------------
> > > > > > > 
> > > > > > > > Date: Mon, 22 Mar 2010 13:42:50 -0500  
> > > > > > > > From: kt9ac@ameritech.net  
> > > > > > > > To: telesistant@hotmail.com  
> > > > > > > > CC: app\_rpt-users@qrvc.com  
> > > > > > > > Subject: Re: [App\_rpt-users] Anyone using MDC1200 for control?
> > > > > > > > 
> > > > > > > > Thanks Jim for the reply and interest. Basically I just want to  
> > > > > > > > send/decode the Unit ID that will be used as a control function (i.e.  
> > > > > > > > macro to connect up to site "X"), activity timer (link transmit  
> > > > > > > > authorization) or repeater access control. I like MDC since its a  
> > > > > > > > fixed-length packet, has error-correction built-in and once  
> > > > > > > > programmed  
> > > > > > > > in to a radio mode doesn't require using a DTMF mic while mobile.
> > > > > > > > 
> > > > > > > > Tony
> > > > > > > > 
> > > > > > > > Jim Duuuude wrote:
> > > > > > > > 
> > > > > > > > > Well, it could very easily. Im game.. (be sure you  
> > > > > > > > > pronounce that right) :-). What kind of MDC-1200  
> > > > > > > > > message type are you intending use (excuse the  
> > > > > > > > > possibility of this being a dumb question, but  
> > > > > > > > > the only thing Im familiar with MDC-1200 for is  
> > > > > > > > > UnitID).
> > > > > > > > > 
> > > > > > > > > JIM WB6NIL
> > > > > > > > > 
> > > > > > > > > ----------------------------------------
> > > > > > > > > 
> > > > > > > > > > Date: Sat, 20 Mar 2010 20:17:52 -0500  
> > > > > > > > > > From: kt9ac@ameritech.net  
> > > > > > > > > > To: App\_rpt-users@qrvc.com  
> > > > > > > > > > Subject: [App\_rpt-users] Anyone using MDC1200 for control?
> > > > > > > > > > 
> > > > > > > > > > Hi Everyone,  
> > > > > > > > > > New to the group and Asterisk; got my first node online today. I  
> > > > > > > > > > know  
> > > > > > > > > > there are libraries available from Matthew Kaufman for MDC1200  
> > > > > > > > > > decoding,  
> > > > > > > > > > but haven't ventured into the code just yet. Does anyone have  
> > > > > > > > > > examples  
> > > > > > > > > > of what works and how difficult it was? I want to simply send an  
> > > > > > > > > > MDC ID  
> > > > > > > > > > into Asterisk to control my links/macros versus DTMF.
> > > > > > > > > > 
> > > > > > > > > > Thanks!  
> > > > > > > > > > Tony, KT9AC  
> > > > > > > > > > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > > > > > > > > > App\_rpt-users mailing list  
> > > > > > > > > > App\_rpt-users@qrvc.com  
> > > > > > > > > > [http://qrvc.com/mailman/listinfo/app\_rpt-users](http://qrvc.com/mailman/listinfo/app_rpt-users)
> > > > > > 
> > > > > > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > > > > > App\_rpt-users mailing list  
> > > > > > App\_rpt-users@qrvc.com  
> > > > > > [http://qrvc.com/mailman/listinfo/app\_rpt-users](http://qrvc.com/mailman/listinfo/app_rpt-users)
> > > > > 
> > > > > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > > > > App\_rpt-users mailing list  
> > > > > App\_rpt-users@qrvc.com  
> > > > > [http://qrvc.com/mailman/listinfo/app\_rpt-users](http://qrvc.com/mailman/listinfo/app_rpt-users)
> > > 
> > > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > > App\_rpt-users mailing list  
> > > App\_rpt-users@qrvc.com  
> > > [http://qrvc.com/mailman/listinfo/app\_rpt-users](http://qrvc.com/mailman/listinfo/app_rpt-users)
> > 
> > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > App\_rpt-users mailing list  
> > App\_rpt-users@qrvc.com  
> > [http://qrvc.com/mailman/listinfo/app\_rpt-users](http://qrvc.com/mailman/listinfo/app_rpt-users)

---

<div class="post-metadata">

**Author:** ![Kt9ac](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/k/a4c791/32.png) [@Kt9ac](https://community.allstarlink.org/u/Kt9ac)\
**Post date:** [March 28, 2010, 4:45pm UTC](https://community.allstarlink.org/t/anyone-using-mdc1200-for-control/8164/12 "2010-03-28T16:45:54Z")

</div>

YES! This is working!!!!! I can't thank you enough for the effort. Now I can program up my radios to control the links remotely.

The console does what its supposed to, and the mdcmacro works 100% according to it.

I think this should be advertised as a major feature of Asterisk/Allstar.

Here is my output to confirm:

[mdcmacro]  
1234 = \*7  
a555 = \*81

astro\*CLI\>  
Got MDC-1200 (single-length) packet on node 27129:  
op: 01, arg: 80, UnitID: a555  
Got MDC-1200 ID A555 from local system (27129)  
&nbsp;&nbsp;&nbsp;&nbsp;-- \<Zap/pseudo-503514657\> Playing 'rpt/goodmorning' (language 'en')  
&nbsp;&nbsp;&nbsp;&nbsp;-- Hungup 'Zap/pseudo-1352653485'  
&nbsp;&nbsp;&nbsp;&nbsp;-- \<Zap/pseudo-503514657\> Playing 'rpt/thetimeis' (language 'en')  
&nbsp;&nbsp;&nbsp;&nbsp;-- \<Zap/pseudo-503514657\> Playing 'digits/11' (language 'en')  
&nbsp;&nbsp;&nbsp;&nbsp;-- \<Zap/pseudo-503514657\> Playing 'digits/30' (language 'en')  
&nbsp;&nbsp;&nbsp;&nbsp;-- \<Zap/pseudo-503514657\> Playing 'digits/3' (language 'en')  
&nbsp;&nbsp;&nbsp;&nbsp;-- \<Zap/pseudo-503514657\> Playing 'digits/a-m' (language 'en')  
&nbsp;&nbsp;&nbsp;&nbsp;-- Hungup 'Zap/pseudo-503514657'

Got MDC-1200 (single-length) packet on node 27129:  
op: 01, arg: 80, UnitID: 1234  
Got MDC-1200 ID 1234 from local system (27129)  
&nbsp;&nbsp;&nbsp;&nbsp;-- \<Zap/pseudo-415945723\> Playing 'rpt/node' (language 'en')  
&nbsp;&nbsp;&nbsp;&nbsp;-- Hungup 'Zap/pseudo-1850177399'  
&nbsp;&nbsp;&nbsp;&nbsp;-- \<Zap/pseudo-415945723\> Playing 'digits/2' (language 'en')  
&nbsp;&nbsp;&nbsp;&nbsp;-- \<Zap/pseudo-415945723\> Playing 'digits/7' (language 'en')  
&nbsp;&nbsp;&nbsp;&nbsp;-- \<Zap/pseudo-415945723\> Playing 'digits/1' (language 'en')  
&nbsp;&nbsp;&nbsp;&nbsp;-- \<Zap/pseudo-415945723\> Playing 'digits/2' (language 'en')  
&nbsp;&nbsp;&nbsp;&nbsp;-- \<Zap/pseudo-415945723\> Playing 'digits/9' (language 'en')  
&nbsp;&nbsp;&nbsp;&nbsp;-- \<Zap/pseudo-415945723\> Playing 'rpt/repeat\_only' (language 'en')  
&nbsp;&nbsp;&nbsp;&nbsp;-- Hungup 'Zap/pseudo-415945723'  
&nbsp;&nbsp;&nbsp;&nbsp;-- Hungup 'Zap/pseudo-1937793097'

Tony

Jim Duuuude wrote:

> **···**
>
> > I found a problem with the mdc-1200 decode routine and fixed it.  
> > Please download app\_rpt version 0.223 from SVN after it gets put  
> > up there later today (Sunday).
> > 
> > JIM WB6NIL

---

<div class="post-metadata">

**Author:** ![W9drr\_Ham](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/w/91b2a8/32.png) [@W9drr\_Ham](https://community.allstarlink.org/u/W9drr_Ham)\
**Post date:** [April 5, 2010, 9:39pm UTC](https://community.allstarlink.org/t/anyone-using-mdc1200-for-control/8164/13 "2010-04-05T21:39:51Z")

</div>

MDC info:

Here is a decoded direct page from 0684 to 1293  
Got MDC-1200 (double-length) packet on node 2090:  
op: 35, arg: 89, UnitID: 1293  
ex1: 80, ex2: 15, ex3: 06, ex4: 84  
That is an astro saber calling another astro saber.

Also:  
I used 889=cop,60,C,0377,0684,8015  
sent a \*889 and the repeater belched out a turkey gobble.  
0684's radio responded with the alert beep... which is the desired response.

Yeah......

> **···**
>
> --  
> Don Russell, CBRE  
> W9DRR - ARRL OES, Technical Specialist  
> --
> 
> On Sun, Mar 28, 2010 at 11:45, KT9AC \<kt9ac@ameritech.net\> wrote:
> 
> > YES! This is working!!!!! I can't thank you enough for the effort. Now  
> > I can program up my radios to control the links remotely.
> > 
> > The console does what its supposed to, and the mdcmacro works 100%  
> > according to it.
> > 
> > I think this should be advertised as a major feature of Asterisk/Allstar.
> > 
> > Here is my output to confirm:
> > 
> > [mdcmacro]  
> > 1234 = \*7  
> > a555 = \*81
> > 
> > astro\*CLI\>  
> > Got MDC-1200 (single-length) packet on node 27129:  
> > op: 01, arg: 80, UnitID: a555  
> > Got MDC-1200 ID A555 from local system (27129)  
> > -- \<Zap/pseudo-503514657\> Playing 'rpt/goodmorning' (language 'en')  
> > -- Hungup 'Zap/pseudo-1352653485'  
> > -- \<Zap/pseudo-503514657\> Playing 'rpt/thetimeis' (language 'en')  
> > -- \<Zap/pseudo-503514657\> Playing 'digits/11' (language 'en')  
> > -- \<Zap/pseudo-503514657\> Playing 'digits/30' (language 'en')  
> > -- \<Zap/pseudo-503514657\> Playing 'digits/3' (language 'en')  
> > -- \<Zap/pseudo-503514657\> Playing 'digits/a-m' (language 'en')  
> > -- Hungup 'Zap/pseudo-503514657'
> > 
> > Got MDC-1200 (single-length) packet on node 27129:  
> > op: 01, arg: 80, UnitID: 1234  
> > Got MDC-1200 ID 1234 from local system (27129)  
> > -- \<Zap/pseudo-415945723\> Playing 'rpt/node' (language 'en')  
> > -- Hungup 'Zap/pseudo-1850177399'  
> > -- \<Zap/pseudo-415945723\> Playing 'digits/2' (language 'en')  
> > -- \<Zap/pseudo-415945723\> Playing 'digits/7' (language 'en')  
> > -- \<Zap/pseudo-415945723\> Playing 'digits/1' (language 'en')  
> > -- \<Zap/pseudo-415945723\> Playing 'digits/2' (language 'en')  
> > -- \<Zap/pseudo-415945723\> Playing 'digits/9' (language 'en')  
> > -- \<Zap/pseudo-415945723\> Playing 'rpt/repeat\_only' (language 'en')  
> > -- Hungup 'Zap/pseudo-415945723'  
> > -- Hungup 'Zap/pseudo-1937793097'
> > 
> > Tony
> > 
> > Jim Duuuude wrote:
> > 
> > > I found a problem with the mdc-1200 decode routine and fixed it.  
> > > Please download app\_rpt version 0.223 from SVN after it gets put  
> > > up there later today (Sunday).
> > > 
> > > JIM WB6NIL
> > 
> > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > App\_rpt-users mailing list  
> > App\_rpt-users@qrvc.com  
> > [http://qrvc.com/mailman/listinfo/app\_rpt-users](http://qrvc.com/mailman/listinfo/app_rpt-users)
