Asterisk bug

When the user status from sip show peers command is UNREACHABLE
,I cant dial the user and always tell me Busy.But I know the user is not calling. why?

101/101 61.170.239.88 D N 5060 UNREACHABLE
since I have upgrader the version of asterisk

what is the IP address of your asterisk box? unreachable means that asterisk cannot find a network route to the peer, and that is not an asterisk problem so much as a network issue.

i’m guessing you have the device and the asterisk server on separate networks, and don’t have the NAT settings configured correctly.

if you haven’t already, head over to voip-info and read up on asterisk and NAT.

thx for answer but before upggrade asterisk and AMP my network config is OK after upgrade the users is not OK

that’s not really answering the query is it ? post your network details, and the contents of sip.conf here.

sip.conf

[general]

port = 5060 ; Port to bind to (SIP is 5060)
bindaddr = 0.0.0.0 ; Address to bind to (all addresses on machine)
localnet=192.168.2.0
;localmask=255.255.255.0

disallow=all
allow=ulaw
allow=alaw
allow=g729
allow=gsm
allow=h263
allow=h263+

canreinvite=no

context=from-sip-external ; Send unknown SIP callers to this context
callerid=Unknown
videosupport=yes

#include sip_nat.conf
#include sip_custom.conf
#include sip_additional.conf

my sip_additional.conf

[100]
username=100
type= friend
secret= 123456
record_out=On-Demand
record_in=On-Demand
qualify= 5000
port= 5060
nat= yes
mailbox=100@device
host= dynamic
dtmfmode= rfc2833
disallow= all
context= from-internal
canreinvite= no
callerid=toto 100>
allow=alaw
allow=ulaw
allow=g729
allow=gsm
allow=h263
;allow=h263+
accountcode=FR

[101]
username=101
type= friend
secret=12345
record_out=On-Demand
record_in=On-Demand
qualify= 5000
port= 5060
nat= yes
mailbox=101@device
host= dynamic
dtmfmode= rfc2833
disallow= all
context= from-internal
canreinvite= no
callerid=titi <101>
allow=alaw
allow=ulaw
allow=g729
allow=gsm
allow=h263
;allow=h263+
accountcode=FR
.
.
.
.