Opened 5 years ago

Closed 5 years ago

#2227 closed defect (fixed)

Sending ACK not retrying next server

Reported by: nanang Owned by: nanang
Priority: normal Milestone: release-2.10
Component: pjsip Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported: no


When ACK target is a hostname and it is resolved to multiple IP addresses (in reported scenario, IPv6 and IPv4 addresses), only the first IP address will be used, and it won't retry with other IP addresses when it fails.

This is because stateless_send_transport_cb() function in sip_util.c for some reason will stop retrying next server if there is no sending callback specified. While the ACK sending does not define any callback, note that sending ACK does not use transaction mechanism.

Thanks to Anthony Alba for the report and the analysis.

Change History (1)

comment:1 Changed 5 years ago by nanang

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

In 6062:

Fix #2227: Added callback for sending ACK.

Note: See TracTickets for help on using tickets.