<div dir="ltr"><div dir="ltr">Looks like it's going to be another battle with a Metaswitch-based carrier... so far they are telling me 'we can't do anything about it. Send us a CANCEL to tear down the call`<div><br></div><div>I know this is a `another story` question, but if I had to overcome this, would <b>uac_req_send() </b>be my only option?</div><div><br></div><div>Thanks again,</div><div>--Sergiu</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 8, 2019 at 2:15 AM Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<p><br>
</p>
<div class="gmail-m_-8614156434403695944moz-cite-prefix">On 07.04.19 15:40, Sergiu Pojoga wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">To simplify, the problem seems to come down
to the following: how do you cancel/end an early state
dialog between the caller and callee after
`fr_inv_timeout` occurs? Kam self-generates a proper
CANCEL towards the callee, while the caller gets a `408
Request Timeout' with a different To-tag.</div>
</div>
</div>
</div>
</blockquote>
<p>That's all required not to have a dialog completed, but faild.
There is no need to send a BYE or another CANCEL. The INVITE got
the 408, not 200.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<blockquote type="cite">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div><br>
</div>
<div>I've tried:</div>
<div>dlg_bye("all") - throws an error, non-confirmed
dialogs can't be terminated with this function<br>
</div>
<div>t_cancel_callid("$dlg(callid)", "$dlg(from_cseq)",
"22", "200") - doesn't seem to produce any action<br>
</div>
<div><br>
</div>
<div>Suggestions?</div>
</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sat, Apr 6, 2019 at 11:25
AM Sergiu Pojoga <<a href="mailto:pojogas@gmail.com" target="_blank">pojogas@gmail.com</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div dir="ltr">Hi ppl,<br>
<div><br>
</div>
<div>Scenario: invite from upstream is t_relayed to a
client gateway. After `fr_inv_timeout` occurs, in a
failure route I simply t_reply with "503 - Service
unavailable", then exit(). </div>
<div><br>
</div>
<div>However, the upstream provider simply ignores this
reply, call doesn't hang up. This doesn't happen when
the client's gateway generates identical 503 or other
negative replies.</div>
<div><br>
</div>
<div>I suspect this is happening because the To-tag in the
Kam generated 503 reply doesn't match with the To-tag
that previously was forwarded from the client's gateway
to the upstream provider in the `180 Ringing`.</div>
<div><br>
</div>
<div>Any suggestions what can be done about it?</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div>2019/04/06 10:42:46.127177 65.39.xxx.xxx:5060 ->
208.72.xxx.xxx:5060Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â
                          Â
                          Â
      </div>
<div>SIP/2.0 180 Ringing               Â
                          Â
                          Â
                          Â
            </div>
<div>Via: SIP/2.0/UDP
208.72.xxx.xxx:5060;received=208.72.xxx.xxx;rport=5060;branch=z9hG4bK1982422573Â
                          Â
                         </div>
<div>Record-Route:
<a class="gmail-m_-8614156434403695944moz-txt-link-rfc2396E"><sip:65.39.xxx.xxx;lr=on;did=915.8af1></a>Â Â Â Â Â
                          Â
                          Â
                          Â
       </div>
<div>From: "SERGIU"
<a class="gmail-m_-8614156434403695944moz-txt-link-rfc2396E"><sip:514XXXXXXX@208.72.xxx.xxx></a>;isup-oli=00;tag=1975755942Â
                          Â
                          Â
         </div>
<div>To: <a class="gmail-m_-8614156434403695944moz-txt-link-rfc2396E"><sip:514XXXXXXX@65.39.xxx.xxx></a>;tag=<font color="#ff0000">as2ab54180Â </font> Â Â Â Â Â Â Â Â Â
                          Â
                          Â
                            </div>
<div>Call-ID: <a class="gmail-m_-8614156434403695944moz-txt-link-abbreviated" href="mailto:DID-28270826@208.72.xxx.xx" target="_blank">DID-28270826@208.72.xxx.xx</a>Â Â Â Â Â Â Â Â
                          Â
                          Â
                          Â
            </div>
<div>CSeq: 477023 INVITEÂ Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â
                          Â
                          Â
                          Â
            </div>
<div>Supported: replaces, timer, path         Â
                          Â
                          Â
                          Â
            </div>
<div>Contact:
<a class="gmail-m_-8614156434403695944moz-txt-link-rfc2396E"><sip:1514XXXXXXX@65.39.xxx.xxx:5060></a>Â Â Â Â Â Â
                          Â
                          Â
                          Â
         </div>
<div>Content-Length: 0Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â
                          Â
                          Â
                          Â
            </div>
<div>Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â
                          Â
                          Â
                          Â
            </div>
<div>Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â
                          Â
                          Â
                          Â
           </div>
<div>2019/04/06 10:42:51.072516 65.39.xxx.xxx:5060 ->
208.72.xxx.xxx:5060Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â
                          Â
                          Â
       </div>
<div>SIP/2.0 503 Service Unavailable         Â
                          Â
                          Â
                          Â
            </div>
<div>Call-ID: <a class="gmail-m_-8614156434403695944moz-txt-link-abbreviated" href="mailto:DID-28270826@208.72.xxx.xx" target="_blank">DID-28270826@208.72.xxx.xx</a>Â Â Â Â Â Â Â Â
                          Â
                          Â
                          Â
            </div>
<div>Via: SIP/2.0/UDP
208.72.xxx.xxx:5060;rport=5060;branch=z9hG4bK1982422573;received=208.72.xxx.xxxÂ
                          Â
                         </div>
<div>From: "SERGIU"
<a class="gmail-m_-8614156434403695944moz-txt-link-rfc2396E"><sip:514XXXXXXX@208.72.xxx.xxx></a>;isup-oli=00;tag=1975755942Â
                          Â
                          Â
         </div>
<div>To: <a class="gmail-m_-8614156434403695944moz-txt-link-rfc2396E"><sip:514XXXXXXX@65.39.xxx.xxx></a>;tag=<font color="#ff0000">a6a1c5f60faecf035a1ae5b6e96e979a-8e82</font>Â
                          Â
                          Â
           </div>
<div>CSeq: 477023 INVITEÂ Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â
                          Â
                          Â
                          Â
            </div>
<div>Server: KAMÂ Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â
                          Â
                          Â
                          Â
            </div>
<div>Content-Length: 0Â </div>
</div>
<div><br>
</div>
<div>Thanks,</div>
<div>--Sergiu</div>
</div>
</div>
</blockquote>
</div>
<br>
<fieldset class="gmail-m_-8614156434403695944mimeAttachmentHeader"></fieldset>
<pre class="gmail-m_-8614156434403695944moz-quote-pre">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="gmail-m_-8614156434403695944moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a>
<a class="gmail-m_-8614156434403695944moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<pre class="gmail-m_-8614156434403695944moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="gmail-m_-8614156434403695944moz-txt-link-abbreviated" href="http://www.asipto.com" target="_blank">www.asipto.com</a>
<a class="gmail-m_-8614156434403695944moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" target="_blank">www.twitter.com/miconda</a> -- <a class="gmail-m_-8614156434403695944moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" target="_blank">www.linkedin.com/in/miconda</a>
Kamailio World Conference - May 6-8, 2019 -- <a class="gmail-m_-8614156434403695944moz-txt-link-abbreviated" href="http://www.kamailioworld.com" target="_blank">www.kamailioworld.com</a></pre>
</div>
</blockquote></div>