[asterisk-bugs] [JIRA] (ASTERISK-25478) Need configuratopm option(s) to control how res_pjsip_endpoint_identifier_user performs endpoint lookup

Asterisk Team (JIRA) noreply at issues.asterisk.org
Mon Oct 19 10:10:33 CDT 2015


    [ https://issues.asterisk.org/jira/browse/ASTERISK-25478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=227943#comment-227943 ] 

Asterisk Team commented on ASTERISK-25478:
------------------------------------------

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

> Need configuratopm option(s) to control how res_pjsip_endpoint_identifier_user performs endpoint lookup
> -------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-25478
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25478
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: Resources/res_pjsip_endpoint_identifier_user
>    Affects Versions: 13.6.0
>         Environment: linux 64bit
> kernel 3.10.17
> distro slackware64 14.1
> pjproject 2.4.5
> asterisk 13.6.0 
>            Reporter: mdu113
>            Severity: Minor
>
> Whenever sip request arrives pjsip performs the following:
>  (1) First, it looks up the endpoint by user at domain
>  (2) If that fails,  it grabs any domain aliases that may exist, and does
> a lookup by user at domainalias
>  (3) If that fails, it looks at the transports to see if they have any
> domains. If so, it does a lookup by user at transportdomain
>  (4) Finally, if that all fails, it does a lookup by user name portion only
> There are systems where first 3 look ups are unnecessary. For example my system will match endpoints by username portion only. All other lookups will always fail. This will result in additional and unnecessary db lookups per sip request and that will become cost-prohibitive quickly with increasing number of requests.
> This issue has been discussed on asterisk-dev mailing list (http://lists.digium.com/pipermail/asterisk-dev/2015-October/075129.html) and has been opened here per suggestion by Matthew Jordan.
> A configuration option(s) to control/suppress unnecessary lookups is very desirable



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list