UNREACHABLE Peer
I wasn’t able to get much out of babytel, beyond the fact that I was, apparently, sending options which is why I’m not getting 200 OK.
How can I, generally speaking, ping/telnet or otherwise test the connection to get more data?
A connection to this peer directly from a softphone, Jitsi, works fine.
linux-k7qk*CLI>
linux-k7qk*CLI> sip show peer testcarrier
* Name : testcarrier
Secret :
MD5Secret :
Remote Secret:
Context : from-trunk
Subscr.Cont. :
Language : en
AMA flags : Unknown
Netborder CPD: No
Transfer mode: open
CallingPres : Presentation Allowed, Not Screened
FromUser : 1234567890
FromDomain : sip.babytel.ca Port 5060
Callgroup :
Pickupgroup :
MOH Suggest : default
Mailbox :
VM Extension : asterisk
LastMsgsSent : 32767/65535
Call limit : 0
Max forwards : 0
Dynamic : No
Callerid : “” <>
MaxCallBR : 384 kbps
Expire : -1
Insecure : port,invite
Force rport : Yes
ACL : No
DirectMedACL : No
T.38 support : No
T.38 EC mode : Unknown
T.38 MaxDtgrm: 4294967295
DirectMedia : No
PromiscRedir : No
User=Phone : No
Video Support: No
Text Support : No
Ign SDP ver : No
Trust RPID : No
Send RPID : Yes
TrustIDOutbnd: Legacy
Subscriptions: Yes
Overlap dial : No
Outb. proxy : nat5.babytel.ca
DTMFmode : rfc2833
Timer T1 : 500
Timer B : 32000
ToHost : sip.babytel.ca
Addr->IP : 198.38.7.11:5060
Defaddr->IP : (null)
Prim.Transp. : UDP
Allowed.Trsp : UDP
Def. Username: 1234567890
SIP Options : (none)
Codecs : 0x4 (ulaw)
Codec Order : (ulaw:20)
Auto-Framing : No
Status : UNREACHABLE
Useragent :
Reg. Contact :
Qualify Freq : 60000 ms
Sess-Timers : Accept
Sess-Refresh : uas
Sess-Expires : 1800 secs
Min-Sess : 90 secs
RTP Engine : asterisk
Parkinglot :
Use Reason : No
Encryption : No
linux-k7qk*CLI>
thanks,
Thufir
4 thoughts on - UNREACHABLE Peer
Turn on sip debugging for this peer and watch for the options sending and response.
If you are getting a response to your options asterisk shouldn’t be marking the peer as unavailable.
is your asterisk behind a firewall?
” Unreachable generally means you have qualify=yes, but the peer is ignoring OPTIONS requests.”
http://forums.asterisk.org/viewtopic.php?f&t
I have a Cisco DPC3825 DOCSIS 3.0 Data Gateway … with firewall at
“low” for SPI. I don’t recall the other setting, but I’ve tested it by making VoIP calls with Jitsi configured with this exact peer. Of course, the config isn’t exactly the same, but it’s the same account, same company, etc.
turn on debug like so:
https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information
I’ll try that, thanks 🙂
-Thufir
this fits with tech support saying that I was sending options, if that means INVITE et. al. as below:
linux-k7qk*CLI>
[Mar 20 10:31:01] Reliably Transmitting (NAT) to 198.38.7.11:5060:
OPTIONS sip:sip.babytel.ca SIP/2.0
Via: SIP/2.0/UDP 96.48.217.39:5060;branch=z9hG4bK5311a3f3;rport Max-Forwards: 70
… CSeq: 102 OPTIONS
User-Agent: Asterisk PBX 1.8.29.0-vici Date: Fri, 20 Mar 2015 14:31:01 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer Content-Length: 0
–