[asterisk-users] 401 Unauthorized when originating SIP user exists on remote server
Joshua C. Colp
jcolp at sangoma.com
Sun Aug 30 05:29:53 CDT 2020
On Sat, Aug 29, 2020 at 5:39 PM Markus <universe at truemetal.org> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20200830/95c786ef/attachment.html>
More information about the asterisk-users
mailing list