YSF to P25 always return fallbackID


Michael BD7MQB
 

Hi, I'm making a ysf-p25 bridge, but it hit fallbackID all the time, below are clips from log and my config

MMDVM_Bridge.log

M: 2018-12-14 15:27:35.370 YSF, received network data from BD7MQB     to ALL        at BD7MQB    

I: 2018-12-14 15:27:35.370 YSF, Lookup call BD7MQB returned id 0 -> 1234567

M: 2018-12-14 15:27:35.370 P25, TX state = ON

I: 2018-12-14 15:27:35.370 P25, Begin TX: src=1234567 rpt=0 dst=1 slot=2 cc=0

 

M: 2018-12-14 15:27:39.589 YSF, received network end of transmission, 4.5 seconds, 0% packet loss, BER: 0.0%

M: 2018-12-14 15:27:39.589 P25, TX state = OFF


DVSwitch.ini

[YSF]

Address = 127.0.0.1             ; Address to send AMBE TLV frames to (export)

TXPort = 35100                  ; Port to send AMBE TLV frames to (export)

RXPort = 35103                  ; Port to listen on (import)

FallbackID = 1234567            ; In case we can not find a valid DMR id in the database, export this one

ExportTG = 1                 ; Which TG to export

Slot = 2                        ; Export slot


MMDVM_Bridge.ini

[DMR Id Lookup]

File=/var/lib/mmdvm/DMRIds.dat

Time=24


i can sure that all dmr id are valid and can be found inside DMRIds.dat, any suggestion?
TNX


Steve N4IRS
 

Please check MMDVM_Bridge.ini for:
[DMR Id Lookup]
File=/var/lib/mmdvm/DMRIds.dat

Make sure that points to a valid ID file
Then make sure it contains a ID:
grep BD7MQB /var/lib/mmdvm/DMRIds.dat

Steve N4IRS

On 12/14/2018 10:37 AM, lazy walker wrote:
I: 2018-12-14 15:27:35.370 YSF, Lookup call BD7MQB returned id 0 -> 1234567


Michael BD7MQB
 

Hi Steve,
Yes i'm pretty sure we have the DmrId.dat file right :
grep BD7MQB /var/lib/mmdvm/DMRIds.dat
4607133,BD7MQB,Michael Changzhi Cai,Shenzhen/Guangdong,Hu Nan Guang
Dong Guang Xi,China,DMR


On Sat, Dec 15, 2018 at 12:18 AM Steve N4IRS <szingman@msgstor.com> wrote:

Please check MMDVM_Bridge.ini for:
[DMR Id Lookup]
File=/var/lib/mmdvm/DMRIds.dat

Make sure that points to a valid ID file
Then make sure it contains a ID:
grep BD7MQB /var/lib/mmdvm/DMRIds.dat

Steve N4IRS

On 12/14/2018 10:37 AM, lazy walker wrote:

I: 2018-12-14 15:27:35.370 YSF, Lookup call BD7MQB returned id 0 -> 1234567




--
http://greatcube.com


Steve N4IRS
 

Check when MMDVM_Bridge starts up. You should see this in the log:
I: 2018-12-02 11:33:12.161 DMR Id Lookups
I: 2018-12-02 11:33:12.161     File: /var/lib/mmdvm/DMRIds.dat
I: 2018-12-02 11:33:12.161     Reload: 24 hours
I: 2018-12-02 11:33:12.690 Loaded 117442 Ids to the DMR callsign lookup table
I: 2018-12-02 11:33:12.690 P25 RF Parameters
I: 2018-12-02 11:33:12.690 Started the DMR Id lookup reload thread

I bolded the 2 important entries. Check yours.

Steve N4IRS


On 12/14/18 7:33 PM, lazy walker wrote:
Hi Steve,
Yes i'm pretty sure we have the DmrId.dat file right :

      
grep BD7MQB /var/lib/mmdvm/DMRIds.dat
4607133,BD7MQB,Michael Changzhi Cai,Shenzhen/Guangdong,Hu Nan Guang
Dong Guang Xi,China,DMR


On Sat, Dec 15, 2018 at 12:18 AM Steve N4IRS <szingman@...> wrote:
Please check MMDVM_Bridge.ini for:
[DMR Id Lookup]
File=/var/lib/mmdvm/DMRIds.dat

Make sure that points to a valid ID file
Then make sure it contains a ID:
grep BD7MQB /var/lib/mmdvm/DMRIds.dat

Steve N4IRS

On 12/14/2018 10:37 AM, lazy walker wrote:

I: 2018-12-14 15:27:35.370 YSF, Lookup call BD7MQB returned id 0 -> 1234567







Michael BD7MQB
 

Here is mine >
I: 2018-12-14 16:28:19.781 DMR Id Lookups
I: 2018-12-14 16:28:19.781 File: /var/lib/mmdvm/DMRIds.dat
I: 2018-12-14 16:28:19.781 Reload: 24 hours
I: 2018-12-14 16:28:19.874 Loaded 116072 Ids to the DMR callsign lookup table
I: 2018-12-14 16:28:19.874 YSF RF Parameters

On Sat, Dec 15, 2018 at 8:43 AM Steve N4IRS <szingman@msgstor.com> wrote:

Check when MMDVM_Bridge starts up. You should see this in the log:
I: 2018-12-02 11:33:12.161 DMR Id Lookups
I: 2018-12-02 11:33:12.161 File: /var/lib/mmdvm/DMRIds.dat
I: 2018-12-02 11:33:12.161 Reload: 24 hours
I: 2018-12-02 11:33:12.690 Loaded 117442 Ids to the DMR callsign lookup table
I: 2018-12-02 11:33:12.690 P25 RF Parameters
I: 2018-12-02 11:33:12.690 Started the DMR Id lookup reload thread

I bolded the 2 important entries. Check yours.

Steve N4IRS


On 12/14/18 7:33 PM, lazy walker wrote:

Hi Steve,
Yes i'm pretty sure we have the DmrId.dat file right :

grep BD7MQB /var/lib/mmdvm/DMRIds.dat
4607133,BD7MQB,Michael Changzhi Cai,Shenzhen/Guangdong,Hu Nan Guang
Dong Guang Xi,China,DMR


On Sat, Dec 15, 2018 at 12:18 AM Steve N4IRS <szingman@msgstor.com> wrote:

Please check MMDVM_Bridge.ini for:
[DMR Id Lookup]
File=/var/lib/mmdvm/DMRIds.dat

Make sure that points to a valid ID file
Then make sure it contains a ID:
grep BD7MQB /var/lib/mmdvm/DMRIds.dat

Steve N4IRS

On 12/14/2018 10:37 AM, lazy walker wrote:

I: 2018-12-14 15:27:35.370 YSF, Lookup call BD7MQB returned id 0 -> 1234567







Steve N4IRS
 

Looks right. I will do some local testing this week. You might try to removed the datafile and download a fresh copy.

Steve

On 12/14/18 7:52 PM, lazy walker wrote:
Here is mine >
I: 2018-12-14 16:28:19.781 DMR Id Lookups
I: 2018-12-14 16:28:19.781 File: /var/lib/mmdvm/DMRIds.dat
I: 2018-12-14 16:28:19.781 Reload: 24 hours
I: 2018-12-14 16:28:19.874 Loaded 116072 Ids to the DMR callsign lookup table
I: 2018-12-14 16:28:19.874 YSF RF Parameters

On Sat, Dec 15, 2018 at 8:43 AM Steve N4IRS <szingman@msgstor.com> wrote:
Check when MMDVM_Bridge starts up. You should see this in the log:
I: 2018-12-02 11:33:12.161 DMR Id Lookups
I: 2018-12-02 11:33:12.161 File: /var/lib/mmdvm/DMRIds.dat
I: 2018-12-02 11:33:12.161 Reload: 24 hours
I: 2018-12-02 11:33:12.690 Loaded 117442 Ids to the DMR callsign lookup table
I: 2018-12-02 11:33:12.690 P25 RF Parameters
I: 2018-12-02 11:33:12.690 Started the DMR Id lookup reload thread

I bolded the 2 important entries. Check yours.

Steve N4IRS


On 12/14/18 7:33 PM, lazy walker wrote:

Hi Steve,
Yes i'm pretty sure we have the DmrId.dat file right :

grep BD7MQB /var/lib/mmdvm/DMRIds.dat
4607133,BD7MQB,Michael Changzhi Cai,Shenzhen/Guangdong,Hu Nan Guang
Dong Guang Xi,China,DMR


On Sat, Dec 15, 2018 at 12:18 AM Steve N4IRS <szingman@msgstor.com> wrote:

Please check MMDVM_Bridge.ini for:
[DMR Id Lookup]
File=/var/lib/mmdvm/DMRIds.dat

Make sure that points to a valid ID file
Then make sure it contains a ID:
grep BD7MQB /var/lib/mmdvm/DMRIds.dat

Steve N4IRS

On 12/14/2018 10:37 AM, lazy walker wrote:

I: 2018-12-14 15:27:35.370 YSF, Lookup call BD7MQB returned id 0 -> 1234567







Michael BD7MQB
 

Yep but i think it’s fresh because the cron job just download it 2 hours ago :)

$ /var/lib/mmdvm# ls -l
total 12704
-rw-r--r-- 1 root root 6348707 Dec 15 06:26 DMRIds.dat
-rw-r--r-- 1 root root 6343785 Dec 15 06:25 DMRIds.dat.151218

On Dec 15, 2018, at 08:57, Steve N4IRS <szingman@msgstor.com> wrote:

Looks right. I will do some local testing this week. You might try to removed the datafile and download a fresh copy.

Steve

On 12/14/18 7:52 PM, lazy walker wrote:
Here is mine >
I: 2018-12-14 16:28:19.781 DMR Id Lookups
I: 2018-12-14 16:28:19.781 File: /var/lib/mmdvm/DMRIds.dat
I: 2018-12-14 16:28:19.781 Reload: 24 hours
I: 2018-12-14 16:28:19.874 Loaded 116072 Ids to the DMR callsign lookup table
I: 2018-12-14 16:28:19.874 YSF RF Parameters

On Sat, Dec 15, 2018 at 8:43 AM Steve N4IRS <szingman@msgstor.com> wrote:
Check when MMDVM_Bridge starts up. You should see this in the log:
I: 2018-12-02 11:33:12.161 DMR Id Lookups
I: 2018-12-02 11:33:12.161 File: /var/lib/mmdvm/DMRIds.dat
I: 2018-12-02 11:33:12.161 Reload: 24 hours
I: 2018-12-02 11:33:12.690 Loaded 117442 Ids to the DMR callsign lookup table
I: 2018-12-02 11:33:12.690 P25 RF Parameters
I: 2018-12-02 11:33:12.690 Started the DMR Id lookup reload thread

I bolded the 2 important entries. Check yours.

Steve N4IRS


On 12/14/18 7:33 PM, lazy walker wrote:

Hi Steve,
Yes i'm pretty sure we have the DmrId.dat file right :

grep BD7MQB /var/lib/mmdvm/DMRIds.dat
4607133,BD7MQB,Michael Changzhi Cai,Shenzhen/Guangdong,Hu Nan Guang
Dong Guang Xi,China,DMR


On Sat, Dec 15, 2018 at 12:18 AM Steve N4IRS <szingman@msgstor.com> wrote:

Please check MMDVM_Bridge.ini for:
[DMR Id Lookup]
File=/var/lib/mmdvm/DMRIds.dat

Make sure that points to a valid ID file
Then make sure it contains a ID:
grep BD7MQB /var/lib/mmdvm/DMRIds.dat

Steve N4IRS

On 12/14/2018 10:37 AM, lazy walker wrote:

I: 2018-12-14 15:27:35.370 YSF, Lookup call BD7MQB returned id 0 -> 1234567








Steve N4IRS
 

Check the script and make sure it is pulling from here:
<http://registry.dstar.su/dmr/DMRIds.php>

On 12/14/18 8:03 PM, lazy walker wrote:
Yep but i think it’s fresh because the cron job just download it 2 hours ago :)

$ /var/lib/mmdvm# ls -l
total 12704
-rw-r--r-- 1 root root 6348707 Dec 15 06:26 DMRIds.dat
-rw-r--r-- 1 root root 6343785 Dec 15 06:25 DMRIds.dat.151218

On Dec 15, 2018, at 08:57, Steve N4IRS <szingman@msgstor.com> wrote:

Looks right. I will do some local testing this week. You might try to removed the datafile and download a fresh copy.

Steve

On 12/14/18 7:52 PM, lazy walker wrote:
Here is mine >
I: 2018-12-14 16:28:19.781 DMR Id Lookups
I: 2018-12-14 16:28:19.781 File: /var/lib/mmdvm/DMRIds.dat
I: 2018-12-14 16:28:19.781 Reload: 24 hours
I: 2018-12-14 16:28:19.874 Loaded 116072 Ids to the DMR callsign lookup table
I: 2018-12-14 16:28:19.874 YSF RF Parameters

On Sat, Dec 15, 2018 at 8:43 AM Steve N4IRS <szingman@msgstor.com> wrote:
Check when MMDVM_Bridge starts up. You should see this in the log:
I: 2018-12-02 11:33:12.161 DMR Id Lookups
I: 2018-12-02 11:33:12.161 File: /var/lib/mmdvm/DMRIds.dat
I: 2018-12-02 11:33:12.161 Reload: 24 hours
I: 2018-12-02 11:33:12.690 Loaded 117442 Ids to the DMR callsign lookup table
I: 2018-12-02 11:33:12.690 P25 RF Parameters
I: 2018-12-02 11:33:12.690 Started the DMR Id lookup reload thread

I bolded the 2 important entries. Check yours.

Steve N4IRS


On 12/14/18 7:33 PM, lazy walker wrote:

Hi Steve,
Yes i'm pretty sure we have the DmrId.dat file right :

grep BD7MQB /var/lib/mmdvm/DMRIds.dat
4607133,BD7MQB,Michael Changzhi Cai,Shenzhen/Guangdong,Hu Nan Guang
Dong Guang Xi,China,DMR


On Sat, Dec 15, 2018 at 12:18 AM Steve N4IRS <szingman@msgstor.com> wrote:

Please check MMDVM_Bridge.ini for:
[DMR Id Lookup]
File=/var/lib/mmdvm/DMRIds.dat

Make sure that points to a valid ID file
Then make sure it contains a ID:
grep BD7MQB /var/lib/mmdvm/DMRIds.dat

Steve N4IRS

On 12/14/2018 10:37 AM, lazy walker wrote:

I: 2018-12-14 15:27:35.370 YSF, Lookup call BD7MQB returned id 0 -> 1234567







Michael BD7MQB
 

I was using the script from
https://github.com/DVSwitch/DVSwitch-System-Builder/blob/master/Directories/usr/local/sbin/DMRIDUpdateBM.sh,
it pulled IDs from radioed.net

$/etc/cron.daily# vi DMRIDUpdateBM
# Generate new file
curl 'https://www.radioid.net/static/users.csv' 2>/dev/null | sed -e
's/[[:space:]]\+/ /g' > ${DMRIDFILE}

the format of this Id file is
$ head /var/lib/mmdvm/DMRIds.dat
Radio ID,Callsign,Name,City,State,Country,Remarks
1023001,VE3THW,Wayne Edward,Toronto,Ontario,Canada,DMR
1023002,VA3ECM,Mathieu Goulet,Ottawa-Hull,Quebec,Canada,CCS7


while the one from http://registry.dstar.su/dmr/DMRIds.php is
# Call ID Call Alias
2 LW1EOI Luis Mario
24001 SM6TKT Claes

there are different.

so i pull off the second one and give it a try, and it works!
may be you should update the script of DVSwitch-System-Builder?

because all service(p25gateway, p25reflector, etc..) are sharing the
same DMRIds, I wonder which format of DMDIds.dat will serve them all.

Tnx


On Sat, Dec 15, 2018 at 9:12 AM Steve N4IRS <szingman@msgstor.com> wrote:

Check the script and make sure it is pulling from here:
<http://registry.dstar.su/dmr/DMRIds.php>

On 12/14/18 8:03 PM, lazy walker wrote:
Yep but i think it’s fresh because the cron job just download it 2 hours ago :)

$ /var/lib/mmdvm# ls -l
total 12704
-rw-r--r-- 1 root root 6348707 Dec 15 06:26 DMRIds.dat
-rw-r--r-- 1 root root 6343785 Dec 15 06:25 DMRIds.dat.151218

On Dec 15, 2018, at 08:57, Steve N4IRS <szingman@msgstor.com> wrote:

Looks right. I will do some local testing this week. You might try to removed the datafile and download a fresh copy.

Steve

On 12/14/18 7:52 PM, lazy walker wrote:
Here is mine >
I: 2018-12-14 16:28:19.781 DMR Id Lookups
I: 2018-12-14 16:28:19.781 File: /var/lib/mmdvm/DMRIds.dat
I: 2018-12-14 16:28:19.781 Reload: 24 hours
I: 2018-12-14 16:28:19.874 Loaded 116072 Ids to the DMR callsign lookup table
I: 2018-12-14 16:28:19.874 YSF RF Parameters

On Sat, Dec 15, 2018 at 8:43 AM Steve N4IRS <szingman@msgstor.com> wrote:
Check when MMDVM_Bridge starts up. You should see this in the log:
I: 2018-12-02 11:33:12.161 DMR Id Lookups
I: 2018-12-02 11:33:12.161 File: /var/lib/mmdvm/DMRIds.dat
I: 2018-12-02 11:33:12.161 Reload: 24 hours
I: 2018-12-02 11:33:12.690 Loaded 117442 Ids to the DMR callsign lookup table
I: 2018-12-02 11:33:12.690 P25 RF Parameters
I: 2018-12-02 11:33:12.690 Started the DMR Id lookup reload thread

I bolded the 2 important entries. Check yours.

Steve N4IRS


On 12/14/18 7:33 PM, lazy walker wrote:

Hi Steve,
Yes i'm pretty sure we have the DmrId.dat file right :

grep BD7MQB /var/lib/mmdvm/DMRIds.dat
4607133,BD7MQB,Michael Changzhi Cai,Shenzhen/Guangdong,Hu Nan Guang
Dong Guang Xi,China,DMR


On Sat, Dec 15, 2018 at 12:18 AM Steve N4IRS <szingman@msgstor.com> wrote:

Please check MMDVM_Bridge.ini for:
[DMR Id Lookup]
File=/var/lib/mmdvm/DMRIds.dat

Make sure that points to a valid ID file
Then make sure it contains a ID:
grep BD7MQB /var/lib/mmdvm/DMRIds.dat

Steve N4IRS

On 12/14/2018 10:37 AM, lazy walker wrote:

I: 2018-12-14 15:27:35.370 YSF, Lookup call BD7MQB returned id 0 -> 1234567










Steve N4IRS
 

Yes,
I plan to consolidate the scripts. Good to hear things are working.

Steve

On 12/14/18 10:08 PM, lazy walker wrote:
I was using the script from
https://github.com/DVSwitch/DVSwitch-System-Builder/blob/master/Directories/usr/local/sbin/DMRIDUpdateBM.sh,
it pulled IDs from radioed.net

$/etc/cron.daily# vi DMRIDUpdateBM
# Generate new file
curl 'https://www.radioid.net/static/users.csv' 2>/dev/null | sed -e
's/[[:space:]]\+/ /g' > ${DMRIDFILE}

the format of this Id file is
$ head /var/lib/mmdvm/DMRIds.dat
Radio ID,Callsign,Name,City,State,Country,Remarks
1023001,VE3THW,Wayne Edward,Toronto,Ontario,Canada,DMR
1023002,VA3ECM,Mathieu Goulet,Ottawa-Hull,Quebec,Canada,CCS7


while the one from http://registry.dstar.su/dmr/DMRIds.php is
# Call ID Call Alias
2 LW1EOI Luis Mario
24001 SM6TKT Claes

there are different.

so i pull off the second one and give it a try, and it works!
may be you should update the script of DVSwitch-System-Builder?

because all service(p25gateway, p25reflector, etc..) are sharing the
same DMRIds, I wonder which format of DMDIds.dat will serve them all.

Tnx


On Sat, Dec 15, 2018 at 9:12 AM Steve N4IRS <szingman@msgstor.com> wrote:
Check the script and make sure it is pulling from here:
<http://registry.dstar.su/dmr/DMRIds.php>

On 12/14/18 8:03 PM, lazy walker wrote:
Yep but i think it’s fresh because the cron job just download it 2 hours ago :)

$ /var/lib/mmdvm# ls -l
total 12704
-rw-r--r-- 1 root root 6348707 Dec 15 06:26 DMRIds.dat
-rw-r--r-- 1 root root 6343785 Dec 15 06:25 DMRIds.dat.151218

On Dec 15, 2018, at 08:57, Steve N4IRS <szingman@msgstor.com> wrote:

Looks right. I will do some local testing this week. You might try to removed the datafile and download a fresh copy.

Steve

On 12/14/18 7:52 PM, lazy walker wrote:
Here is mine >
I: 2018-12-14 16:28:19.781 DMR Id Lookups
I: 2018-12-14 16:28:19.781 File: /var/lib/mmdvm/DMRIds.dat
I: 2018-12-14 16:28:19.781 Reload: 24 hours
I: 2018-12-14 16:28:19.874 Loaded 116072 Ids to the DMR callsign lookup table
I: 2018-12-14 16:28:19.874 YSF RF Parameters

On Sat, Dec 15, 2018 at 8:43 AM Steve N4IRS <szingman@msgstor.com> wrote:
Check when MMDVM_Bridge starts up. You should see this in the log:
I: 2018-12-02 11:33:12.161 DMR Id Lookups
I: 2018-12-02 11:33:12.161 File: /var/lib/mmdvm/DMRIds.dat
I: 2018-12-02 11:33:12.161 Reload: 24 hours
I: 2018-12-02 11:33:12.690 Loaded 117442 Ids to the DMR callsign lookup table
I: 2018-12-02 11:33:12.690 P25 RF Parameters
I: 2018-12-02 11:33:12.690 Started the DMR Id lookup reload thread

I bolded the 2 important entries. Check yours.

Steve N4IRS


On 12/14/18 7:33 PM, lazy walker wrote:

Hi Steve,
Yes i'm pretty sure we have the DmrId.dat file right :

grep BD7MQB /var/lib/mmdvm/DMRIds.dat
4607133,BD7MQB,Michael Changzhi Cai,Shenzhen/Guangdong,Hu Nan Guang
Dong Guang Xi,China,DMR


On Sat, Dec 15, 2018 at 12:18 AM Steve N4IRS <szingman@msgstor.com> wrote:

Please check MMDVM_Bridge.ini for:
[DMR Id Lookup]
File=/var/lib/mmdvm/DMRIds.dat

Make sure that points to a valid ID file
Then make sure it contains a ID:
grep BD7MQB /var/lib/mmdvm/DMRIds.dat

Steve N4IRS

On 12/14/2018 10:37 AM, lazy walker wrote:

I: 2018-12-14 15:27:35.370 YSF, Lookup call BD7MQB returned id 0 -> 1234567