Hello Joshua, What will be example of endpoint configuration that not require authentication from specific ip ? volga629 On Sun, 3 Dec, 2017 at 11:01 AM, Joshua Colp <jcolp at digium.com> wrote:> On Sun, Dec 3, 2017, at 10:55 AM, volga629 at networklab.ca wrote: >> If understand correctly type=identify is more for sip trunk >> configuration ? >> >> >> ;[mytrunk] >> ;type=identify >> ;endpoint=mytrunk >> ;match=198.51.100.1 >> ;match=198.51.100.2 >> >> >> In chan_sip it was just reply 200 OK on keepalive packet without >> need >> define trunks. >> >> > > All incoming traffic into chan_pjsip is matched to an endpoint, this > includes OPTIONS. The OPTIONS request is also treated as if it were an > INVITE per the RFC, which is why the extension also has to exist. > > -- > 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 > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > Check out the new Asterisk community forum at: > https://community.asterisk.org/ > > New to Asterisk? Start here: > https://wiki.asterisk.org/wiki/display/AST/Getting+Started > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20171213/fae7f41d/attachment.html>
On Wed, Dec 13, 2017, at 09:38 PM, volga629 at networklab.ca wrote:> Hello Joshua, > What will be example of endpoint configuration that not require > authentication from specific ip ?An endpoint doesn't know about an IP address. The identify I previously mentioned is what associates the request to an endpoint. In the endpoint if you have no inbound authentication specified (auth option) then it won't require authentication. -- 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
Hello Joshua, Thank you for help that worked. On Thu, 14 Dec, 2017 at 7:06 AM, Joshua Colp <jcolp at digium.com> wrote:> On Wed, Dec 13, 2017, at 09:38 PM, volga629 at networklab.ca wrote: >> Hello Joshua, >> What will be example of endpoint configuration that not require >> authentication from specific ip ? > > An endpoint doesn't know about an IP address. The identify I > previously > mentioned is what associates the request to an endpoint. In the > endpoint > if you have no inbound authentication specified (auth option) then it > won't require authentication. > > -- > 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 > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > Check out the new Asterisk community forum at: > https://community.asterisk.org/ > > New to Asterisk? Start here: > https://wiki.asterisk.org/wiki/display/AST/Getting+Started > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20171218/b73389e9/attachment.html>