Date   

Re: ASL to DMR Bridge...changing talkgroups

Michael Weaver - AC2VK
 

I didn't get Mike Z's code working out of the box and haven't had time to troubleshoot his yet.  My setup allows you to enter *8711 and then the talkgroup number you want to connect to.  the extenstions.conf will strip off the leading 1 and pass the variable into tg_connect.py.  The python script will read the ini, update txTg, write the ini file(side effect of removing all comments), and restart the analog bridge.  Backup your ini file first!

rpt.conf
871 = autopatchup,context=command_radio,noct=1,farenddisconnect=1,dialtime=20000,quiet=1

extensions.conf
[command_radio]
exten => _1X.,1,SayDigits(${EXTEN:1})
exten => _1X.,n,System(/scripts/tg_connect.py ${EXTEN:1})
exten => _1X.,n,Wait(2)
exten => _1X.,n,Hangup()

tg_connect.py
#!/usr/bin/env python
 
import sys
import socket
import struct
import os

#import parser
from ConfigParser import SafeConfigParser

#store cmd line arg
new_txTg = sys.argv[1]

#strip off first character
#new_txTg = new_txTg[1:]

#read config file
parser = SafeConfigParser()
parser.read('/opt/Analog_Bridge/Analog_Bridge.ini')
print "Existing talkgroup is: " + parser.get('AMBE_AUDIO', 'txTg')
print "Desired talkgroup is: " + new_txTg
 
#set config file
parser.set('AMBE_AUDIO', 'txTg', new_txTg)
 
#writing our configuration file to
with open('/opt/Analog_Bridge/Analog_Bridge.ini', 'wb') as configfile:
    parser.write(configfile)

#verify
parser.read('/opt/Analog_Bridge/Analog_Bridge.ini')
print "New talkgroup is: " + parser.get('AMBE_AUDIO', 'txTg')

#restart bridge
os.system('systemctl restart analog_bridge')


Re: ASL to DMR Bridge...changing talkgroups

Mike KB8JNM
 

I don't know if you were directing this to me Mike/KB8JNM or not

Your message is to the dvswitch main group @ goups.io

---

Ports do not have to be 'any certain port number' except:

to not conflict with any port number in use &

to match the port number where it is handshaking TO or FROM.

If you look at the HOW2, there is a nice graphic showing the digital flow of ports for dmr to asl.


I use (analog_bridge.ini)

fromDMRPort = 31100                 
toDMRPort = 31103 


It must match the port number it interfaces with in

dvswitch.ini

TXPort = 31100                  ; Port to send AMBE TLV frames to (export)
RXPort = 31103                  ; Port to listen on (import)


The port number you use are up to you. But they must match where they are going to or coming from without conflict.

All modes/formats would be they same.

...mike/kb8jnm


On 11/13/2018 12:14 AM, Gregory Heinrichs wrote:
hi Mike, i just wanted to confirm that the port 31000 is in reference to fromDMRPort, so i should change the script to 31100 correct? Below is from my ini.
[AMBE_AUDIO]
server = 127.0.0.1                
fromDMRPort = 31100                
toDMRPort = 31103
.
.
.


Re: ASL to DMR Bridge...changing talkgroups

Gregory Heinrichs
 

hi Mike, i just wanted to confirm that the port 31000 is in reference to fromDMRPort, so i should change the script to 31100 correct? Below is from my ini.
[AMBE_AUDIO]
server = 127.0.0.1                
fromDMRPort = 31100                
toDMRPort = 31103
.
.
.


Re: ASL to DMR Bridge...changing talkgroups

Gregory Heinrichs
 

hi Mike, i just wanted to confirm that the port 31000 is in reference to fromDMRPort, so i should change the script to 31100 correct? Below is from my ini.
[AMBE_AUDIO]
server = 127.0.0.1                
fromDMRPort = 31100                
toDMRPort = 31103
.
.
.


Re: Bridging a P25Reflector and a YSFReflector?

Mike, KI0IK
 

Thanks for the replies.  I'll give MMDVM_Bridge a go and see if I can get it working with my setup.  I'll checkout MMDVM_CM too.  

Thanks
Mike

On Sat, Nov 10, 2018 at 9:33 AM Steve N4IRS <szingman@...> wrote:
That is intended to be used on a hotspot or repeater.
For reflector to reflector, MMDVM_Bridge will do that quite simply. No transcode required.

Steve N4IRS

Sent via smoke signal (AT&T)


From: main@DVSwitch.groups.io <main@DVSwitch.groups.io> on behalf of Alec-N1AJW <alec.wasserman@...>
Sent: Saturday, November 10, 2018 10:27:07 AM
To: main@DVSwitch.groups.io
Subject: Re: [DVSwitch] Bridging a P25Reflector and a YSFReflector?
 
there's a ysf wide to p25 bridge made by Andy iin Chile.  Juribeparada. I have never tried that one.     https://github.com/juribeparada/MMDVM_CM


Re: DMR -> P25 issue

Steve N4IRS
 

Andy,
Thanks for the clarification.

Steve N4IRS

On 11/11/18 5:38 AM, andrew144500@... wrote:
So,
here is a little more information about what is/was going on. 
On October 4 a change to MMDVMHost was pushed to github. The change effected P25. https://github.com/g4klx/MMDVMHost/commit/85bc8357aa1967d692901addd6ebefd89a8f32f6
When Andy at Pi-Star updated the binaries for Pi-Star, he rolled in the changes. Those changes broke P25 RF. When the problem was reported to Pi-Star, Andy reverted to a older version of MMDVMHost.
Here is his announcement: https://forum.pistar.uk/viewtopic.php?f=23&p=4003&sid=ffb1861eab2e15bd078550a906388b6b#p4003

If you are running Pi-Star, updating should fix the issue. If you compile your own MMDVMHost, revert to the above commit.

A little more, more information... 
Actually, we never reverted back to the older version.
We rewrote the broken P25 part of MMDVM host and pushed that out
through the pistar updates, then offered the changes up to MMDVM
and made Jon aware of the problem. 😀
Regards A. 


Re: DMR -> P25 issue

andrew (callsign)
 

So,
here is a little more information about what is/was going on. 
On October 4 a change to MMDVMHost was pushed to github. The change effected P25. https://github.com/g4klx/MMDVMHost/commit/85bc8357aa1967d692901addd6ebefd89a8f32f6
When Andy at Pi-Star updated the binaries for Pi-Star, he rolled in the changes. Those changes broke P25 RF. When the problem was reported to Pi-Star, Andy reverted to a older version of MMDVMHost.
Here is his announcement: https://forum.pistar.uk/viewtopic.php?f=23&p=4003&sid=ffb1861eab2e15bd078550a906388b6b#p4003

If you are running Pi-Star, updating should fix the issue. If you compile your own MMDVMHost, revert to the above commit.

A little more, more information... 
Actually, we never reverted back to the older version.
We rewrote the broken P25 part of MMDVM host and pushed that out
through the pistar updates, then offered the changes up to MMDVM
and made Jon aware of the problem. 😀
Regards A. 


Re: Bridging a P25Reflector and a YSFReflector?

Steve N4IRS
 

That is intended to be used on a hotspot or repeater.
For reflector to reflector, MMDVM_Bridge will do that quite simply. No transcode required.

Steve N4IRS

Sent via smoke signal (AT&T)


From: main@DVSwitch.groups.io <main@DVSwitch.groups.io> on behalf of Alec-N1AJW <alec.wasserman@...>
Sent: Saturday, November 10, 2018 10:27:07 AM
To: main@DVSwitch.groups.io
Subject: Re: [DVSwitch] Bridging a P25Reflector and a YSFReflector?
 
there's a ysf wide to p25 bridge made by Andy iin Chile.  Juribeparada. I have never tried that one.     https://github.com/juribeparada/MMDVM_CM


Re: Bridging a P25Reflector and a YSFReflector?

Alec-N1AJW
 

there's a ysf wide to p25 bridge made by Andy iin Chile.  Juribeparada. I have never tried that one.     https://github.com/juribeparada/MMDVM_CM


Re: DMR -> P25 issue

Steve N4IRS
 

So,
here is a little more information about what is/was going on. 
On October 4 a change to MMDVMHost was pushed to github. The change effected P25. https://github.com/g4klx/MMDVMHost/commit/85bc8357aa1967d692901addd6ebefd89a8f32f6
When Andy at Pi-Star updated the binaries for Pi-Star, he rolled in the changes. Those changes broke P25 RF. When the problem was reported to Pi-Star, Andy reverted to a older version of MMDVMHost.
Here is his announcement: https://forum.pistar.uk/viewtopic.php?f=23&p=4003&sid=ffb1861eab2e15bd078550a906388b6b#p4003

If you are running Pi-Star, updating should fix the issue. If you compile your own MMDVMHost, revert to the above commit.

73, Steve N4IRS 


Re: DMR -> P25 issue

va3czk@...
 

FYI.  

This issue is resolved now after last night Pi Star update. 

73' va3czk


Re: DMR -> P25 issue

David Griffith NZ6D
 

Sorry guys. Didn't look at the recipient's...



Sent from my Verizon, Samsung Galaxy smartphone

-------- Original message --------
From: "David Griffith NZ6D via Groups.Io" <nz6d@...>
Date: 11/9/18 7:48 PM (GMT-07:00)
To: main@DVSwitch.groups.io
Subject: Re: [DVSwitch] DMR -> P25 issue

PS.. I am in Albuquerque New Mexico now so I don't really have access. Helping my Dad....



Sent from my Verizon, Samsung Galaxy smartphone

-------- Original message --------
From: va3czk@...
Date: 11/9/18 10:06 AM (GMT-07:00)
To: main@DVSwitch.groups.io
Subject: [DVSwitch] DMR -> P25 issue

Does anyone else experiencing an issue with the transcoding from P25 to DMR ?

Not sure what have changed but since yesterday DMR ↔ P25 on our bridge is acting up. P25 -> DMR works well, however DMR ->25 is not getting through the digital squelch on the radio. When I manually open the squelch/monitor I can hear everything fine. (P25 to P25 on same TG is working fine)
The bridge has been working seamlessly ever since it was set up several months ago.

Thanks Jerry va3czk


Re: DMR -> P25 issue

David Griffith NZ6D
 

PS.. I am in Albuquerque New Mexico now so I don't really have access. Helping my Dad....



Sent from my Verizon, Samsung Galaxy smartphone

-------- Original message --------
From: va3czk@...
Date: 11/9/18 10:06 AM (GMT-07:00)
To: main@DVSwitch.groups.io
Subject: [DVSwitch] DMR -> P25 issue

Does anyone else experiencing an issue with the transcoding from P25 to DMR ?

Not sure what have changed but since yesterday DMR ↔ P25 on our bridge is acting up. P25 -> DMR works well, however DMR ->25 is not getting through the digital squelch on the radio. When I manually open the squelch/monitor I can hear everything fine. (P25 to P25 on same TG is working fine)
The bridge has been working seamlessly ever since it was set up several months ago.

Thanks Jerry va3czk


Re: DMR -> P25 issue

David Griffith NZ6D
 

Hi Jerry. Yes we have had some same issues. Nothing changed In our config and it just stopped working. We are looking at the logs and configs. Did you find d anything? 
Dave NZ6D



Sent from my Verizon, Samsung Galaxy smartphone

-------- Original message --------
From: va3czk@...
Date: 11/9/18 10:06 AM (GMT-07:00)
To: main@DVSwitch.groups.io
Subject: [DVSwitch] DMR -> P25 issue

Does anyone else experiencing an issue with the transcoding from P25 to DMR ?

Not sure what have changed but since yesterday DMR ↔ P25 on our bridge is acting up. P25 -> DMR works well, however DMR ->25 is not getting through the digital squelch on the radio. When I manually open the squelch/monitor I can hear everything fine. (P25 to P25 on same TG is working fine)
The bridge has been working seamlessly ever since it was set up several months ago.

Thanks Jerry va3czk


DMR -> P25 issue

va3czk@...
 

Does anyone else experiencing an issue with the transcoding from P25 to DMR ?

Not sure what have changed but since yesterday DMR ↔ P25 on our bridge is acting up. P25 -> DMR works well, however DMR ->25 is not getting through the digital squelch on the radio. When I manually open the squelch/monitor I can hear everything fine. (P25 to P25 on same TG is working fine)
The bridge has been working seamlessly ever since it was set up several months ago.

Thanks Jerry va3czk


Re: Why does not it show alias id in Europe in the HBlink Master?

EA5GVK Joaquin
 

Ok. Manuel THX. Crear work Corts


Re: hb_confbridge.py error after call ends...

Cort N0MJS <n0mjs@...>
 

Probably your hb_confbridge_rules.py file - if you send it to me, the actual file, not copy and paste, I’ll take a look.

On Nov 9, 2018, at 7:04 AM, Heiko DL1BZ <dg2dra@...> wrote:

After call end with confbridge I get an error:

INFO 2018-11-09 13:56:54,659 (OLL-DMRMaster) *CALL END*   STREAM ID: 2660614738 SUB: DL1BZ (2629315) PEER: 262931502 (262931502) TGID 7 (7), TS 2, Duration: 4.86109900475
Unhandled Error
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/twisted/python/log.py", line 86, in callWithContext
    return context.call({ILogContext: newCtx}, func, *args, **kw)
  File "/usr/local/lib/python2.7/dist-packages/twisted/python/context.py", line 122, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "/usr/local/lib/python2.7/dist-packages/twisted/python/context.py", line 85, in callWithContext
    return func(*args,**kw)
  File "/usr/local/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 614, in _doReadOrWrite
    why = selectable.doRead()
--- <exception caught here> ---
  File "/usr/local/lib/python2.7/dist-packages/twisted/internet/udp.py", line 249, in doRead
    self.protocol.datagramReceived(data, addr)
  File "/srv/HBlink/hblink.py", line 322, in master_datagramReceived
    self.dmrd_received(_peer_id, _rf_src, _dst_id, _seq, _slot, _call_type, _frame_type, _dtype_vseq, _stream_id, _data)
  File "/srv/HBlink/hb_confbridge.py", line 383, in dmrd_received
    if (_dst_id in _system['ON'] or _dst_id in _system['RESET']) and _slot == _system['TS']:
exceptions.KeyError: 'RESET'

INFO 2018-11-09 13:56:54,669 (OLL-DMRMaster) *CALL END*   STREAM ID: 2660614738 SUB: DL1BZ (2629315) PEER: 262931502 (262931502) TGID 7 (7), TS 2, Duration: 4.8713619709
Unhandled Error
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/twisted/python/log.py", line 86, in callWithContext
    return context.call({ILogContext: newCtx}, func, *args, **kw)
  File "/usr/local/lib/python2.7/dist-packages/twisted/python/context.py", line 122, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "/usr/local/lib/python2.7/dist-packages/twisted/python/context.py", line 85, in callWithContext
    return func(*args,**kw)
  File "/usr/local/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 614, in _doReadOrWrite
    why = selectable.doRead()
--- <exception caught here> ---
  File "/usr/local/lib/python2.7/dist-packages/twisted/internet/udp.py", line 249, in doRead
    self.protocol.datagramReceived(data, addr)
  File "/srv/HBlink/hblink.py", line 322, in master_datagramReceived
    self.dmrd_received(_peer_id, _rf_src, _dst_id, _seq, _slot, _call_type, _frame_type, _dtype_vseq, _stream_id, _data)
  File "/srv/HBlink/hb_confbridge.py", line 383, in dmrd_received
    if (_dst_id in _system['ON'] or _dst_id in _system['RESET']) and _slot == _system['TS']:
exceptions.KeyError: 'RESET'

DEBUG 2018-11-09 13:56:55,135 Periodic reporting loop started

73 Heiko, DL1BZ

Cort Buffington
785-865-7206


hb_confbridge.py error after call ends...

Heiko DL1BZ
 

After call end with confbridge I get an error:

INFO 2018-11-09 13:56:54,659 (OLL-DMRMaster) *CALL END*   STREAM ID: 2660614738 SUB: DL1BZ (2629315) PEER: 262931502 (262931502) TGID 7 (7), TS 2, Duration: 4.86109900475
Unhandled Error
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/twisted/python/log.py", line 86, in callWithContext
    return context.call({ILogContext: newCtx}, func, *args, **kw)
  File "/usr/local/lib/python2.7/dist-packages/twisted/python/context.py", line 122, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "/usr/local/lib/python2.7/dist-packages/twisted/python/context.py", line 85, in callWithContext
    return func(*args,**kw)
  File "/usr/local/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 614, in _doReadOrWrite
    why = selectable.doRead()
--- <exception caught here> ---
  File "/usr/local/lib/python2.7/dist-packages/twisted/internet/udp.py", line 249, in doRead
    self.protocol.datagramReceived(data, addr)
  File "/srv/HBlink/hblink.py", line 322, in master_datagramReceived
    self.dmrd_received(_peer_id, _rf_src, _dst_id, _seq, _slot, _call_type, _frame_type, _dtype_vseq, _stream_id, _data)
  File "/srv/HBlink/hb_confbridge.py", line 383, in dmrd_received
    if (_dst_id in _system['ON'] or _dst_id in _system['RESET']) and _slot == _system['TS']:
exceptions.KeyError: 'RESET'

INFO 2018-11-09 13:56:54,669 (OLL-DMRMaster) *CALL END*   STREAM ID: 2660614738 SUB: DL1BZ (2629315) PEER: 262931502 (262931502) TGID 7 (7), TS 2, Duration: 4.8713619709
Unhandled Error
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/twisted/python/log.py", line 86, in callWithContext
    return context.call({ILogContext: newCtx}, func, *args, **kw)
  File "/usr/local/lib/python2.7/dist-packages/twisted/python/context.py", line 122, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "/usr/local/lib/python2.7/dist-packages/twisted/python/context.py", line 85, in callWithContext
    return func(*args,**kw)
  File "/usr/local/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 614, in _doReadOrWrite
    why = selectable.doRead()
--- <exception caught here> ---
  File "/usr/local/lib/python2.7/dist-packages/twisted/internet/udp.py", line 249, in doRead
    self.protocol.datagramReceived(data, addr)
  File "/srv/HBlink/hblink.py", line 322, in master_datagramReceived
    self.dmrd_received(_peer_id, _rf_src, _dst_id, _seq, _slot, _call_type, _frame_type, _dtype_vseq, _stream_id, _data)
  File "/srv/HBlink/hb_confbridge.py", line 383, in dmrd_received
    if (_dst_id in _system['ON'] or _dst_id in _system['RESET']) and _slot == _system['TS']:
exceptions.KeyError: 'RESET'

DEBUG 2018-11-09 13:56:55,135 Periodic reporting loop started

73 Heiko, DL1BZ


Bridging a P25Reflector and a YSFReflector?

Mike, KI0IK
 

I have a working P25Reflector and a YSFReflector.  I would like to bridge the two together so if someone is connected to the P25Reflector they could talk to someone connected to the YSFReflector.  Which DVSwitch program would be best for this?  MMDVM_Bridge? I read through the Wiki, and searched the messages, but I'm drawing a blank.

Thanks
Mike


Re: HBlink / HB_Bridge - "Loose Validation" (Enables connections to XLD, DMR+, etc)

Alec-N1AJW
 

that may be true but how to you direct it to the specific xlxreflector and module.  its located on the same machine as xblink.  i want the audio to be bridged with audio already on myhblink.cfg

7401 - 7420 of 9795