[Newbie!] Mute Parrot ?


Rob MW0CQU
 

HI All,

havent been a daily coder for several decades (DCL script on a MicroVax) so bear with me as Im on a steep

learning curve

Im running hbconfbridge.py on an Ubuntu test system to learn what its doing before even thinking
about going near a "production" system.

 

I have set up a test harness :

Slot 1, TG1 Test TG

Slot 2 TG2 Parrot 

I have setup hb_confbridge_rules.py with two systems - a Master & Parrot

hblink.cfg also contains definitions for those two peers

I run hb_confbridge.py and both peers are happilly pinging/ponging  away

On my radio I select TG 2 on slot 2 and TX a "count" 

I get no audio back, the repeater doesnt go into TX mode and in ERROR or DEBUG modes I get the following.

 

DEBUG 2018-10-18 00:02:37,279 (PARROT) DMRD - Sequence: 53, RF Source: 10004, Destination ID: 2

Unhandled Error

Traceback (most recent call last):

  File "/home/rob/.local/lib/python2.7/site-packages/twisted/python/log.py", line 86, in callWithContext

    return context.call({ILogContext: newCtx}, func, *args, **kw)

  File "/home/rob/.local/lib/python2.7/site-packages/twisted/python/context.py", line 122, in callWithContext

    return self.currentContext().callWithContext(ctx, func, *args, **kw)

  File "/home/rob/.local/lib/python2.7/site-packages/twisted/python/context.py", line 85, in callWithContext

    return func(*args,**kw)

  File "/home/rob/.local/lib/python2.7/site-packages/twisted/internet/posixbase.py", line 614, in _doReadOrWrite

    why = selectable.doRead()

--- <exception caught here> ---

  File "/home/rob/.local/lib/python2.7/site-packages/twisted/internet/udp.py", line 249, in doRead

    self.protocol.datagramReceived(data, addr)

  File "/home/rob/dmr/HBlink/hblink.py", line 465, in peer_datagramReceived

    self.dmrd_received(_peer_id, _rf_src, _dst_id, _seq, _slot, _call_type, _frame_type, _dtype_vseq, _stream_id, _data)

  File "./hb_confbridge.py", line 259, in dmrd_received

    self._system, int_id(_stream_id), get_alias(_rf_src, subscriber_ids), int_id(_rf_src), get_alias(_peer_id, peer_ids), int_id(_peer_id), get_alias(_dst_id, talkgroup_ids), int_id(_dst_id), _slot)

exceptions.NameError: global name 'subscriber_ids' is not defined

 
All of the other runtime "niggles" Ive sorted out but this one has me beat

 

Is my understanding correct that running hb_confbridge.py with two peers is the right way to do this ? or is there a README somewhere Ive missed please ?

 

MTIA es 73 

Rob 

 

Join main@DVSwitch.groups.io to automatically receive all group messages.