On Fri, Mar 1, 2019, at 3:05 PM, Brian J. Murrell wrote: > I'm being told by my ITSP that my Asterisk shouldn't be challenging > their system to authenticate (i.e. a 401 response) when they send me a > SIP MESSAGE (or I suppose a SIP INVITE for that matter). > > But I'm not sure what a pjsip.conf configuration for that looks like. > > How does one associate an incoming call/message with an existing > authenticated outgoing registration so that Asterisk doesn't return a > 401 requiring authentication?
You either configure IP based matching using an identify section[1] or you can try line functionality on the outbound registration which may or may not work[2] (requires the upstream to adhere to the RFC, which not all do). [1] https://wiki.asterisk.org/wiki/display/AST/res_pjsip+Configuration+Examples [2] https://blogs.asterisk.org/2016/01/27/the-pjsip-outbound-registration-line-option/ -- Joshua C. Colp Digium - A Sangoma Company | 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