talkgroup and id's

Status
Not open for further replies.

eeprommemory

Member
Joined
Jun 3, 2014
Messages
5
when a new talk group comes up the target label is just blank is it possible to make it when a new talk group comes up it puts in the id say "TG46608" and when a new user comes up on that talk group it makes the user label "eG46608" if encrypted or "G46608" if not encrypted.
 

SCPD

QRT
Joined
Feb 24, 2001
Messages
0
Location
Virginia
Hi eeprom;

The Svc column on the far right will tell you the call type.

In the call activity window, the source column is always a radio so those IDs will all be radio IDs.

The target / audience column is the one that's ambiguous. The "T" column displays a G or I to tell you the ID to the immediate left is a Group or Individual radio ID.
 

eeprommemory

Member
Joined
Jun 3, 2014
Messages
5
i think you have missed what i am trying to do in a database i cant replace "BLANK" but i can replace G46608 with the word "buses" or "taxi"
so if the source label was "BLANK" i cant do anything with it but if the source label has "G46608" i can replace that with "taxi" and rename 100's of source labels.
and if the source label had "eG46608" i then know that the taxi was then encrypted and its from the same talkgroup then i can do a mass rename to "enc taxi"
 

SCPD

QRT
Joined
Feb 24, 2001
Messages
0
Location
Virginia
You must be scraping the site log.

Since you're importing data into a database, why bother with text replacement?

Just do a join on the source / target IDs with your list of group and user IDs with labels.

The format of the site logs are:

time-stamp, site, action, source type, source ID, target type, target ID, LCN, call type.

Example:

20140629154211,1,Logout,I,73, ,0,0,
20140629154212,1,Call,I,15001,G,5520,618, -
20140629154213,1,Call,I,11791,G,13872,642, -
20140629154213,1,Call,I,7229,G,11344,705, -
20140629154214,1,Call,I,14581,G,11376,665, -

Using this as a working example ..

20140629154213,1,Call,I,7229,G,11344,705, -

The "I" before 7229 tells you that 7229 is a radio ID.
The "G" before 11344 tells that 11334 is a group ID.

So ... you have the ID and you can tell group IDs from user IDs.

Look at Brandon's annotation utility - which reads the site log and the XML to add labels.

http://k7bbr.net/projects/utmerge.htm
 
Status
Not open for further replies.
Top