Review Board 1.7.16


chan_sip: Asterisk fails to re-activate an inactive media session when an offer does not contain a=sendrecv

Review Request #4442 - Created Feb. 23, 2015 and submitted

Ashley Sanders
testsuite
ASTERISK-24824
Reviewers
asterisk-dev
testsuite
This test is to ensure that Asterisk correctly applies the direction of the media stream when a=<sendonly|recvonly|inactive|sendrecv> is missing from the offer's SDP. The expected behavior is for Asterisk to apply "sendrecv" as the direction of the media stream when no direction attribute is present in an offer's SDP. According to RFC 4566 (Section 6. SDP Attributes): "If none of the attributes "sendonly", "recvonly", "inactive", and "sendrecv" is present, "sendrecv" SHOULD be assumed as the default for sessions that are not of the conference type "broadcast" or "H332" [...]"

The test scenario:

1. From Phone A, send an offer to Phone B to establish a call
2. From Phone B, send an offer to Phone A to put the call on hold. 
3. Observe that the MOH start event occurs.
4. From Phone B, send an offer to Phone A to 'un-hold' the call (ensure that the direction attribute from the offer's SDP is omitted)
5. Observe that the MOH stop event occurs.

***Note*** This is a test. It is only a test.

 
Total:
4
Open:
0
Resolved:
4
Dropped:
0
Status:
From:
Review request changed
Updated (March 2, 2015, 10:23 p.m.)
  • changed from pending to submitted
Committed in revision 6490

https://reviewboard.asterisk.org/ runs on a server provided by Digium, Inc. and uses bandwidth donated to the open source Asterisk community by API Digital Communications in Huntsville, AL USA.
Please report problems with this site to asteriskteam@digium.com.