Ticket #1607 (closed defect: fixed)

Opened 6 years ago

Last modified 5 years ago

Send UDP keep-alive to original request address if response comes from different address

Reported by: nanang Owned by: bennylp
Priority: normal Milestone: release-2.1
Component: pjsua-lib Version: trunk
Keywords: Cc:
Backport to 1.x milestone: release-1.16 Backported: yes

Description (last modified by bennylp) (diff)

For UDP, the spec says that server MUST send the response from the same address where the request was received (RFC 3581 Section 4). However, in case the server is violating this spec, PJSIP would send the UDP keep-alive to the source address of the response instead.

This ticket fixes this behavior so that the keep alive will be sent to the original request address instead.

Thanks Fredrik Hansson for the report.

Change History

comment:1 Changed 6 years ago by nanang

  • Backport to 1.x milestone set to release-1.16

comment:2 Changed 6 years ago by bennylp

  • Description modified (diff)
  • Summary changed from Wrong target in sending SIP UDP transport keep alive to Send UDP keep-alive to original request address if response comes from different address

comment:3 Changed 6 years ago by bennylp

  • Status changed from new to closed
  • Resolution set to fixed

In 4318:

Fixed #1607: Send UDP keep-alive to original request address if response comes from different address

comment:4 Changed 5 years ago by riza

In 4398:

Re #1607: backported to 1.x

comment:5 Changed 5 years ago by riza

  • Backported set
Note: See TracTickets for help on using tickets.