Peer is UNREACHABLE

We have two asterisk server. For both we are using same asterisk 1.4 and same configuration. One server is working fine and registering peer. The other server is showing peer are unreachable.

In server1
[PROD1]
host=xxx.xxx.xxx.xxx
username=422
secret=*****************
type=peer
context=default
dtmfmode=rfc2833
canreinvite=no

In server 2
[PROD1]
host=xxx.xxx.xxx.xxx
username=424
secret=*****************
type=peer
context=default
dtmfmode=rfc2833
canreinvite=no

if we use 424 in server one it is working fine… could you please tell me what’s work with me?

The two addresses should be different.

Best practice is that the peer names be different.

You shouldn’t need username.

I have used the different peer name but failed :frowning:

Enable the full log (logger.conf).

Do:

core set debug 5
core set verbose 5
sip set debug on

and you may have enough information to understand what is going wrong.