On Sat, Aug 29, 2020 at 5:39 PM Markus <[email protected]> wrote:
<snip> > Shouldn't Asterisk check first for IP-based authentication and ignore > the From: part? In my case, use only the "incoming-server" peer. > > Let's imagine remote-server would receive SIP calls which originate from > the PSTN... and the originating caller somewhere in the world uses > "3333" as username/CLI so that it makes it into the "From: sip:....@" > part. That call would also get rejected with 401 Unauthorized if I'm not > mistaken? > > Is there a switch I'm missing? > chan_sip has a fixed matching order where From based occurs first, there's no option to change that. The chan_pjsip module made this ordering configurable. -- Joshua C. Colp Asterisk Technical Lead Sangoma Technologies Check us out at www.sangoma.com and 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
