[OpenSIPS-Users] DID via OpenSIPS causing Asterisk to ask for authorization

Mark Allen mark at allenclan.co.uk
Mon Mar 29 15:22:27 EST 2021


Hi Stas,

thanks for that. I'll try it out

cheers,

Mark



On Mon, 29 Mar 2021 at 15:51, Stas Kobzar <staskobzar at gmail.com> wrote:

> Hello Mark,
>
> 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:
>
> [opensips]
> type=friend
> deny=0.0.0.0/0.0.0.0
> permit=OPENSIPS_IP/255.255.255.255
> host=OPENSIPS_IP
>
> You definitely can set this up with FreePBX web ui.
>
>
>
> On Mon, Mar 29, 2021 at 10:24 AM Mark Allen <mark at allenclan.co.uk> wrote:
>
>> 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...
>>
>> DID ---> OpenSIPS 3.1 Mid_registrar ---> Asterisk (FreePBX)
>>
>> Is there something I need to configure on OpenSIPS or is it purely an
>> Asterisk issue?
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20210329/2755474c/attachment-0001.html>


More information about the Users mailing list