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
Currently, we ignore non-DTMF INFO requests. Applications such as FreeSWITCH send INFO packets in dialogs. We should acknowledge their receipt with a 200 Okay.
"If a server receives an INFO request with a body it understands,
but it has no knowledge of INFO associated processing rules for
the body, the body MAY be rendered and displayed to the user. The
INFO is responded to with a 200 OK.
If the INFO request contains a body that the server does not
understand then, in the absence of INFO associated processing
rules for the body, the server MUST respond with a 415 Unsupported
Media Type message."
I looked at the commit, looks fine. It was very odd that the DTMF test would suddenly start breaking, but I reintroduced it and added the 415 case as a test as well.
Activity
etamme commentedon Apr 4, 2014
In a naive implementation one can simply follow the rules for responding in:
https://tools.ietf.org/html/rfc2976#page-5
"If a server receives an INFO request with a body it understands,
but it has no knowledge of INFO associated processing rules for
the body, the body MAY be rendered and displayed to the user. The
INFO is responded to with a 200 OK.
If the INFO request contains a body that the server does not
understand then, in the absence of INFO associated processing
rules for the body, the server MUST respond with a 415 Unsupported
Media Type message."
Issue #1: Naive fix as described here: #1 (comment)
james-criscuolo commentedon May 2, 2014
I looked at the commit, looks fine. It was very odd that the DTMF test would suddenly start breaking, but I reintroduced it and added the 415 case as a test as well.
josephfrazier commentedon May 9, 2014
merged at 44f543c
Merge pull request onsip#1 from prlanzarin/fix-multiple-pdu