View previous topic :: View next topic |
Author |
Message |
geisj at pagestation.com Guest
|
Posted: Tue Jun 30, 2015 10:03 pm Post subject: [asterisk-users] Question on permit/deny |
|
|
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
|
Posted: Wed Jul 01, 2015 4:16 am Post subject: [asterisk-users] Question on permit/deny |
|
|
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 |
|
|
|