/usr/lib/ring/dring no lock -> multiple start -> no SIP connect
ring-daemon git commit: 26b35255
- When user loging (MATE/GNOME), /usr/lib/ring/dring is started properly and the SIP connect is working fine.
- user logout, BUT dring daemon stay UP.
- When user login again another daemon is started, such there is 2 dring daemon trying to access SIP port (5060) and SIP authentication is not confirmed, log show
LOG: pjsip_udp_transport_start2 failed with error 120098: Address already in use
LOG: UDP IPv4 Transport did not start on 0.0.0.0:5060
LOG: VoipLinkException occurred: Can't create transport
LOG: Leaking RingBuffer 'audiolayer_id'
My guess, the newly started dring is not able to detect a (previously started) running dring.
May be a daemon lock, should bet verified/set when starting dring. According "strace /usr/lib/ring/dring" there is no lock checked (possible?)