Bug? When proxy ip changes received/rport is not updated by INVITE 407

AA
Anthony Alba
Wed, Sep 20, 2017 9:44 AM

Scenario:

  1. REGISTER to --oubound URL successful, gets received/rport

  2. Proxy IP address changes due to round-robin DNS

  3. INVITE -> new transport so Via header uses local IP address

  4. <- 407 (includes new received/rport)

  5. INVITE -> does not update IP address/port: still uses local IP
    address in Via header; ignores received/rport from 407

  6. CANCEL -> due to fix #1996 , uses original received/rport from
    REGISTER transport

  7. INVITE and CANCEL Via mismatch.

This is like the reverse of issue #1996 where the fix now causes Via
mismatch in the transaction.

Anthony

Scenario: 1. REGISTER to --oubound URL successful, gets received/rport 2. Proxy IP address changes due to round-robin DNS 3. INVITE -> new transport so Via header uses local IP address 4. <- 407 (includes new received/rport) 5. INVITE -> does not update IP address/port: still uses local IP address in Via header; ignores received/rport from 407 6. CANCEL -> due to fix #1996 , uses original received/rport from REGISTER transport 7. INVITE and CANCEL Via mismatch. This is like the reverse of issue #1996 where the fix now causes Via mismatch in the transaction. Anthony