-
Notifications
You must be signed in to change notification settings - Fork 410
Description
rtpengine version the issue has been seen with
N/A
Used distribution and its version
N/A
Linux kernel version used
N/A
CPU architecture issue was seen on (see uname -m)
None
Expected behaviour you didn't see
No response
Unexpected behaviour you saw
https://rtpengine.readthedocs.io/en/latest/ng_control_protocol.html#answer-message
It is claimed that "It doesn’t make sense to include the direction key in the answer message". However, when a call goes multiple times through the same SIP proxy, while we can discriminate on the SDP offer through the use of direction (2 different processing elements are triggered), if we abide by the documentation then then rtpengine probably can't identify the SDP answer correctly and only applies changes once.
This is a common case for example with a P-CSCF in IMS, which might handle in the same instance both the caller and the called party, yet each have completely separate processing applied. The Kamailio implementation does not seem to have a problem in sending the direction and, upon testing with my own client, it is effective to use it in the SDP answer.
Steps to reproduce the problem
Apply twice the SDP-offer to a call, with different directions. Then apply SDP-answer twice without direction -> only the first one works. But if we add the Direction parameter in the SDP-answer, everything works just fine. Hence the documentation is confusing.
Additional program output to the terminal or logs illustrating the issue
Anything else?
No response