<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<font face="monospace">Thanks on the follow up here. I guess you
need to switch to TCP, right ?<br>
<br>
Regards,<br>
</font>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
OpenSIPS eBootcamp 23rd May - 3rd June 2022
<a class="moz-txt-link-freetext" href="https://opensips.org/training/OpenSIPS_eBootcamp_2022/">https://opensips.org/training/OpenSIPS_eBootcamp_2022/</a></pre>
<div class="moz-cite-prefix">On 5/17/22 2:10 PM, Volkan Oransoy
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:91a1ca9f-83ec-4c64-9543-77ce718c4f8c@Spark">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title></title>
<div name="messageBodySection">
<div dir="auto">Hi all,<br>
<br>
For further reference, the issue is related to UDP
fragmentation. Digitalocean droplet network doesn’t route
fragmented packets. I can see only the first part of the
fragmented packet, not the subsequent one. So the destination
fails with “ICMP ip reassembly time exceeded, length 556” at
os network. <br>
<br>
Cheers</div>
</div>
<div name="messageSignatureSection"><br>
<div class="matchFont">Volkan Oransoy</div>
</div>
<div name="messageReplySection">On 11 May 2022 11:52 +0100, Volkan
Oransoy <a class="moz-txt-link-rfc2396E" href="mailto:voransoy@gmail.com"><voransoy@gmail.com></a>, wrote:<br>
<blockquote type="cite" style="border-left-color: grey;
border-left-width: thin; border-left-style: solid; margin: 5px
5px;padding-left: 10px;">
<div name="messageBodySection">
<div dir="auto"><span style="font-family:Andale Mono">I
think the screenshot has been discarded by the mailman.
The sip traffic is as follows. The proxy tries to
retransmit and fails after three more attempts.</span><br>
<br>
<span style="font-family:Courier New">──────────┬─────────
──────────┬───────── ──────────┬─────────</span><br>
<span style="font-family:Courier New"> 10:47:32.603828 │
INVITE (SDP) │ │ </span><br>
<span style="font-family:Courier New"> +0.000347 │
──────────────────────────> │ │ </span><br>
<span style="font-family:Courier New"> 10:47:32.604175 │
100 Giving it a try │ │ </span><br>
<span style="font-family:Courier New"> +0.001474 │
<────────────────────────── │ │ </span><br>
<span style="font-family:Courier New"> 10:47:32.605649 │ │
INVITE (SDP) │ </span><br>
<span style="font-family:Courier New"> +0.490742 │ │
──────────────────────────> │ </span><br>
<span style="font-family:Courier New"> 10:47:33.096391 │ │
INVITE (SDP) │ </span><br>
<span style="font-family:Courier New"> +1.001859 │ │
────────────────────────>>> │ </span><br>
<span style="font-family:Courier New"> 10:47:34.098250 │ │
INVITE (SDP) │ </span><br>
<span style="font-family:Courier New"> +1.953642 │ │
────────────────────────>>> │ </span><br>
<span style="font-family:Courier New"> 10:47:36.051892 │ │
INVITE (SDP) │ </span><br>
<span style="font-family:Courier New"> +1.603582 │ │
────────────────────────>>> │ </span><br>
<span style="font-family:Courier New"> 10:47:37.655474 │
408 Request Timeout │ │ </span><br>
<span style="font-family:Courier New"> +0.001615 │
<────────────────────────── │ │ </span><br>
<span style="font-family:Courier New"> 10:47:37.657089 │
ACK │ │ </span><br>
<span style="font-family:Courier New"> │
──────────────────────────> │ │</span></div>
</div>
<div name="messageSignatureSection"><br>
<div class="matchFont">Volkan Oransoy</div>
</div>
<div name="messageReplySection">On 11 May 2022 11:14 +0100,
Volkan Oransoy <a class="moz-txt-link-rfc2396E" href="mailto:voransoy@gmail.com"><voransoy@gmail.com></a>, wrote:<br>
<blockquote type="cite" style="border-left-color: grey;
border-left-width: thin; border-left-style: solid; margin:
5px 5px;padding-left: 10px;">
<div name="messageBodySection">
<div dir="auto">Hi all,<br>
<br>
I have an interesting issue with one of my test
setups. I have a simple routing script which gets the
gateway id directly from the header originating from a
Freeswith box. The system finds and sets the request
URL as anticipated. But even if I can see the request
on the proxy, I can't see the traffic on the
destination. Interestingly, the same proxy can
register to the same destination with uac_registrant
as a UAC. And I can receive calls from the same
destination. Is there anything missing to route this
traffic correctly?<br>
<br>
Thanks in advance.<br>
<br>
<span style="font-family:Andale Mono">route[to_gateway]
{</span><br>
<span style="font-family:Andale Mono"> if (
route_to_gw($hdr(X-GWID)) ) {</span><br>
<span style="font-family:Andale Mono">
route(relay);</span><br>
<span style="font-family:Andale Mono"> }</span><br>
<span style="font-family:Andale Mono">}</span><br>
<span style="font-family:Andale Mono">route[relay] {</span><br>
<span style="font-family:Andale Mono"> if
(is_method("INVITE")) {</span><br>
<span style="font-family:Andale Mono">
t_on_branch("per_branch_ops");</span><br>
<span style="font-family:Andale Mono">
t_on_reply("handle_nat");</span><br>
<span style="font-family:Andale Mono">
t_on_failure("failure");</span><br>
<span style="font-family:Andale Mono"> }</span><br>
<span style="font-family:Andale Mono"> if
(!t_relay()) {</span><br>
<span style="font-family:Andale Mono">
send_reply(500,"Internal Error");</span><br>
<span style="font-family:Andale Mono"> }</span><br>
<span style="font-family:Andale Mono"> exit;</span><br>
<span style="font-family:Andale Mono">}</span><br>
<br>
<span style="font-family:arial, sans-serif">The
database structure is as follows;</span><br>
<br>
<span style="font-family: Monaco, Courier New,
monospace">opensips=# select * from dr_gateways;</span><br>
<span style="font-family: Monaco, Courier New,
monospace"> id | gwid | type | address
| strip | pri_prefix | attrs | probe_mode |
state | socket | description</span><br>
<span style="font-family: Monaco, Courier New,
monospace">----+------+------+------------------------------+-------+------------+-------+------------+-------+--------+-------------</span><br>
<span style="font-family: Monaco, Courier New,
monospace"> 6 | 5 | 2 | sip:</span><a
style="font-family: Monaco, Courier New, monospace"
href="http://testgw.bulutfon.net:5060"
target="_blank" moz-do-not-send="true">testgw.bulutfon.net:5060</a><span
style="font-family: Monaco, Courier New, monospace"> |
0 | | | 0 | 0 |
| 5</span><br>
<br>
Here is the INVITE request sent to the destination,
which fails as in the screenshot.<br>
<br>
<span style="font-family: Monaco, Courier New,
monospace">INVITE </span><a style="font-family:
Monaco, Courier New, monospace"
href="http://sip:905551234567@testgw.bulutfon.net:5060"
target="_blank" moz-do-not-send="true">sip:905551234567@testgw.bulutfon.net:5060</a><span
style="font-family: Monaco, Courier New, monospace"> SIP/2.0</span><br>
<span style="font-family: Monaco, Courier New,
monospace">Record-Route:
<a class="moz-txt-link-rfc2396E" href="sip:2.2.2.2;lr;ftag=1jcyr93emrjDQ"><sip:2.2.2.2;lr;ftag=1jcyr93emrjDQ></a></span><br>
<span style="font-family: Monaco, Courier New,
monospace">Via: SIP/2.0/UDP
2.2.2.2:5060;branch=z9hG4bK372.d935ecb2.0</span><br>
<span style="font-family: Monaco, Courier New,
monospace">Via: SIP/2.0/UDP
1.1.1.1:6080;received=1.1.1.1;rport=6080;branch=z9hG4bK99mtDaevmN7Nj</span><br>
<span style="font-family: Monaco, Courier New,
monospace">Max-Forwards: 67</span><br>
<span style="font-family: Monaco, Courier New,
monospace">From: "+908508850000" <</span><a
style="font-family: Monaco, Courier New, monospace"
href="http://sip:908508850000@testgw.bulutfon.net:5060" target="_blank"
moz-do-not-send="true">sip:908508850000@testgw.bulutfon.net:5060</a><span
style="font-family: Monaco, Courier New, monospace">>;tag=1jcyr93emrjDQ</span><br>
<span style="font-family: Monaco, Courier New,
monospace">To: <</span><a style="font-family:
Monaco, Courier New, monospace"
href="http://sip:905551234567@testgw.bulutfon.net:5060"
target="_blank" moz-do-not-send="true">sip:905551234567@testgw.bulutfon.net:5060</a><span
style="font-family: Monaco, Courier New, monospace">></span><br>
<span style="font-family: Monaco, Courier New,
monospace">Call-ID:
aefb8c60-426b-123b-8ca8-82a722ba4f75</span><br>
<span style="font-family: Monaco, Courier New,
monospace">CSeq: 51067506 INVITE</span><br>
<span style="font-family: Monaco, Courier New,
monospace">Contact: <</span><a
style="font-family: Monaco, Courier New, monospace"
href="http://sip:mod_sofia@1.1.1.1:6080"
target="_blank" moz-do-not-send="true">sip:mod_sofia@1.1.1.1:6080</a><span
style="font-family: Monaco, Courier New, monospace">></span><br>
<span style="font-family: Monaco, Courier New,
monospace">Allow: INVITE, ACK, BYE, CANCEL, OPTIONS,
MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY</span><br>
<span style="font-family: Monaco, Courier New,
monospace">Supported: timer, path, replaces</span><br>
<span style="font-family: Monaco, Courier New,
monospace">Allow-Events: talk, hold, conference,
refer</span><br>
<span style="font-family: Monaco, Courier New,
monospace">Content-Type: application/sdp</span><br>
<span style="font-family: Monaco, Courier New,
monospace">Content-Disposition: session</span><br>
<span style="font-family: Monaco, Courier New,
monospace">Content-Length: 621</span><br>
<span style="font-family: Monaco, Courier New,
monospace">Remote-Party-ID: "+908508850000" <</span><a
style="font-family: Monaco, Courier New, monospace"
href="http://sip:+908508850000@testgw.bulutfon.net:5060" target="_blank"
moz-do-not-send="true">sip:+908508850000@testgw.bulutfon.net:5060</a><span
style="font-family: Monaco, Courier New, monospace">>;party=calling;screen=yes;privacy=off</span><br>
<br>
<span style="font-family: Monaco, Courier New,
monospace">v=0</span><br>
<span style="font-family: Monaco, Courier New,
monospace">o=FreeSWITCH 1651210438 1651210439 IN IP4
1.1.1.1</span><br>
<span style="font-family: Monaco, Courier New,
monospace">s=FreeSWITCH</span><br>
<span style="font-family: Monaco, Courier New,
monospace">c=IN IP4 1.1.1.1</span><br>
<span style="font-family: Monaco, Courier New,
monospace">t=0 0 ...</span><br>
<br>
<Screen Shot 2022-04-29 at 15.13.21.png><br>
--</div>
</div>
<div name="messageSignatureSection"><br>
<div dir="ltr">Volkan Oransoy</div>
</div>
</blockquote>
</div>
</blockquote>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>