[asterisk-users] Explain PJSIP user matching within inbound SIP trunks

Joshua Colp jcolp at digium.com
Fri Apr 27 08:01:35 CDT 2018


On Fri, Apr 27, 2018, at 7:00 AM, Olivier wrote:
> Hello,
> 
> I'm setting an Asterisk 13.14.1 box (Debian Stretch with packaged
> Asterisk)  to implement SIP trunking services ie to both trunk with carrier
> trunks and IPBX trunks from various brands.
> 
> For various reasons, I was inclined to implement this services with
> pjsip_wizard.conf and I'm realizing I still have some remaining questions.
> 
> For the moment, letting registration questions aside, which of the
> following sentences is correct for Asterisk's PJSIP stack:
> 
> 1. it would identify an incoming call only looking at From header ignoring
> IP settings (both IP address and port),
> 2. it would identify an incoming call only looking both at From header and
> IP settings (both IP address and port),
> 3. it would identify an incoming call only looking both at IP settings,
> ignoring From header for identification but using it for other things
> (setting CallerID, ...).

It depends on configuration, but ultimately it can only be identified using a single endpoint identifier - so not in combination, thus by From OR IP.

-- 
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-users mailing list