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

2021-03-29 Thread Mark Allen
Hi Stas, thanks for that. I'll try it out cheers, Mark On Mon, 29 Mar 2021 at 15:51, Stas Kobzar 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

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

2021-03-29 Thread Stas Kobzar
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

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

2021-03-29 Thread Mark Allen
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