> On 11/02/2017, at 3:40 am, Frank Vanoni <[email protected]> wrote:
> 
> On Thu, 2017-02-09 at 14:58 +0200, Антон Сацкий wrote:
> 
> 
>> so the main question is -- how to Disallow CALLS without registering
>> on PBX
> 
> sip.conf configuration
> In the [general] section, define:
> 
> 
> [general]
> ...
> allowguest=no
> alwaysauthreject=yes
> ...

I don't think either of these configuration attributes achieve what the OP 
requested ("how to Disallow CALLS without registering on PBX").

In fact, I'm not sure that it's actually possible to disallow [authenticated] 
calls from a peer that hasn't registered!

As far as I can tell, 'registration' was never intended to be part of the 
authentication process. It's sole purpose is to inform the PBX as to the 
current location of the endpoint. I suspect this means that what the OP is 
asking for cannot be achieved with the current code bases.

But each time I'm proven wrong I learn something, so if I'm wrong then please 
by all means correct me! :)

Pete


Attachment: smime.p7s
Description: S/MIME cryptographic signature

-- 
_____________________________________________________________________
-- 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

Reply via email to