Hi All,
This is my very first post; I would like to express sincere thanks to all contributors for their valuable contributions.
I have spent a considerable amount of time trying to fix an incoming call drop issue; the following is what I discovered, which appears to be the problem.
The following response 200/183 works without any issue.(Asterisk configuration)
X.X.X.X:80 10.0.20.8:5060 │Via: SIP/2.0/UDP X.X.X.X:80;branch=z9hG4bK3gfqi13egfvvlwg4cqlffcue3T41492;received=X.X.X.X;rport=80
──────────┬───────── ──────────┬─────────│From: <tel:+Y.Y.Y.Y;noa=international;srvattri=international>;tag=sbc0511yxxwg6sg
17:50:45.655109 │ INVITE (SDP) │ │To: <tel:+Z.Z.Z.Z>;tag=as3b147b77
+0.000883 │ ──────────────────────────> │ │Call-ID: [email protected]
17:50:45.655992 │ 100 Trying │ │CSeq: 1 INVITE
+0.003400 │ <────────────────────────── │ │Server: Grandstream Wave 1.2.14
17:50:45.659392 │ 180 Ringing │ │Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
+0.000071 │ <────────────────────────── │ │Supported: replaces
17:50:45.659463 │ 183 Session Progress (SDP) │ │Contact: <sip:[email protected]:5060>
+2.200645 │ <────────────────────────── │ │Content-Type: application/sdp
17:50:47.860108 │ 200 OK (SDP) │ │Content-Length: 270
+0.416034 │ <────────────────────────── │ │
17:50:48.276142 │ ACK │ │v=0
+7.069805 │ ──────────────────────────> │ │o=root 1368296184 1368296184 IN IP4 10.0.20.8
17:50:55.345947 │ BYE │ │s=Asterisk PBX 16.28.0~dfsg-0+deb10u3
+0.000329 │ ──────────────────────────> │ │c=IN IP4 10.0.20.8
17:50:55.346276 │ 200 OK │ │t=0 0
│ <────────────────────────── │ │m=audio 11656 RTP/AVP 0 8 96
│ │ │a=rtpmap:0 PCMU/8000
│ │ │a=rtpmap:8 PCMA/8000
│ │ │a=rtpmap:96 telephone-event/8000
│ │ │a=fmtp:96 0-16
│ │ │a=maxptime:150
│ │ │a=sendrecv
This is the response when FreePBX initiates session for 183/200.
X.X.X.X:80 10.0.20.48:5060 │Via: SIP/2.0/UDP X.X.X.X:80;rport=80;received=X.X.X.X;branch=z9hG4bKssn81ltn0v8p8jo8qo8oqjyllT22800
──────────┬───────── ──────────┬─────────│Call-ID: [email protected]
│ INVITE (SDP) │ │From: <tel:+Y.Y.Y.Y;noa=international;srvattri=international>;tag=sbc0402mipyp3xs
18:49:46.544092 │ ──────────────────────────> │ │To: <tel:+Z.Z.Z.Z>;tag=769282fc-d2a6-44d8-8548-4aeeda10d1be
+0.000832 │ 100 Trying │ │CSeq: 1 INVITE
18:49:46.544924 │ <────────────────────────── │ │Server: Grandstream Wave 1.2.14
+0.183000 │ 183 Session Progress (SDP) │ │Allow: OPTIONS, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, MESSAGE, REFER
18:49:46.727924 │ <────────────────────────── │ │Contact: <sip:[email protected]:5060>
+0.138454 │ 183 Session Progress (SDP) │ │Supported: 100rel, timer, replaces, norefersub
18:49:46.866378 │ <────────────────────────── │ │Session-Expires: 1800;refresher=uac
+0.019559 │ 183 Session Progress (SDP) │ │Require: timer
18:49:46.885937 │ <<<──────────────────────── │ │Content-Type: application/sdp
+3.689477 │ 200 OK (SDP) │ │Content-Length: 252
18:49:50.575414 │ <────────────────────────── │ │
+0.499792 │ 200 OK (SDP) │ │v=0
18:49:51.075206 │ <<<──────────────────────── │ │o=- 229277753 229277755 IN IP4 10.0.20.48
+1.000201 │ 200 OK (SDP) │ │s=Asterisk
18:49:52.075407 │ <<<──────────────────────── │ │c=IN IP4 10.0.20.48
+1.999571 │ 200 OK (SDP) │ │t=0 0
18:49:54.074978 │ <<<──────────────────────── │ │m=audio 14428 RTP/AVP 0 8 96
+3.999977 │ 200 OK (SDP) │ │a=rtpmap:0 PCMU/8000
18:49:58.074955 │ <<<──────────────────────── │ │a=rtpmap:8 PCMA/8000
+4.000240 │ 200 OK (SDP) │ │a=rtpmap:96 telephone-event/8000
18:50:02.075195 │ <<<──────────────────────── │ │a=fmtp:96 0-16
+4.000542 │ 200 OK (SDP) │ │a=ptime:20
18:50:06.075737 │ <<<──────────────────────── │ │a=maxptime:150
+2.314463 │ ACK │ │a=sendrecv
18:50:08.390200 │ ──────────────────────────> │ │
Based to my understanding, the caller server never receives the response; consequently, there is no acknowledgement (ACK), which results in the call drop.
Thanks