mirror of https://github.com/nostar/urfd.git
NXDN: the end of transmission is only recognised when byte 10 is NXDN_LICH_USC_SACCH_NS, but NXDNGateway/MMDVMHost flag it with bit 0x08 of byte 9 on a regular voice packet. That packet is handled as voice and the stream is never closed with a last packet. Also, the existing last-frame branch only reset the stream id. Both paths now push a last frame packet. P25: on the 0x80 terminator the stream id was reset before building the last packet, so that packet carried id 0, was dropped as an orphaned frame and the stream ended by timeout. Without a last packet the other protocols never send their terminator: a DMR/XLX peer (e.g. hblink) sees the call end by timeout several seconds after the user releases PTT. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Hi9GtwUEB6mDD5pfhaJoKBpull/28/head
parent
bd0c114e43
commit
ec16d8e664
Loading…
Reference in new issue