Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drachtio generates an ACK in response to 200 OK on an OPTIONS message #167

Closed
tsearle opened this issue Aug 4, 2021 · 4 comments
Closed

Comments

@tsearle
Copy link

tsearle commented Aug 4, 2021

200.pcap.zip
How the message is getting proxied
return await srf.proxyRequest(req, [destUri], { provisionalTimeout: '2s', finalTimeout: '3s'});
The messaging between the node and the drachtio-server

(the sip traffic in attachment)

interface: lo (127.0.0.0/255.0.0.0)
filter: (ip or ip6) and ( port 9022 )
###
T 10.1.25.12:9022 -> 10.1.25.12:56140 [AP]
555#e1b83f90-04f3-4c9f-8f44-3bf70fa0f9fd|sip|network|400|udp|10.1.5.80|5060|09:08:53.370244|28b2a066-698f-4a75-bb36-447cd010b6ff||10.1.25.12|5060|.
OPTIONS sip:service@10.1.25.12:5060;ruri=sip:10.1.25.9:5060 SIP/2.0.
Via: SIP/2.0/UDP 10.1.5.80:5060;branch=z9hG4bK-14469-1-0;rport=5060.
From:  <sip:55555@10.1.5.80:5060>;tag=1.
To: sut <sip:service@10.1.25.12:5060>.
Call-ID: 1-14469@10.1.5.80.
CSeq: 1 OPTIONS.
Contact: sip:sipp@10.1.5.80:5060.
Max-Forwards: 70.
Subject: Performance Test.
Content-Type: text/plain.
Content-Length:    18.
.
  DIE! DIE! DIE!.

##
T 10.1.25.12:56140 -> 10.1.25.12:9022 [AP]
185#37438bd1-fc94-4883-8ea1-4b323a4e30c2|proxy|28b2a066-698f-4a75-bb36-447cd010b6ff||fullResponse||serial|2s|3s|sip:10.1.25.9:5060.
OPTIONS sip:10.1.25.9:5060 SIP/2.0.
Content-Length: 0.
.

#
T 10.1.25.12:9022 -> 10.1.25.12:56140 [AP]
527#5d609e18-97a1-45a1-bbd2-d79bddece454|response|37438bd1-fc94-4883-8ea1-4b323a4e30c2|OK|network|382|udp|10.1.25.9|5060|09:08:53.378802|||continue.
SIP/2.0 200 OK.
Via: SIP/2.0/UDP 10.1.25.12;rport;branch=z9hG4bK20100373-f1ae-417b-9b6a-638923fada1b, SIP/2.0/UDP 10.1.5.80:5060;branch=z9hG4bK-14469-1-0;rport=5060.
Call-ID: 1-14469@10.1.5.80.
From: <sip:55555@10.1.5.80:5060>;tag=1.
To: sut <sip:service@10.1.25.12:5060>;tag=2.
CSeq: 1 OPTIONS.
Contact: <sip:736596371553211257@127.0.1.1:5060;user=phone>.
Content-Length:     0.
.

##
T 10.1.25.12:9022 -> 10.1.25.12:56140 [AP]
90#621d92cc-4fba-4cb2-9bf5-8f28fcc715e2|response|37438bd1-fc94-4883-8ea1-4b323a4e30c2|OK|done

@tsearle
Copy link
Author

tsearle commented Aug 4, 2021

if a 503 is sent, drachtio does not send an ack

@tsearle
Copy link
Author

tsearle commented Aug 5, 2021

#168 should resolve this issue

@davehorton
Copy link
Collaborator

can you modify that PR to be for the main branch? develop was deprecated some time ago, please use main

@tsearle
Copy link
Author

tsearle commented Aug 5, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants