sip show peers UNREACHABLE

General discussions about Asterisk.

Moderators: Moderator, Support

sip show peers UNREACHABLE

Postby ssuraj » Fri Sep 25, 2015 7:49 pm

Hi,

I am trying to create peer from Asterisk 1.4.44-vici to cisco router.

from my one server peer show UNREACHABLE

[router]
disallow=all
allow=g729
insecure=very
ipaddr=X.X.X.X
context=default
type=friend
host=X.X.X.X

sip show peer router

* Name : router
Secret : <Not set>
MD5Secret : <Not set>
Context : default
Subscr.Cont. : <Not set>
Language : en
AMA flags : Unknown
Transfer mode: open
CallingPres : Presentation Allowed, Not Screened
Callgroup :
Pickupgroup :
Mailbox :
VM Extension : asterisk
LastMsgsSent : 32767/65535
Call limit : 0
Dynamic : No
Callerid : "" <>
MaxCallBR : 384 kbps
Expire : -1
Insecure : port,invite
Nat : Always
ACL : No
T38 pt UDPTL : No
CanReinvite : No
PromiscRedir : No
User=Phone : No
Video Support: No
Trust RPID : Yes
Send RPID : Yes
Subscriptions: Yes
Overlap dial : No
Forward Loop : Yes
DTMFmode : rfc2833
LastMsg : 0
ToHost : X.X.X.X
Addr->IP : X.X.X.X Port 5060
Defaddr->IP : 0.0.0.0 Port 0
Def. Username:
SIP Options : (none)
Codecs : 0x100 (g729)
Codec Order : (g729:20)
Auto-Framing: No
Status : UNREACHABLE
Useragent :
Reg. Contact :


sip set debug peer router

SIP Debugging Enabled for IP: x.x.x.x:5060
Reliably Transmitting (NAT) to x.x.x.x:5060:
OPTIONS sip:x.x.x.x;cpd=on SIP/2.0
Via: SIP/2.0/UDP y.y.y.y:5060;branch=z9hG4bK1105b0a2;rport
From: "asterisk" <sip:asterisk@y.y.y.y>;tag=as56399161
To: <sip:x.x.x.x;cpd=on>
Contact: <sip:asterisk@y.y.y.y>
Call-ID: 41bfead34edf6a03581dccba421a5856@y.y.y.y
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Fri, 25 Sep 2015 20:59:05 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces
Content-Length: 0

Retransmitting #1 (NAT) same
Retransmitting #2 (NAT) same
Retransmitting #3 (NAT) same
Retransmitting #4 (NAT) same


so i install same Asterisk 1.4.44-vici in other machine peer with same setting showing ok.

[router]
disallow=all
allow=g729
insecure=very
ipaddr=X.X.X.X
context=default
type=friend
host=X.X.X.X


* Name : router
Secret : <Not set>
MD5Secret : <Not set>
Context : default
Subscr.Cont. : <Not set>
Language : en
AMA flags : Unknown
Transfer mode: open
CallingPres : Presentation Allowed, Not Screened
Callgroup :
Pickupgroup :
Mailbox :
VM Extension : asterisk
LastMsgsSent : 32767/65535
Call limit : 0
Dynamic : No
Callerid : "" <>
MaxCallBR : 384 kbps
Expire : -1
Insecure : port,invite
Nat : Always
ACL : No
T38 pt UDPTL : No
CanReinvite : No
PromiscRedir : No
User=Phone : No
Video Support: No
Trust RPID : Yes
Send RPID : Yes
Subscriptions: Yes
Overlap dial : No
Forward Loop : Yes
DTMFmode : rfc2833
LastMsg : 0
ToHost : X.X.X.X
Addr->IP : X.X.X.X Port 5060
Defaddr->IP : 0.0.0.0 Port 0
Def. Username:
SIP Options : (none)
Codecs : 0x100 (g729)
Codec Order : (g729:20)
Auto-Framing: No
Status : OK (5 ms)
Useragent :
Reg. Contact :

i also try to copy new machine sip.conf to old machine but no luck
There is any setting other than peer.

Thanx
S.s
ssuraj
Newsterisk
 
Posts: 5
Joined: Mon Mar 11, 2013 4:15 am

Re: sip show peers UNREACHABLE

Postby david55 » Sat Sep 26, 2015 4:53 am

Asterisk 1.4 is several years beyond end of life.

You have over-obfuscated the IP addresses and not provided details of network topology.

This is not a support forum.
david55
Moves Like Spencer
 
Posts: 12570
Joined: Fri Sep 26, 2008 5:03 am


Return to Asterisk General

Who is online

Users browsing this forum: No registered users and 1 guest