[Home]

Summary:ASTERISK-26951: chan_sip: ACK with SDP does not update a direct media bridge
Reporter:Jean Aunis - Prescom (PrescomJA)Labels:
Date Opened:2017-04-20 02:09:38Date Closed:2017-04-27 16:03:16
Priority:MajorRegression?
Status:Closed/CompleteComponents:Channels/chan_sip/General
Versions:13.7.2 14.3.0 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:This issue happens with chan_sip.

Given I have two SIP users Alice and Bob
Given Alice calls Asterisk
Given Asterisk calls Bob and bridges him with Alice in a direct media bridge
When Alice sends a re-INVITE, with the final ACK request containing a SDP with a new connection address
Then Asterisk does not send a re-INVITE to Bob with the new connection address

Expected : Asterisk sends a re-INVITE to Bob with the new connection address

To be clearer, here is a sequence diagram :
||Alice||  ||Asterisk||  ||Bob||
| |INVITE (SDP : c=@addrA1) --->|  |  |  |
| | <--- 100/180 |  |INVITE --->|  |
| |<--- 200|  | <--- 200 (SDP: c=@addrB1) |  |
| |<--- INVITE (SDP: c=@addrB1)| *direct media establishement* |INVITE (SDP: c=@addrA1) --->|  |
| |200 --->|  |<--- 200  |  |
| |INVITE --->|  |  |  |
| | <--- 200 |  |  |  |
| |ACK (SDP: c=@addrA2) --->|  |  |  |

At this point Asterisk should send a re-INVITE to Bob with @addrA2.
Comments:By: Asterisk Team (asteriskteam) 2017-04-20 02:09:39.903-0500

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

By: Jean Aunis - Prescom (PrescomJA) 2017-04-20 02:24:16.816-0500

Patch submitted on gerrit : https://gerrit.asterisk.org/5509

By: Friendly Automation (friendly-automation) 2017-04-27 16:03:17.557-0500

Change 5536 merged by Jenkins2:
chan_sip: Trigger reinvite if the SDP answer is included in the SIP ACK

[https://gerrit.asterisk.org/5536|https://gerrit.asterisk.org/5536]

By: Friendly Automation (friendly-automation) 2017-04-27 16:11:49.676-0500

Change 5537 merged by Jenkins2:
chan_sip: Trigger reinvite if the SDP answer is included in the SIP ACK

[https://gerrit.asterisk.org/5537|https://gerrit.asterisk.org/5537]

By: Friendly Automation (friendly-automation) 2017-04-27 19:18:30.313-0500

Change 5509 merged by George Joseph:
chan_sip: Trigger reinvite if the SDP answer is included in the SIP ACK

[https://gerrit.asterisk.org/5509|https://gerrit.asterisk.org/5509]