Re: [asterisk-users] Question on permit/deny

2015-07-01 Thread Ishfaq Malik
On 1 July 2015 at 04:03, Jerry Geis  wrote:

> I see in my log file this:
> Jun 30 21:44:26] NOTICE[42192][C-02f3] chan_sip.c: Call from '' (
> 5.189.144.120:5076) to extension '011972592675431' rejected because
> extension not found in context 'default'.
>
> which is great its rejected - however
> in my sip.conf file I have
>
> deny=0.0.0.0
> permit=x.y.z.z/255.255.255.255
> permit=a.b.c.d/255.255.255.255
>
> So I'm expecting to deny everything and only allow
> the two addresses I have listed of which the 5.189.144.120 is not one of?
>
> What is wrong with my permit/deny ?
>
> Thanks,
>
> Jerry
>
> --
> _
>
>
Check your sip.conf to see if allowguest is explicitly set to no.

;context=default ; Default context for incoming calls
;allowguest=no  ; Allow or reject guest calls (default is
yes)
; If your Asterisk is connected to the
Internet
; and you have allowguest=yes
; you want to check which services you
offer everyone
; out there, by enabling them in the
default context (see below).


Regards

Ish


-- 

Ishfaq Malik
Department: VOIP Support
Company: Packnet Limited
t: +44 (0)161 660 2350
f: +44 (0)161 660 9825
e: i...@pack-net.co.uk
w: http://www.pack-net.co.uk

Registered Address: PACKNET LIMITED, Duplex 2, Ducie House
37 Ducie Street
Manchester, M1 2JW
COMPANY REG NO. 04920552
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] Question on permit/deny

2015-06-30 Thread Jerry Geis
I see in my log file this:
Jun 30 21:44:26] NOTICE[42192][C-02f3] chan_sip.c: Call from '' (
5.189.144.120:5076) to extension '011972592675431' rejected because
extension not found in context 'default'.

which is great its rejected - however
in my sip.conf file I have

deny=0.0.0.0
permit=x.y.z.z/255.255.255.255
permit=a.b.c.d/255.255.255.255

So I'm expecting to deny everything and only allow
the two addresses I have listed of which the 5.189.144.120 is not one of?

What is wrong with my permit/deny ?

Thanks,

Jerry
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users