Ticket #1996 (closed defect: fixed)
Via-Header mismatch in CANCEL
|Reported by:||ming||Owned by:||bennylp|
|Backport to 1.x milestone:||Backported:||no|
According to RFC 3261:
A CANCEL constructed by a
client MUST have only a single Via header field value *matching the top Via value in the request being cancelled*. Using the same values for these header fields allows the CANCEL to be matched with the request it cancels.
However, in PJSIP, when there is an IP address change situation, the Via header will be updated with the new address, causing the CANCEL's Via header to be different from the original INVITE's Via.