UA1 - SIP-proxy - Opensips - UA2
Opensips acts as simple forwarder of requests/replies with dialog creation and topology hiding.
Sip-proxy do the authentication and registration of UAs.
UA1 initiate a session. -> .... -> session established
Now UA2 wants to leave the session and send BYE w/o auth header (cause it's first request from UA2)
Opensips sees this BYE, forward this in dialog request and terminate the dialog.
But SIP-proxy does not see auth header and respond with 407 error, this reply gets to UA2. UA2 resend BYE with auth header but Opensips can't forward it correctly because has no dialog for this request.
Result: Session hangs on UA1.
It seems to me that Opensips must terminate Dialog on timeout (i.e. one side hangs) or when OK reply is received.
Log in to post a comment.