[asterisk-users] Disallow CALLS without registry

Антон Сацкий satskiy.a at gmail.com
Mon Feb 13 11:37:06 CST 2017


sorry
NoOP(${DB_EXISTS(SIP/Registry/${CHANNEL(peername)})});

2017-02-13 19:31 GMT+02:00 Антон Сацкий <satskiy.a at gmail.com>:

> THINK i found a solution
>
> NoOP(${DB_EXISTS(/SIP/Registry/${CHANNEL(peername)})});
>
> THANKS TO ALL
>
> 2017-02-12 12:34 GMT+02:00 Frank Vanoni <mailinglist at linuxista.com>:
>
>> On Sat, 2017-02-11 at 12:25 +1300, Pete Mundy wrote:
>>
>> > > sip.conf configuration
>> > > In the [general] section, define:
>> > > [general]
>> > > ...
>> > > allowguest=no
>> > > alwaysauthreject=yes
>> > > ...
>>
>>
>> >
>>
>> With the above configuration on my Asterisk, I obtain the following
>> result:
>>
>> - if the phone is registered to Asterisk, I can place any call according
>> to the dial plan.
>>
>> - if the phone is NOT registered and I try to place a call, the phone
>> obtains a "403 forbidden" at any calling attempt.
>>
>>
>> Now, English is not my native language, but as far as I can understand,
>> "forbidden" means "not allowed" or "disallowed".
>>
>>
>>
>>
>> --
>> _____________________________________________________________________
>> -- 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
>>
>
>
>
> --
> Best regards
> Antony
> tel.   +380669197533 <+380%2066%20919%207533>
> tel2. +380636564340 <+380%2063%20656%204340>
> Paypal http://paypal.me/Satskiy
> <http://paypal.me/Satskiy?ppid=PPC000654&cnac=PL&rsta=en_PL(en_DK)&cust=NN8XJS9XEP22C&unptid=21db79ac-ef8d-11e5-9553-9c8e992ea258&t=&cal=4d776c21ca7d2&calc=4d776c21ca7d2&calf=4d776c21ca7d2&unp_tpcid=ppme-social-business-profile-created&page=main:email&pgrp=main:email&e=op&mchn=em&s=ci&mail=sys>
> satskiy.a at gmail.com <mail%3Asatskiy.a at gmail.com>
>



-- 
Best regards
Antony
tel.   +380669197533
tel2. +380636564340
Paypal http://paypal.me/Satskiy
<http://paypal.me/Satskiy?ppid=PPC000654&cnac=PL&rsta=en_PL(en_DK)&cust=NN8XJS9XEP22C&unptid=21db79ac-ef8d-11e5-9553-9c8e992ea258&t=&cal=4d776c21ca7d2&calc=4d776c21ca7d2&calf=4d776c21ca7d2&unp_tpcid=ppme-social-business-profile-created&page=main:email&pgrp=main:email&e=op&mchn=em&s=ci&mail=sys>
satskiy.a at gmail.com <mail%3Asatskiy.a at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20170213/e5eb0b30/attachment.html>


More information about the asterisk-users mailing list