Ticket #2132 (closed enhancement: fixed)

Opened 5 months ago

Last modified 5 months 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


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 5 months 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 5 months ago by nanang

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