Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Question on permit/deny


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
geisj at pagestation.com
Guest





PostPosted: Tue Jun 30, 2015 10:03 pm    Post subject: [asterisk-users] Question on permit/deny Reply with quote

I see in my log file this:Jun 30 21:44:26] NOTICE[42192][C-000002f3] 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
Back to top
ish at pack-net.co.uk
Guest





PostPosted: Wed Jul 01, 2015 4:16 am    Post subject: [asterisk-users] Question on permit/deny Reply with quote

On 1 July 2015 at 04:03, Jerry Geis <geisj@pagestation.com (geisj@pagestation.com)> wrote:
Quote:
I see in my log file this:Jun 30 21:44:26] NOTICE[42192][C-000002f3] chan_sip.c: Call from '' (5.189.144.120:5076) to extension '[url=tel:011972592675431]011972592675431[/url]' 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


--
Quote:
Ishfaq Malik
Department: VOIP Support
Company: Packnet Limited
t: +44 (0)161 660 2350
f: +44 (0)161 660 9825
e: ish@pack-net.co.uk (ish@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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services