Console debug informations. I entered these commands.
CLI>sip debug peer 502
CLI>sip debug peer Trunk502
Console output:
Really destroying SIP dialog ‘1191766996@10.0.0.101’ Method: OPTIONS
<— SIP read from UDP:10.0.0.101:5098 —>
OPTIONS sip:10.0.0.25:5061 SIP/2.0
Via: SIP/2.0/UDP 10.0.0.101:5098;branch=z9hG4bK291891526
From: “502” sip:502@10.0.0.25:5061;tag=680593452
To: sip:10.0.0.25:5061
Call-ID: 886459809@10.0.0.101
CSeq: 1 OPTIONS
Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE
Accept: application/sdp
Max-Forwards: 70
User-Agent: Yealink SIP-T28P 2.70.23.2 00:15:65:13:76:a7
Expires: 120
Content-Length: 0
<------------->
— (12 headers 0 lines) —
Sending to 10.0.0.101:5098 (NAT)
Looking for s in from-sip-external (domain 10.0.0.25)
<— Transmitting (NAT) to 10.0.0.101:5098 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.0.0.101:5098;branch=z9hG4bK291891526;received=10.0.0.101;rport=5098
From: “502” sip:502@10.0.0.25:5061;tag=680593452
To: sip:10.0.0.25:5061;tag=as4f674f8a
Call-ID: 886459809@10.0.0.101
CSeq: 1 OPTIONS
Server: FPBX-13.0.156(13.8.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Contact: sip:10.0.0.25:5061
Accept: application/sdp
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog ‘886459809@10.0.0.101’ in 32000 ms (Method: OPTIONS)
<— SIP read from UDP:10.0.0.101:5098 —>
OPTIONS sip:10.0.0.25:5061 SIP/2.0
Via: SIP/2.0/UDP 10.0.0.101:5098;branch=z9hG4bK622622239
From: “502” sip:502@10.0.0.25:5061;tag=1939074788
To: sip:10.0.0.25:5061
Call-ID: 1603496449@10.0.0.101
CSeq: 1 OPTIONS
Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE
Accept: application/sdp
Max-Forwards: 70
User-Agent: Yealink SIP-T28P 2.70.23.2 00:15:65:13:76:a7
Expires: 120
Content-Length: 0
<------------->
— (12 headers 0 lines) —
Sending to 10.0.0.101:5098 (NAT)
Looking for s in from-sip-external (domain 10.0.0.25)
<— Transmitting (NAT) to 10.0.0.101:5098 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.0.0.101:5098;branch=z9hG4bK622622239;received=10.0.0.101;rport=5098
From: “502” sip:502@10.0.0.25:5061;tag=1939074788
To: sip:10.0.0.25:5061;tag=as7ce045a3
Call-ID: 1603496449@10.0.0.101
CSeq: 1 OPTIONS
Server: FPBX-13.0.156(13.8.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Contact: sip:10.0.0.25:5061
Accept: application/sdp
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog ‘1603496449@10.0.0.101’ in 32000 ms (Method: OPTIONS)
Really destroying SIP dialog ‘840474079@10.0.0.101’ Method: OPTIONS
Reliably Transmitting (no NAT) to 10.0.0.101:5098:
OPTIONS sip:502@10.0.0.101:5098 SIP/2.0
Via: SIP/2.0/UDP 10.0.0.25:5061;branch=z9hG4bK27272db2
Max-Forwards: 70
From: “Unknown” sip:Unknown@10.0.0.25:5061;tag=as1c0e06c2
To: sip:502@10.0.0.101:5098
Contact: sip:Unknown@10.0.0.25:5061
Call-ID: 606a11642ac24c1a3717b0605a7bb17d@10.0.0.25:5061
CSeq: 102 OPTIONS
User-Agent: FPBX-13.0.156(13.8.0)
Date: Wed, 13 Jul 2016 14:03:45 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0
<— SIP read from UDP:10.0.0.101:5098 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.0.0.25:5061;branch=z9hG4bK27272db2
From: “Unknown” sip:Unknown@10.0.0.25:5061;tag=as1c0e06c2
To: sip:502@10.0.0.101:5098;tag=1451497391
Call-ID: 606a11642ac24c1a3717b0605a7bb17d@10.0.0.25:5061
CSeq: 102 OPTIONS
User-Agent: Yealink SIP-T28P 2.70.23.2 00:15:65:13:76:a7
Content-Length: 0
<------------->
— (8 headers 0 lines) —
Really destroying SIP dialog ‘606a11642ac24c1a3717b0605a7bb17d@10.0.0.25:5061’ Method: OPTIONS