Hi, all
I configured a SIP Trunk between my (Asterisk) and (Ribbon Microsft Teams) and it works with calls in both directions.
After some days, the trunk change the state from “ok” to “UNREACHABLE” withou make any changes in both servers.
The both servers can ping witch other.
[My Asterisk version is ]# asterisk -V
Asterisk 1.4.30
The log’s said that my Asterisk response with 404 Not Found like you can see in the image and in logs abouve
SIP Debugging Enabled for IP: 10.194.230.41:5060
Reliably Transmitting (no NAT) to 10.194.230.41:5060:
OPTIONS sip:10.194.230.41 SIP/2.0
Via: SIP/2.0/UDP 10.252.0.10:5060;branch=z9hG4bK28c49995;rport
From: “asterisk” <sip: asterisk@ 10.252.0.10>;tag=as1cfbbee1
To: <sip:10.194.230. 41>
Contact: <sip:asterisk @10.252.0.10>
Call-ID: 415ef41e758ed2633cfe1cae50781f04 @ 10.252.0.10
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Fri, 01 Apr 2022 16:31:09 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces
Content-Length: 0
Retransmitting #1 (no NAT) to 10.194.230.41:5060:
OPTIONS sip:10.194.230.41 SIP/2.0
Via: SIP/2.0/UDP 10.252.0.10:5060;branch=z9hG4bK28c49995;rport
From: “asterisk” <sip:asterisk @10.252.0.10>;tag=as1cfbbee1
To: <sip:10.194.230. 41>
Contact: <sip:asterisk @10.252.0.10>
Call-ID: 415ef41e758ed2633cfe1cae50781f04 @ 10.252.0.10
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Fri, 01 Apr 2022 16:31:09 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces
Content-Length: 0
Retransmitting #2 (no NAT) to 10.194.230.41:5060:
OPTIONS sip:10.194.230.41 SIP/2.0
Via: SIP/2.0/UDP 10.252.0.10:5060;branch=z9hG4bK28c49995;rport
From: “asterisk” <sip:asterisk @10.252.0.10>;tag=as1cfbbee1
To: <sip:10.194.230. 41>
Contact: <sip:asterisk @10.252.0.10>
Call-ID: 415ef41e758ed2633cfe1cae50781f04 @ 10.252.0.10
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Fri, 01 Apr 2022 16:31:09 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces
Content-Length: 0
Retransmitting #3 (no NAT) to 10.194.230.41:5060:
OPTIONS sip:10.194.230.41 SIP/2.0
Via: SIP/2.0/UDP 10.252.0.10:5060;branch=z9hG4bK28c49995;rport
From: “asterisk” <sip:asterisk @10.252.0.10>;tag=as1cfbbee1
To: <sip:10.194.230. 41>
Contact: <sip:asterisk @ 10.252.0.10>
Call-ID: 415ef41e758ed2633cfe1cae50781f04@ 10.252.0.10
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Fri, 01 Apr 2022 16:31:09 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces
Content-Length: 0
Retransmitting #4 (no NAT) to 10.194.230.41:5060:
OPTIONS sip:10.194.230.41 SIP/2.0
Via: SIP/2.0/UDP 10.252.0.10:5060;branch=z9hG4bK28c49995;rport
From: “asterisk” <sip:asterisk@ 10.252.0.10>;tag=as1cfbbee1
To: <sip: 10.194.230.41>
Contact: <sip:asterisk@ 10.252.0.10>
Call-ID: 415ef41e758ed2633cfe1cae50781f04@ 10.252.0.10
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Fri, 01 Apr 2022 16:31:09 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces
Content-Length: 0
Really destroying SIP dialog ‘415ef41e758ed2633cfe1cae50781f04@10.252.0.10’ Method: OPTIONS
Reliably Transmitting (no NAT) to 10.194.230.41:5060:
OPTIONS sip:10.194.230.41 SIP/2.0
Via: SIP/2.0/UDP 10.252.0.10:5060;branch=z9hG4bK1639e994;rport
From: “asterisk” <sip:asterisk@ 10.252.0.10>;tag=as0967858b
To: <sip: 10.194.230.41>
Contact: <sip:asterisk@ 10.252.0.10>
Call-ID: 61cfdc19067dbb4d64b213e54d8f3711@ 10.252.0.10
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Fri, 01 Apr 2022 16:31:13 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces
Content-Length: 0
Retransmitting #1 (no NAT) to 10.194.230.41:5060:
OPTIONS sip:10.194.230.41 SIP/2.0
Via: SIP/2.0/UDP 10.252.0.10:5060;branch=z9hG4bK1639e994;rport
From: “asterisk” <sip:asterisk@ 10.252.0.10>;tag=as0967858b
To: <sip: 10.194.230.41>
Contact: <sip:asterisk@ 10.252.0.10>
Call-ID: 61cfdc19067dbb4d64b213e54d8f3711@ 10.252.0.10
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Fri, 01 Apr 2022 16:31:13 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces
Content-Length: 0
;#########################
;#######RIBBON###Trunk###
;#########################
[RIBBON]
type=friend
host=10.194.230.41
insecure=port,invite
disallow=all
allow=ulaw
allow=alaw
dtmfmode=rfc2833
nat=no
canreinvite=no
qualify=yes
I have more trunks with other servers with same configuration and never get down
How can I see the configuration or in log the reason for it’s happen?
Thanks for your attention