<div dir="ltr">Hello Mark,<div><br></div><div>IMO, it is Asterisk side. Of course it depends on your setup but probably you need Asterisk sip peer to opensips. Do not know for pjsip, for older sip_chan it would be something like:</div><div><br></div><div>[opensips]</div><div>type=friend</div><div>deny=<a href="http://0.0.0.0/0.0.0.0">0.0.0.0/0.0.0.0</a></div><div>permit=OPENSIPS_IP/<a href="http://255.255.255.255">255.255.255.255</a></div><div>host=OPENSIPS_IP</div><div><br></div><div>You definitely can set this up with FreePBX web ui.</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Mar 29, 2021 at 10:24 AM Mark Allen <<a href="mailto:mark@allenclan.co.uk">mark@allenclan.co.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">We have a DID. If an incoming INVITE goes via OpenSIPS, Asterisk returns '401 Unauthorized' requesting authorization credentials. If we map the DID direct to Asterisk it doesn't ask for authorization. Our setup is...<div><br></div><div>DID ---> OpenSIPS 3.1 Mid_registrar ---> Asterisk (FreePBX)</div><div><br></div><div>Is there something I need to configure on OpenSIPS or is it purely an Asterisk issue?</div></div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div>