error: chan_sip.c:20006 handle_request_invite: Call from ‘5001’ to extension ‘5000’ rejected because extension not found.
my dial plan settings
[globals]
[general]
autofallthrough=yes
[default]
exten => s,1,Verbose(1|Unrouted call handler)
exten => s,n,Answer()
exten => s,n,Wait(1)
exten => s,n,Playback(tt-weasels)
exten => s,n,Hangup()
[incoming_calls]
[internal]
exten => 5000,1,Verbose(1|Extension 5000)
exten => 5000,n,Dial(SIP/5000,30)
exten => 5000,n,Hangup()
exten => 5001,1,Verbose(1|Extension 5001)
exten => 5001,n,Dial(SIP/5001,30)
exten => 5001,n,Hangup()
sip settings in sip.conf
[general]
srvlookup=yes
[5000]
deny=0.0.0.0/0.0.0.0
disallow=all
secret=1234
dtmfmode=rfc2833
canreinvite=no
context=from-sip
host=dynamic
type=friend
nat=yes
port=5060
qualify=yes
callgroup=
pickupgroup=
allow=ulaw
allow=h263
allow=h263p
allow=h264
dial=SIP/5000
mailbox=5000@device
permit=0.0.0.0/0.0.0.0
callerid=device <5000>
callcounter=yes
faxdetect=no
insecure=invite,port
[5001]
deny=0.0.0.0/0.0.0.0
disallow=all
secret=1234
dtmfmode=rfc2833
canreinvite=no
context=from-sip
host=dynamic
type=friend
nat=yes
port=5060
qualify=yes
callgroup=
pickupgroup=
allow=ulaw
allow=h263
allow=h263p
allow=h264
dial=SIP/5001
mailbox=5001@device
permit=0.0.0.0/0.0.0.0
callerid=device <5001>
callcounter=yes
faxdetect=no
insecure=invite,port
Thanks in Advance
sivakumar