[Resolved] 603 Declined


#1

Can anyone tell me why I would get this error? Does it mean declined from my asterisk box or my provider’s asterisk box?

What are the usual problems that cause this? I am entering sip.conf and extensions.conf below:

Thank you.

[code][general]
externip=111.111.111.111
localnet=192.168.0.0/255.255.255.0
nat=yes
port = 5060 ; Port to bind to (SIP is 5060)
bindaddr = 0.0.0.0 ; Address to bind to (all addresses on machine)
disallow=all
allow=ulaw
allow=alaw
;context = from-sip-external ; Send unknown SIP callers to this context
context=incoming
callerid = device <1000>

;**************************************
;Registration statement
;**************************************
register=me:me@sip.axvoice.com

[1000]
username=1000
type=friend
secret=abc123
record_out=Adhoc
record_in=Adhoc
qualify=no
port=5060
nat=yes
mailbox=1000@device
host=dynamic
dtmfmode=rfc2833
context=internal
canreinvite=no
callerid= device <1000>

[axVoice]
username=me
type=friend
secret=me
insecure=very
host=216.143.130.36
fromuser=me
fromdomain=216.143.130.36
dtmfmode=rfc2833
disallow=all
defaultip=216.143.130.36
context=incoming
canrenvite=no
authname=me
allow=ulaw[/code]

[code][globals]
AXTRUNK = axVoice

[incoming]
include => outbound-local
exten => s,1,Answer()
exten => s,2,Wait(1)
exten => s,3,Background(tt-monkeys)
exten => 1,1,Playback(digits/1)
exten => 1,2,Dial(Sip/1000)
;exten => 1,2,Goto(incoming,s,1)
exten => 2,1,Playback(digits/2)
exten => 2,2,Goto(incoming,s,1)

exten => i,1,Playback(pbx-invalid)
exten => i,2,Goto(incoming,s,1)

exten => t,1,Playback(vm-goodbye)
exten => 1,2,Hangup()

[internal]
include => outbound-local

exten => 101,1,Dial(Sip/1000,r)
exten => 102,1,Dial(Sip/1000,r)

[outbound-local]
ignorepat => 9
exten => _9NXXXXXX,1,Dial${AXTRUNK/${EXTEN:1})
exten => _9NXXXXXX,2,Congenstion()[/code]

CLI Output:

== Spawn extension (internal, 94714456, 1) exited non-zero on ‘SIP/1000-7a9f’

asterisk1*CLI>


#2

OK, I’ve changed it a bit so that I can use the full number notation:

[outbound-local]
exten => _1NXXXNXXXXXX,1,Dial(${AXTRUNK}/${EXTEN})

So I enter the full number 1-areacode-number and now I get:
484 Address Incomplete.

What does that mean? In what way is address incomplete? According to my asterisk server or the sip provider’s server?

Any help would be appreciated.

Thanks,

Lee