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 :
MD5Secret :
Context : default
Subscr.Cont. :
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 :
MD5Secret :
Context : default
Subscr.Cont. :
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