Opened 11 months ago

Closed 11 months ago

Last modified 11 months ago

#2132 closed enhancement (fixed)

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

comment:1 Changed 11 months ago by nanang

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

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

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