Re: [asterisk-users] Confused by concepts behind pjsip: endpoint, aor, contact

2015-01-05 Thread Joshua Colp
Antonio Gómez Soto wrote: snip Ok, thank you. One final question: I see that it's possible to have multiple auth's in an endpoint. For incoming traffic to be authenticated, how does pjsip know which auth to consider? By looking at the From: address in the SIP header, and matching that up

[asterisk-users] Confused by concepts behind pjsip: endpoint, aor, contact

2015-01-04 Thread Antonio Gómez Soto
Hello, I am slightly confused by the difference between chan_sip and pjsip. Especially the new (to me) objects aor and contact. I am having trouble mapping them to the typical SIP configuration settings on a phone. Suppose I have a phone with two line buttons, for two extension numbers. Now, I

Re: [asterisk-users] Confused by concepts behind pjsip: endpoint, aor, contact

2015-01-04 Thread Joshua Colp
Antonio Gómez Soto wrote: Hello, Kia ora, I am slightly confused by the difference between chan_sip and pjsip. Especially the new (to me) objects aor and contact. I am having trouble mapping them to the typical SIP configuration settings on a phone. Have you looked on the wiki[1]? There's

Re: [asterisk-users] Confused by concepts behind pjsip: endpoint, aor, contact

2015-01-04 Thread George Joseph
On Sun, Jan 4, 2015 at 3:29 PM, Antonio Gómez Soto antonio.gomez.s...@gmail.com wrote: Hello, I am slightly confused by the difference between chan_sip and pjsip. Especially the new (to me) objects aor and contact. I am having trouble mapping them to the typical SIP configuration settings

Re: [asterisk-users] Confused by concepts behind pjsip: endpoint, aor, contact

2015-01-04 Thread Antonio Gómez Soto
Thanks for responding, On Sun, Jan 4, 2015 at 5:45 PM, George Joseph george.jos...@fairview5.com wrote: On Sun, Jan 4, 2015 at 3:29 PM, Antonio Gómez Soto antonio.gomez.s...@gmail.com wrote: Hello, I am slightly confused by the difference between chan_sip and pjsip. Especially the new

Re: [asterisk-users] Confused by concepts behind pjsip: endpoint, aor, contact

2015-01-04 Thread Joshua Colp
Antonio Gómez Soto wrote: So basically, the 'contact' in the AOR is just an ip address (or 'dynamic', in which case it accepts incoming registrations). A contact is a SIP term, it's a way of getting to something. (IP address+port) So what happens if one endpoint has multiple AOR's which

Re: [asterisk-users] Confused by concepts behind pjsip: endpoint, aor, contact

2015-01-04 Thread Antonio Gómez Soto
Joshua, On Sun, Jan 4, 2015 at 6:39 PM, Joshua Colp jc...@digium.com wrote: [..snip..] Also I notice, an AOR does seem do be directly correlated with an auth record, so why are they separate in the configuration, why not unify the aor and the auth objects? They aren't at all. Auth =

Re: [asterisk-users] Confused by concepts behind pjsip: endpoint, aor, contact

2015-01-04 Thread Joshua Colp
Antonio Gómez Soto wrote: snip I did not mean they are the same, I meant that there seems to be a one-to-one relationship. So I am wondering, since the auth does seem useless without an aor, but an aor can exist without an auth, why was the auth object created in the first place, instead of

Re: [asterisk-users] Confused by concepts behind pjsip: endpoint, aor, contact

2015-01-04 Thread Antonio Gómez Soto
On Sun, Jan 4, 2015 at 8:48 PM, Joshua Colp jc...@digium.com wrote: Antonio Gómez Soto wrote: snip I did not mean they are the same, I meant that there seems to be a one-to-one relationship. So I am wondering, since the auth does seem useless without an aor, but an aor can exist