You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Throwing an error is arguably a bug in response handling (as per the TODO in the code). So I addressed that and now we will simply log an error when the Contact is missing on a dialog forming response.
The 180 response with a to-tag from the Acano CallBridge MUST have a Contact header as it is a dialog forming response. And the response does not. That said, I'm not sure it is going to matter practically in your cases as the server seems to be answer the call immediately after the 180.
Dialogs are created through the generation of non-failure responses
to requests with specific methods. Within this specification, only
2xx and 101-199 responses with a To tag, where the request was
INVITE, will establish a dialog.
When a UAS responds to a request with a response that establishes a
dialog (such as a 2xx to INVITE), the UAS MUST copy all Record-Route
header field values from the request into the response (including the
URIs, URI parameters, and any Record-Route header field parameters,
whether they are known or unknown to the UAS) and MUST maintain the
order of those values. The UAS MUST add a Contact header field to
the response.
Activity
David-Melo commentedon May 6, 2020
Getting this also when making an audi only call
Guard Contact missing on dialog forming response
Guard Contact missing on dialog forming response
john-e-riordan commentedon May 10, 2020
Throwing an error is arguably a bug in response handling (as per the TODO in the code). So I addressed that and now we will simply log an error when the Contact is missing on a dialog forming response.
The 180 response with a to-tag from the Acano CallBridge MUST have a Contact header as it is a dialog forming response. And the response does not. That said, I'm not sure it is going to matter practically in your cases as the server seems to be answer the call immediately after the 180.
Anyway, from the RFC...
https://tools.ietf.org/html/rfc3261#section-12.1
12.1 Creation of a Dialog
Dialogs are created through the generation of non-failure responses
to requests with specific methods. Within this specification, only
2xx and 101-199 responses with a To tag, where the request was
INVITE, will establish a dialog.
... and ...
https://tools.ietf.org/html/rfc3261#section-12.1.1
12.1.1 UAS behavior
When a UAS responds to a request with a response that establishes a
dialog (such as a 2xx to INVITE), the UAS MUST copy all Record-Route
header field values from the request into the response (including the
URIs, URI parameters, and any Record-Route header field parameters,
whether they are known or unknown to the UAS) and MUST maintain the
order of those values. The UAS MUST add a Contact header field to
the response.