[asterisk-dev] Endpoint matching on Username

Joshua Colp jcolp at digium.com
Mon Mar 7 13:21:34 CST 2016


Ross Beer wrote:
> Hi,
>
> Is there a way Asterisk 13 PJSIP can authenticate a call based on the
> username passed in the 'Username' section of an auth request in the same
> way chan_sip can?
>
> At the moment the based on the 'es_pjsip_endpoint_identifier_user'
> module it pulls the username from the 'From' header. This is failing as
> the invite contains the users Caller ID instead of the username.
>
> Have I missed something or does an extra module need to be produced to
> resolve this?

No existing endpoint identifier supports this, additional functionality 
would need to be written to do it.

-- 
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org




More information about the asterisk-dev mailing list