[asterisk-users] PJSIP AoR vs Endpoint

Joshua C. Colp jcolp at sangoma.com
Tue Jul 21 08:57:34 CDT 2020


On Tue, Jul 21, 2020 at 10:48 AM Olivier <oza.4h07 at gmail.com> wrote:

>
>
> Le sam. 18 juil. 2020 à 08:02, Andrew Yager <andrew at rwts.com.au> a écrit :
>
>> Hi,
>>
>> I realise this is an old question, but I’m struggling to get my head
>> around it.
>>
>> The ERD suggests that endpoints can link to multiple AoRs
>>
>> In what situation would you actually use this? Given that mapping of
>> inbound calls is primary done to the endpoint,
>>
> In my very limited understanding, it seems inbound calls, if properly
> configured, are targeted to AoRs, not endpoints.
> This allows for several physical devices to be notified of the same
> incoming call.
>
> Following this route, one hurdle to take on is when transferring calls
> from one device to the other one(s), with the same endpoint.
>
> Maybe, some with a better understanding or knowledge may correct or
> confirm the above statements.
>

Incoming and outgoing as concepts get fun when you're talking about
Asterisk and things in general because it changes based on where you are
observing things from. Sticking to Asterisk, an AOR is used for outbound
calls to a device. It's a named entity that gets mapped to how to contact
it (a statically configured SIP URI, one added by registration). An AOR is
also a defined SIP concept and in fact when you REGISTER you are saying
"add my Contact to this AOR".

Having multiple allows you to separate devices some for the same endpoint,
but that functionality depends on the device in question. Many simplify
everything down to a username/password - so they assume the AOR is the
username and can't be changed. It's easiest to just stick to 1 unless you
have great reason to.

-- 
Joshua C. Colp
Asterisk Technical Lead
Sangoma Technologies
Check us out at www.sangoma.com and www.asterisk.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20200721/e595feee/attachment.html>


More information about the asterisk-users mailing list