<div dir="ltr">Hi,<div>Seems like I'm stuck with a very basic situation. I've 2 OpenSIPS boxes and 2 Users registered on each Proxy. Caller is on UDP, Destination is on TCP. Call made from A to B will not have its 1XX and 2XX relayed back to the originating Proxy: see this sngrep flow.</div><div><br></div><div><img src="cid:ii_jfws0aqw0_162bad2ffce9a658" width="544" height="319"><br><br></div><div>So, naturally OpenSIPS-B triggers 408 Timeout. </div><div><br></div><div>So iptables is off and I can see 180 Ringing and subsequent replies showing up in OpenSIPS logs like this:</div><div><br></div><div><br></div><div><div> DBG:core:tcp_read_req: tcp_read_req end</div><div> DBG:core:tcp_read_req: Using the global ( per process ) buff</div><div> DBG:core:tcp_handle_req: content-length= 0</div><div> DBG:core:tcp_handle_req: Nothing more to read on TCP conn 0x7f93987cc9b8, currently in state 0</div><div> DBG:core:parse_msg: SIP Reply  (status):</div><div> DBG:core:parse_msg:  version: <SIP/2.0></div><div> DBG:core:parse_msg:  status:  <180></div><div> DBG:core:parse_msg:  reason:  <Ringing></div><div> DBG:core:parse_headers: flags=2</div><div> DBG:core:get_hdr_field: cseq <CSeq>: <2> <INVITE></div><div> DBG:core:parse_via_param: found param type 234, <received> = <18.11.20.74>; state=6</div><div> DBG:core:parse_via_param: found param type 232, <branch> = <z9hG4bK56988cb3-e13c-e811-961a-c45444377777>; state=6</div><div> DBG:core:parse_via_param: found param type 235, <rport> = <5060>; state=16</div><div> DBG:core:parse_via: end of header reached, state=5</div><div> DBG:core:parse_headers: via found, flags=2</div><div> DBG:core:parse_headers: this is the first via</div><div> DBG:core:receive_msg: After parse_msg...</div><div> DBG:core:forward_reply: found module nathelper, passing reply to it</div><div> DBG:core:parse_headers: flags=4</div><div> DBG:core:parse_to_param: tag=40adb5b3-e13c-e811-86eb-c4544411cd9b</div><div> DBG:core:_parse_to: end of header reached, state=29</div><div> DBG:core:_parse_to: display={}, ruri={<a href="mailto:sip%3A5017@myvoiptest.net">sip:5017@myvoiptest.net</a>}</div><div> DBG:core:get_hdr_field: <To> [70]; uri=[sip:5017@<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><a href="http://myvoiptest.net">myvoiptest.net</a></span>

]</div><div> DBG:core:get_hdr_field: to body [<sip:5017@<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><a href="http://myvoiptest.net">myvoiptest.net</a></span>

>]</div><div> DBG:core:get_hdr_field: content_length=0</div><div> DBG:core:get_hdr_field: found end of header</div><div> DBG:core:forward_reply: found module tm, passing reply to it</div><div> DBG:tm:t_check: start=0xffffffffffffffff</div><div> DBG:core:parse_headers: flags=22</div><div> DBG:core:parse_headers: flags=8</div><div><span style="background-color:rgb(255,217,102)"> DBG:tm:t_reply_matching: failure to match a transaction</span></div><div> DBG:tm:t_check: end=(nil)</div><div> DBG:core:destroy_avp_list: destroying list (nil)</div></div><div><br></div><div><br></div><div><br></div><div>For successful relaying the last few lines show a matched transaction. I suspected CSEQ and Via headers and going through the traces+logs meanwhile looking for some guidance as what params to look for.</div><div><br></div><div><br></div><div>OpenSIPS is latest devel:</div><div>version: opensips 2.4.0-dev (x86_64/linux)</div><div>flags: STATS: On, SHM_EXTRA_STATS, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, QM_MALLOC, DBG_MALLOC, FAST_LOCK-ADAPTIVE_WAIT</div><div>ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535</div><div>poll method support: poll, epoll, sigio_rt, select.</div><div>git revision: 0ff609d</div><div>main.c compiled on 19:11:13 Apr 11 2018 with gcc 5.4.0</div><div><br></div><div>P.S: Same config works for other calls as well. </div><div><br></div><div>Regards,</div><div>Sammy</div></div>