Skip to content

endpoint address latching issue #47

@achalkov

Description

@achalkov

Hello!
Case:
sip schema: a - opensips v.2.1 (with rtpproxy) - b
media schema: a - rtpproxy (commit 7c27f22) - b
call schema:
step 1. opensips -> INVITE -> B (real IP in SDP)
step 2. B -> 200 -> opensips (real IP in SDP(1))
step 3. B (from real IP(1)) -> RTP -> rtpproxy
After step 3 session establishing successfully and RTP goes to both sides.

step 4. B -> Re-INVITE -> opensips (local IP in SDP(2))
step 5. opensips -> 200 -> B (same IP as in step 1 in SDP)
step 6. B (from real IP(3)) -> RTP -> rtpproxy
After step 5 rtpproxy pre-fills local address (2), which opensips tells him via UR command, but on step 6 when RTP-packets arrives from real IP (3) - rtpproxy didn't latch new real address and ignore all RTP from it.

Earlier i tried to reproduce issue on older version of rtpproxy (commit f9d2b03) and it successfully latched IP (3) after step 6, so i think something went wrong with address latching mechanics between commits f9d2b03 and 7c27f22

Issue always reproducing on 7c27f22 and never reproducing on f9d2b03 (tested on more than 10 instances of each of both versions)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions