<div dir="ltr">Daniel,<div><br></div><div>Becomes clear that the carrier's SIP knowledge is worse than mine... sorry for wasting your time.</div><div><br></div><div>Regards,</div><div>Sergiu</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Apr 9, 2019 at 11:54 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>That's really strange, the CANCEL has the same direction as
INVITE, not the opposite. Can you double check if they really
asked for such things. This is very clear in terms of SIP specs
and I doubt that someone understood it wrong.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<div class="gmail-m_-1247706482335986746moz-cite-prefix">On 09.04.19 14:08, Sergiu Pojoga wrote:<br>
</div>
<blockquote type="cite">
<div dir="auto">
<div>Yes Daniel, that is precisely so. <br>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Tue, Apr 9, 2019, 7:10
AM Daniel-Constantin Mierla, <<a href="mailto:miconda@gmail.com" target="_blank">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>To be sure I understand properly: do they require to
send a CANCEL back to them for calls that they
initiate with the first INVITE and do not get 200ok,
but 3xx/4xx/5xx?</p>
<p>Cheers,<br>
Daniel<br>
</p>
<div class="gmail-m_-1247706482335986746m_1528559514255750559moz-cite-prefix">On
08.04.19 17:34, Sergiu Pojoga wrote:<br>
</div>
<blockquote type="cite">
<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" rel="noreferrer" target="_blank">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_-1247706482335986746m_1528559514255750559gmail-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" rel="noreferrer" 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_-1247706482335986746m_1528559514255750559gmail-m_-8614156434403695944moz-txt-link-rfc2396E" rel="noreferrer"><sip:65.39.xxx.xxx;lr=on;did=915.8af1></a>
</div>
<div>From: "SERGIU" <a class="gmail-m_-1247706482335986746m_1528559514255750559gmail-m_-8614156434403695944moz-txt-link-rfc2396E" rel="noreferrer"><sip:514XXXXXXX@208.72.xxx.xxx></a>;isup-oli=00;tag=1975755942
</div>
<div>To: <a class="gmail-m_-1247706482335986746m_1528559514255750559gmail-m_-8614156434403695944moz-txt-link-rfc2396E" rel="noreferrer"><sip:514XXXXXXX@65.39.xxx.xxx></a>;tag=<font color="#ff0000">as2ab54180 </font>
</div>
<div>Call-ID: <a class="gmail-m_-1247706482335986746m_1528559514255750559gmail-m_-8614156434403695944moz-txt-link-abbreviated" href="mailto:DID-28270826@208.72.xxx.xx" rel="noreferrer" 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_-1247706482335986746m_1528559514255750559gmail-m_-8614156434403695944moz-txt-link-rfc2396E" rel="noreferrer"><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_-1247706482335986746m_1528559514255750559gmail-m_-8614156434403695944moz-txt-link-abbreviated" href="mailto:DID-28270826@208.72.xxx.xx" rel="noreferrer" 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_-1247706482335986746m_1528559514255750559gmail-m_-8614156434403695944moz-txt-link-rfc2396E" rel="noreferrer"><sip:514XXXXXXX@208.72.xxx.xxx></a>;isup-oli=00;tag=1975755942
</div>
<div>To: <a class="gmail-m_-1247706482335986746m_1528559514255750559gmail-m_-8614156434403695944moz-txt-link-rfc2396E" rel="noreferrer"><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_-1247706482335986746m_1528559514255750559gmail-m_-8614156434403695944mimeAttachmentHeader"></fieldset>
<pre class="gmail-m_-1247706482335986746m_1528559514255750559gmail-m_-8614156434403695944moz-quote-pre">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="gmail-m_-1247706482335986746m_1528559514255750559gmail-m_-8614156434403695944moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org" rel="noreferrer" target="_blank">sr-users@lists.kamailio.org</a>
<a class="gmail-m_-1247706482335986746m_1528559514255750559gmail-m_-8614156434403695944moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<pre class="gmail-m_-1247706482335986746m_1528559514255750559gmail-m_-8614156434403695944moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="gmail-m_-1247706482335986746m_1528559514255750559gmail-m_-8614156434403695944moz-txt-link-abbreviated" href="http://www.asipto.com" rel="noreferrer" target="_blank">www.asipto.com</a>
<a class="gmail-m_-1247706482335986746m_1528559514255750559gmail-m_-8614156434403695944moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" rel="noreferrer" target="_blank">www.twitter.com/miconda</a> -- <a class="gmail-m_-1247706482335986746m_1528559514255750559gmail-m_-8614156434403695944moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" rel="noreferrer" target="_blank">www.linkedin.com/in/miconda</a>
Kamailio World Conference - May 6-8, 2019 -- <a class="gmail-m_-1247706482335986746m_1528559514255750559gmail-m_-8614156434403695944moz-txt-link-abbreviated" href="http://www.kamailioworld.com" rel="noreferrer" target="_blank">www.kamailioworld.com</a></pre>
</div>
</blockquote>
</div>
<br>
<fieldset class="gmail-m_-1247706482335986746m_1528559514255750559mimeAttachmentHeader"></fieldset>
<pre class="gmail-m_-1247706482335986746m_1528559514255750559moz-quote-pre">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="gmail-m_-1247706482335986746m_1528559514255750559moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org" rel="noreferrer" target="_blank">sr-users@lists.kamailio.org</a>
<a class="gmail-m_-1247706482335986746m_1528559514255750559moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<pre class="gmail-m_-1247706482335986746m_1528559514255750559moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="gmail-m_-1247706482335986746m_1528559514255750559moz-txt-link-abbreviated" href="http://www.asipto.com" rel="noreferrer" target="_blank">www.asipto.com</a>
<a class="gmail-m_-1247706482335986746m_1528559514255750559moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" rel="noreferrer" target="_blank">www.twitter.com/miconda</a> -- <a class="gmail-m_-1247706482335986746m_1528559514255750559moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" rel="noreferrer" target="_blank">www.linkedin.com/in/miconda</a>
Kamailio World Conference - May 6-8, 2019 -- <a class="gmail-m_-1247706482335986746m_1528559514255750559moz-txt-link-abbreviated" href="http://www.kamailioworld.com" rel="noreferrer" target="_blank">www.kamailioworld.com</a></pre>
</div>
</blockquote>
</div>
</div>
</div>
<br>
<fieldset class="gmail-m_-1247706482335986746mimeAttachmentHeader"></fieldset>
<pre class="gmail-m_-1247706482335986746moz-quote-pre">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="gmail-m_-1247706482335986746moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a>
<a class="gmail-m_-1247706482335986746moz-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_-1247706482335986746moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="gmail-m_-1247706482335986746moz-txt-link-abbreviated" href="http://www.asipto.com" target="_blank">www.asipto.com</a>
<a class="gmail-m_-1247706482335986746moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" target="_blank">www.twitter.com/miconda</a> -- <a class="gmail-m_-1247706482335986746moz-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_-1247706482335986746moz-txt-link-abbreviated" href="http://www.kamailioworld.com" target="_blank">www.kamailioworld.com</a></pre>
</div>
</blockquote></div>