Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#1607 closed defect (fixed)

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)

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 (5)

comment:1 Changed 7 years ago by nanang

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

comment:2 Changed 7 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 7 years ago by bennylp

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

In 4318:

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

comment:4 Changed 7 years ago by riza

In 4398:

Re #1607: backported to 1.x

comment:5 Changed 7 years ago by riza

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