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

Rusty Newton (JIRA) noreply at issues.asterisk.org
Wed Oct 21 11:26:32 CDT 2015


     [ https://issues.asterisk.org/jira/browse/ASTERISK-25478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rusty Newton updated ASTERISK-25478:
------------------------------------

    Summary: Need configuration option(s) to control how res_pjsip_endpoint_identifier_user performs endpoint lookup  (was: Need configuratopm option(s) to control how res_pjsip_endpoint_identifier_user performs endpoint lookup)

> Need configuration 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