<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">setid was type, it is 1 and 2. I have just used made-up addresses.</div><div class=""><br class=""></div><div class="">DEBUG shows even strage output</div><div class=""><br class=""></div><div class=""><i class="">DEBUG: rtpengine [rtpengine.c:3071]: select_rtpp_node_old(): rtpengine hash table lookup failed to find node for calllen=20 callid=f27oej9e3k0o3vhidpoc viabranch=</i></div><div class=""><i class=""><br class=""></i></div><div class=""><i class="">DEBUG: rtpengine [rtpengine.c:2634]: rtpp_function_call(): rtpengine hash table insert node=udp:10.0.0.1:2222 for calllen=20 callid=f27oej9e3k0o3vhidpoc viabranch=</i></div><div class=""><br class=""></div><div class="">and response is this</div><div class=""><br class=""></div><div class=""><i class="">DEBUG: rtpengine [rtpengine.c:3075]: select_rtpp_node_old(): rtpengine hash table lookup find node=udp:10.0.0.1:2222 for calllen=20 callid=f27oej9e3k0o3vhidpoc viabranch=</i><br class=""><div class=""><br class="webkit-block-placeholder"></div><div class="">and even IP from hash table is correct kamailio will send request to another server</div><div class=""><br class=""></div><div class=""><div class=""><i class="">rtpp_function_call(): proxy reply: d6:result5:error12:error-reason15:Unknown call-ide</i></div><div class=""><i class="">ERROR: rtpengine [rtpengine.c:2588]: rtpp_function_call(): proxy replied with error: Unknown call-id</i></div></div><div class="">
<div style="caret-color: rgb(0, 0, 0); font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: Verdana; color: rgb(12, 12, 24);" class=""><span style="-webkit-font-kerning: none;" class=""><b class=""><br class="Apple-interchange-newline">Michal Popovič</b></span></div><div style="caret-color: rgb(0, 0, 0); font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Verdana; color: rgb(102, 102, 102);" class=""><span style="-webkit-font-kerning: none;" class="">System engineer</span></div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; min-height: 16px;" class=""><span style="-webkit-font-kerning: none;" class=""></span><br class=""></div><div style="caret-color: rgb(0, 0, 0); font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Verdana; color: rgb(102, 102, 102);" class=""><span style="text-decoration: underline; -webkit-font-kerning: none;" class=""><a href="mailto:michal.popovic@cloudtalk.sk" class="">michal.popovic@cloudtalk.io</a></span></div><div style="caret-color: rgb(0, 0, 0); font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Verdana; color: rgb(9, 79, 209);" class=""><span style="text-decoration: underline; -webkit-font-kerning: none;" class=""><a href="http://www.cloudtalk.io/" class="">www.cloudtalk.io<span style="-webkit-font-kerning: none; color: rgb(9, 79, 209);" class=""></span></a></span></div><div style="caret-color: rgb(0, 0, 0); font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Verdana; color: rgb(102, 102, 102); min-height: 13px;" class=""><span style="-webkit-font-kerning: none;" class=""></span><br class=""></div><div style="caret-color: rgb(0, 0, 0); font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Verdana; color: rgb(102, 102, 102);" class=""><span style="-webkit-font-kerning: none;" class="">CloudTalk s. r. o.</span></div><div style="caret-color: rgb(0, 0, 0); font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Verdana; color: rgb(102, 102, 102);" class=""><span style="-webkit-font-kerning: none;" class="">Západný rad 31</span></div><div style="caret-color: rgb(0, 0, 0); font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Verdana; color: rgb(102, 102, 102);" class=""><span style="-webkit-font-kerning: none;" class="">811 04 Bratislava</span></div><div style="caret-color: rgb(0, 0, 0); font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Verdana; color: rgb(102, 102, 102);" class=""><span style="-webkit-font-kerning: none;" class="">Slovakia</span></div>
</div>
<div><br class=""><blockquote type="cite" class=""><div class="">On 6 Mar 2020, at 10:56, Lợi Đặng <<a href="mailto:loi.dangthanh@gmail.com" class="">loi.dangthanh@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Sorry not properly read in the beginning, i thought both answer and offer sent to the same server that triggered the same bug i encountered but they were not.<div class="">Not sure weird it is? The answer suppose go to the same rtpengine server as the offer. Try increasing kamailio's debug level and tweak with rtpengine module function to see what went wrong?</div><div class="">Btw, is there a typo error in the 1st question in having 2 set with 1 set id 1 ==?</div><div class=""><div class=""><br class=""></div><div class="">rgds,<br clear="all" class=""><div class=""><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div class="">Loi Dang Thanh<br class=""></div>Phone : +84. 774.735.448<br class=""></div>Email : <a href="mailto:loi.dangthanh@gmail.com" target="_blank" class="">loi.dangthanh@gmail.com</a><br class=""></div></div></div></div></div></div></div><br class=""></div></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 6, 2020 at 4:26 PM Michal Popovic <<a href="mailto:michal.popovic@cloudtalk.io" class="">michal.popovic@cloudtalk.io</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;" class="">So upgrade to version 8.2.1.2 did not helped. Issue is probably in kamailio module itself, because all requests and responses are correct.
<div class=""><br class=""><blockquote type="cite" class=""><div class="">On 6 Mar 2020, at 09:52, Michal Popovic <<a href="mailto:michal.popovic@cloudtalk.io" target="_blank" class="">michal.popovic@cloudtalk.io</a>> wrote:</div><br class=""><div class=""><div style="overflow-wrap: break-word;" class=""><div class="">Hi,</div><div class=""><br class=""></div><div class="">will try on newest version and be back with result.</div><div class=""><br class=""></div><div class="">Thanks</div>
<div class=""><br class=""><blockquote type="cite" class=""><div class="">On 6 Mar 2020, at 09:47, Lợi Đặng <<a href="mailto:loi.dangthanh@gmail.com" target="_blank" class="">loi.dangthanh@gmail.com</a>> wrote:</div><br class=""><div class=""><div dir="ltr" class="">Hi, what's your sipwise rtpengine version? I once encountered similar issue when the call >60s not yet answered, not sure if the same bug, you may want to upgrade your rtpengine.<div class=""><div style="box-sizing:inherit;display:flex;padding:8px 20px;color:rgb(29,28,29);font-family:Slack-Lato,appleLogo,sans-serif;font-size:15px;font-variant-ligatures:common-ligatures;background-color:rgb(248,248,248)" class=""><div style="box-sizing:inherit;min-width:0px;padding:8px 8px 8px 16px" class=""><span dir="auto" style="box-sizing:inherit" class=""><pre style="box-sizing:inherit;margin-top:4px;margin-bottom:4px;padding:8px;font-size:12px;line-height:1.50001;font-variant-ligatures:none;white-space:pre-wrap;word-break:normal;border-radius:4px;font-family:Monaco,Menlo,Consolas,"Courier New",monospace" class=""><a href="https://github.com/sipwise/rtpengine/blob/b507e245b2356f8b965a2671ab5f19a4cac837b0/debian/changelog" rel="noopener noreferrer" style="box-sizing:inherit;color:inherit;text-decoration-line:none" target="_blank" class="">https://github.com/sipwise/rtpengine/blob/b507e245b2356f8b965a2671ab5f19a4cac837b0/debian/changelog</a><br style="box-sizing:inherit" class="">  * [a6d9c78] MT#13067 fix premature call timeout for un-answered calls</pre></span></div></div><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div class="">rgds,</div><div class="">Loi Dang<br class=""></div>Phone : +84. 774.735.448<br class=""></div>Email : <a href="mailto:loi.dangthanh@gmail.com" target="_blank" class="">loi.dangthanh@gmail.com</a><br class=""></div></div></div></div></div></div></div><br class=""></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 6, 2020 at 3:21 PM Michal Popovic <<a href="mailto:michal.popovic@cloudtalk.io" target="_blank" class="">michal.popovic@cloudtalk.io</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br class="">
<br class="">
we are facing the issue with automated failover in same SIP dialog in rtpengine module. This issue occurs after we upgraded version 4.4.7 to 5.3.2 and only for rtpengines that are in another datacenter with latency higher than about 100ms.<br class="">
<br class="">
configuration<br class="">
modparam("rtpengine", "rtpengine_sock", "1 == udp:<a href="http://10.0.0.1:2222/" rel="noreferrer" target="_blank" class="">10.0.0.1:2222</a> udp:<a href="http://10.0.0.2:2222/" rel="noreferrer" target="_blank" class="">10.0.0.2:2222</a>")<br class="">
modparam("rtpengine", "rtpengine_sock", "1 == udp:<a href="http://10.0.0.3:2222/" rel="noreferrer" target="_blank" class="">10.0.0.3:2222</a> udp:<a href="http://10.0.0.4:2222/" rel="noreferrer" target="_blank" class="">10.0.0.4:2222</a>")<br class="">
<br class="">
INVITE request from kamailio to <a href="http://10.0.0.1:2222/" rel="noreferrer" target="_blank" class="">10.0.0.1:2222</a><br class="">
<br class="">
3:ICE6:remove5:flagsl13:trust-address16:always-transcode17:asymmetric-codecs12:loop-protecte7:replacel6:origin18:session-connectione18:transport-protocol7:RTP/AVP8:rtcp-muxl5:demuxe7:call-id20:xxx:received-froml3:IP414:x.x.x.xe8:from-tag10:naluniuntp7:command5:offere<br class="">
<br class="">
RESPONSE<br class="">
<br class="">
6:result2:oke<br class="">
<br class="">
ANSWER request is than send to <a href="http://10.0.0.2:2222/" rel="noreferrer" target="_blank" class="">10.0.0.2:2222</a> with error<br class="">
<br class="">
3:ICE5:force5:flagsl13:trust-address16:always-transcode17:asymmetric-codecs12:loop-protecte7:replacel6:origin18:session-connectione18:transport-protocol9:RTP/SAVPF8:rtcp-muxl6:accept5:offere7:call-id20:l63nam58lomphlpvli9o13:received-froml3:IP414:18.212.137.170e8:from-tag10:naluniuntp6:to-tag10:as297c65177:command6:answere<br class="">
<br class="">
RESPONSE<br class="">
<br class="">
d6:result5:error12:error-reason15:Unknown call-ide<br class="">
<br class="">
Only possible fix is to have only one setid with only one server.<br class="">
<br class="">
First RTPengine is not marked as failed in list of rtpengine servers after the first response.<br class="">
_______________________________________________<br class="">
Kamailio (SER) - Users Mailing List<br class="">
<a href="mailto:sr-users@lists.kamailio.org" target="_blank" class="">sr-users@lists.kamailio.org</a><br class="">
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank" class="">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br class="">
</blockquote></div>
_______________________________________________<br class="">Kamailio (SER) - Users Mailing List<br class=""><a href="mailto:sr-users@lists.kamailio.org" target="_blank" class="">sr-users@lists.kamailio.org</a><br class=""><a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank" class="">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br class=""></div></blockquote></div><br class=""></div>_______________________________________________<br class="">Kamailio (SER) - Users Mailing List<br class=""><a href="mailto:sr-users@lists.kamailio.org" target="_blank" class="">sr-users@lists.kamailio.org</a><br class=""><a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank" class="">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br class=""></div></blockquote></div><br class=""></div>_______________________________________________<br class="">
Kamailio (SER) - Users Mailing List<br class="">
<a href="mailto:sr-users@lists.kamailio.org" target="_blank" class="">sr-users@lists.kamailio.org</a><br class="">
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank" class="">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br class="">
</blockquote></div>
_______________________________________________<br class="">Kamailio (SER) - Users Mailing List<br class=""><a href="mailto:sr-users@lists.kamailio.org" class="">sr-users@lists.kamailio.org</a><br class="">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users<br class=""></div></blockquote></div><br class=""></div></body></html>