Skip to content

DroidStar not receiving Parrot #1239

Open
@rbarreiros

Description

@rbarreiros

Hey Jacob,

As per email, I'm opening the issue in github. I made a few more tests, and using an MMDVM hat connected to DMRHub and a radio, Parrot is working, I do get some messages stating that parrot took a long time, but still, I hear everything from start to finish, but using DroidStar It acknowledges the reception and Parrot replies back (as per LastHeard in the web) but nothing is shown in DroidStar (or heard).

Anyway, I'd like to further investigate to figure out what's the problem, and it seems I only get debug messages from the web interface, I'm using these options

export LISTEN_ADDR=0.0.0.0
export DMR_PORT=62031
export REDIS_HOST=localhost:6379
export PG_HOST=localhost
export CORS_HOSTS=http://192.168.1.253:3005
export DEBUG=1

After the regular startup messages (and gin debug) this is the log I get

2024/12/11 23:23:04 [internal/[email protected]:77]: HTTP Server listening at 0.0.0.0 on port 3005
2024/12/11 23:23:04 [internal/dmr/servers/hbrp.(*SubscriptionManager).subscribeRepeater@subscriptions_manager.go:299]: Listening for calls on repeater 268053402
2024/12/11 23:23:04 [internal/dmr/servers/hbrp.(*SubscriptionManager).subscribeRepeater@subscriptions_manager.go:299]: Listening for calls on repeater 268053401
2024/12/11 23:23:06 [internal/[email protected]:270]: Update complete. Loaded 10081 DMR repeaters
2024/12/11 23:23:11 [internal/[email protected]:269]: Update complete. Loaded 272321 DMR users
2024/12/11 23:23:35 [internal/dmr/servers/hbrp.(*Server)[email protected]:330]: Invalid packet length: 0
2024/12/11 23:23:48 [internal/dmr/servers/hbrp.(*Server).doParrot.func1@packet_handlers.go:221]: Parrot call took too long to send, elapsed: 65.543595ms
2024/12/11 23:24:04 [internal/dmr/servers/hbrp.(*Server).handleRPTCLPacket@packet_handlers.go:671]: Invalid RPTCL packet length: 9

The first invalid packet length: 0 happens when droidstar connects (but not always), then I sent a 3 second message to Parrot TG (Group call), web interface shows up Parrot replying and the message on log stating Parrot took too long show up, nothing happends in DroidStar, neither a notification that a call is being received nor audio, then, invalid RPTCL happened when DroidStar disconnected.

Now, I'm very inclined this is a DroidStar issue, but I need to have more debug detail, anyway of increasing debug detail ? Or Where can I add it (point me to the right file please!!! :P).

P.S. I'll clean this up and submit a PR later when I have some time about the RadioID ID check bypass.

P.P.S Running latest tagged version, 1.0.65

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions