login | register
Thu 20 of Nov, 2008 [11:29 UTC]

voip-info.org

     
Thread UnlockedNon Sticky Thread

Incoming call rejected...

dervman
Joined: Fri 05 of Sep, 2008

Incoming call rejected...

Posted: Fri 05 of Sep, 2008 [21:42 UTC],
I have an account with sipgate. I've spent most of today trying to get both inbound and outbound calls working. I've got the outgoing calls working by putting a 9 in front of the number. However when I try and call inbound I get this error.

Sep 5 22:27:54 NOTICE18102: chan_sip.c:14035 handle_request_invite: Call from '9111167' to extension '9111167' rejected because extension not found.

I just can't see how to link a local extension with to the incoming call.

Here's my extensions.conf


general
static=yes
writeprotect=no
autofallthrough=yes
clearglobalvars=no
priorityjumping=no

default
exten => 1000,1,Dial(SIP/john,5)
exten => 1000,2,VoiceMail(1234@default)
exten => 1000,3,HangUp()

exten => 9111167,1,Dial(SIP/john,20)
exten => 9111167,2,VoiceMail(1234@default)
exten => 9111167,3,HangUp()


;dial 9 for outside line
exten => _9.,1,Dial(SIP/${EXTEN:1}@sipgate.co.uk,30,r)
; Voice mail dial 1 to access voice mail box number 1234
exten => 1,1,VoicemailMain,s1234
exten => 2,1,VoicemailMain,s2345

and the sip.conf


general
qualify=no
context = home
port = 5060
bindaddr = 0.0.0.0
srvlookup=yes
register => 9111167:ABCDEFG1@sipgate.co.uk/911117
externip = x.x.x.x
localnet=172.16.0.0/255.255.0.0
nat=yes

sipgate.co.uk
type=peer
secret=ABCDEFG1
username=9111167
host=sipgate.co.uk
fromuser=9111167
outgoingproxy=sipgate.co.uk
canreinvite=no
dtmfmode=inband
nat=yes
insecure=very
context=home

john
type=friend
username=john
secret=john
host=dynamic
context=default