Ticket #2132 (closed enhancement: fixed)

Opened 4 weeks ago

Last modified 4 weeks ago

Updated account matching algo for incoming request

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

Description

Currently local account is always bound to a transport since r5784 (of 2.8). Unfortunately the current account matching algo in pjsua_acc_find_for_incoming() may select a local account with incompatible transport type, which may cause failure in sending response with error PJSIP_ETPNOTSUITABLE.

Change History

comment:1 Changed 4 weeks ago by nanang

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

In 5838:

Close #2132: Updated pjsua_acc_find_for_incoming() to use weighted score algo in selecting account, where transport type match has higher priority.

comment:2 Changed 4 weeks ago by nanang

  • Component changed from applications to pjsua-lib
Note: See TracTickets for help on using tickets.