The names I posted are only a example. use anything you want.

On 5/11/2016 1:59 PM, Robert Newberry wrote:
I get it kind of... I'm still a little confused.

I currently have the named section defined as. I use TG 42657 as my ID to access ASL.

[AMBE_PEER]
gatewaydmrId = 312307
tgFilter = 42657
txTg = 42657
txTs = 2

I put this right above what was already in the file so the next section is

[BM]
tgFilter = 3100, 31094
txTg = 3100
txTx = 2

So am I to assume that in my /opt/dmrlink/ambe_audio/dmrlink.cfg

that I should ass a section for BM with the relevant connection information? currently the only thing enabled is AMBE_PEER.

Will this be an issue since I already have a connection to Brandmeister already defined in /opt/dmrlink/bridge/dmrlink/cfg

Thank you.





On Wed, May 11, 2016 at 12:49 PM, Steve Zingman <szingman@msgstor.com> wrote:
It's easy to steer your DMRGateway via DTMF or CLI or AllMon or AndroidIAX. Consider the following snip from ambe_audio.cfg

section = BM                                    # Use BM section values

# order of precedence: dmrlink.cfg, section=, DEFAULTS

[BM]                                            # Listen to all, TX on TG3100 TS1
tgFilter = 3100,3106,31094                      # A list of TG IDs to monitor.  All TGs will be passed to DMRGateway
txTg = 3100                                     # TG to use for all frames received from DMRGateway -> IPSC
txTs = 2                                        # Slot to use for frames received from DMRGateway -> IPSC

[BM3100]                                        # Brandmeister
tgFilter = 3100                                 # USA Nationwide
txTg = 3100
txTs = 1

[BM3106]                                        # Brandmeister
tgFilter = 3106                                 # California Statewide
txTg = 3106
txTs = 2

[BM31094]                                       # Brandmeister
tgFilter = 31094                                # US call area 4
txTg = 31094
txTs = 1

[Sandbox]                                       # Sandbox network
tgFilter = 3120
txTg = 3120
txTs = 2

[LOCAL]                                         # Local network
tgFilter = 3
txTg = 3
txTs = 2

[Shutup]                                        # Be quiet
tgFilter = 0
txTg = 0
txTs = 2

/etc/asterisk/rpt.conf

; DMRGateway Commands

73 = cmd,/bin/bash -c 'echo -n "section=Shutup" | nc 127.0.0.1 31002'
74 = cmd,/bin/bash -c 'echo -n "section=BM" | nc 127.0.0.1 31002'
76 = cmd,/bin/bash -c 'echo -n "section=DMR-MARC" | nc 127.0.0.1 31002'
77 = cmd,/bin/bash -c 'echo -n "section=BM3100" | nc 127.0.0.1 31002'
78 = cmd,/bin/bash -c 'echo -n "section=BM3106" | nc 127.0.0.1 31002'
79 = cmd,/bin/bash -c 'echo -n "section=BM31094" | nc 127.0.0.1 31002'

Issue a *73 from a radio (simplified for example) and ambe_audio will use the section [Shutup]
Issue a *77 from a radio (simplified for example) and ambe_audio will use the section [BM3100]
Replace radio with CLI or AllMon or AndroidIAX.
Add a script to cron
...

Available remote control commands:
'reread_subscribers'
'reread_config'
'txTg'
'txTs'
'section'
'gateway_dmr_id'
'gateway_peer_id'
'restart'
'playbackFromFile'
'tgs'
'dump_template'
'get_info'

See:
<https://github.com/N4IRS/DMRGateway/blob/master/DMRGatewayDiagram.pdf>
<https://github.com/N4IRS/DMRGateway/blob/master/DMRGateway.rtf>
<https://github.com/N4IRS/DMRGateway/blob/master/DMRGatewayTechOverview.pdf>

For INAD, 73 Steve N4IRS

--
"Anything is possible if you don't know what you are talking about."
1st Law of Logic

_______________________________________________
Allstar-Digital mailing list
Allstar-Digital@lists.keekles.org
http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital



--
N1XBM
Apparare Scientor
Paratus Communicare
Allstar Node # 27086, 41540, 41812, 42086, 42658, 42657
www.radioguysrepeaternetwork.com


_______________________________________________
Allstar-Digital mailing list
Allstar-Digital@lists.keekles.org
http://lists.keekles.org/cgi-bin/mailman/listinfo/allstar-digital

-- 
"Anything is possible if you don't know what you are talking about."
1st Law of Logic