SIP Re-registration doesn't make IsRegistered() return true
Brought to you by:
csoutheren,
rjongbloed
With opal from Git branch v3_20 at rev 74d5157a7d20a6e2d394c1f34ec554d438d3bee4 (newer ones from v3_20 FTBFS with Makefile:2477: tests/.deps/test_opus_projection.Po: No such file or directory) the following scenario causes problems:
Expected result:
Actual result:
This makes it hard to check whether an opal-using program successfully is back on track via SIP.
I know re-registration succeeded because Asterisk is not complaining anymore about an unsuccessful authentication attempt.
Additional info:
The following snippet returns
"No handler found with this call ID":Where
::Stop()and::StartcallSIPEndPoint::Register()andSIPEndPoint::Unregister()respectively.And in opal traces it shows that the SIPEndPoint is trying to
.Append()another handler which fails withDuplicate handler for Method/AOR/Package="5sip:<number>@<address>;transport=udp"after a re-registration. Right before that it complains aboutCould not find active REGISTER for sip:<number>@<address>;transport=udpLast edit: Alfred Neumayer 2025-03-11