<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div name="messageBodySection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;">Wow. Thanks. Than was fast </div>
<div name="messageSignatureSection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;"><br />
Regards, Igor</div>
<div name="messageReplySection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;">On Sep 6, 2018, 11:18 AM +0200, Richard Fuchs <rfuchs@sipwise.com>, wrote:<br />
<blockquote type="cite" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #1abc9c;">
<div class="moz-cite-prefix">This is now supported as per <a class="moz-txt-link-freetext" href="https://github.com/sipwise/rtpengine/commit/89084da8d820919b44a0244e16e6701822070a72">https://github.com/sipwise/rtpengine/commit/89084da8d820919b44a0244e16e6701822070a72</a><br />
<br />
Cheers<br />
<br />
On 2018-09-05 05:39, Daniel-Constantin Mierla wrote:<br /></div>
<blockquote type="cite" cite="mid:df7269ab-d4d5-0caf-4869-7684087b99c4@gmail.com" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #e67e22;">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<p>There is the dlg.terminate_dlg rpc command that requires callid, from-tag and to-tag as parameters:</p>
<p>  * <a class="moz-txt-link-freetext" href="https://kamailio.org/docs/modules/5.1.x/modules/dialog.html#dlg.r.terminate_dlg" moz-do-not-send="true">https://kamailio.org/docs/modules/5.1.x/modules/dialog.html#dlg.r.terminate_dlg</a><br /></p>
So it expects something like:<br />
<br />
<?xml version="1.0" encoding="UTF-8"?><br />
<methodCall><br />
<methodName>dlg.terminate_dlg</methodName><br />
<params><br />
<param><value><string>_CALLID_VALUE__</string></value></param><br />
<param><value><string>_FROM_TAG_VALUE__</string></value></param><br />
<param><value><string>_TO_TAG_VALUE__</string></value></param><br />
</params><br />
</methodCall><br />
<br />
I planned to make the from-tag and to-tag optional for quite some time, but didn't get the time for it yet.<br />
<br />
Cheers,<br />
Daniel<br />
<br />
<div class="moz-cite-prefix">On 05.09.18 08:52, Richard Fuchs wrote:<br /></div>
<blockquote type="cite" cite="mid:a81c7e7d-9e54-13b3-6e19-a99525b035cf@sipwise.com" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #3498db;">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<div class="moz-cite-prefix">Yup that's exactly right.<br />
<br />
It would be fairly simple to implement an additional XMLRPC format if there's a particular one that's more friendly towards Kamailio.<br />
<br />
Cheers<br />
<br />
On 2018-09-05 02:42, Daniel-Constantin Mierla wrote:<br /></div>
<blockquote type="cite" cite="mid:e020e48e-d22a-1d94-0041-d4b040a07b66@gmail.com" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #d35400;">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<p>Looking quickly at the readme of rtpengine application and digging a bit with google, it is something like rtpengine has to be started with</p>
<p>-b http(s)://myrpcserver.ip/path -x 1</p>
<p>and then the xmlrpc request is going to be sent to that url, having a format like:</p>
<p><?xml version="1.0" encoding="UTF-8"?><br />
<methodCall><br />
<methodName>teardown</methodName><br />
<params><br />
<param><value><string>_CALLID_VALUE__</string></value></param><br />
</params><br />
</methodCall></p>
<p>Is it right? If yes, then I can try to make a sample config that could handle it using xmlops, xhttp and jsonrpcs modules.</p>
<p>Cheers,<br />
Daniel<br /></p>
<br />
<div class="moz-cite-prefix">On 05.09.18 08:24, Richard Fuchs wrote:<br /></div>
<blockquote type="cite" cite="mid:5856025b-fd3a-c6ac-969c-807f289f652b@sipwise.com" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #34495e;">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<div class="moz-cite-prefix">It does an XMLRPC callback. Currently there's two formats for it, one is a sems sbc teardown request (using the from-tag), the other is a generic "teardown" command using the call ID.<br />
<br />
Cheers<br />
<br />
On 2018-09-04 07:52, Daniel-Constantin Mierla wrote:<br /></div>
<blockquote type="cite" cite="mid:6accc3ca-cebb-7019-80e8-9eb7c595132c@gmail.com" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #2ecc71;">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<p>Hello,</p>
<p>what do you get from rtpengine on rtp timeout? An RPC call back or an http request?</p>
<p>Cheers,<br />
Daniel<br /></p>
<br />
<div class="moz-cite-prefix">On 04.09.18 12:48, Igor Olhovskiy wrote:<br /></div>
<blockquote type="cite" cite="mid:2f0198ab-96f9-45ee-a716-6eb6c79b42f2@Spark" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #9b59b6;">
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<div name="messageBodySection" style="font-size: 14px;">Hi all!
<div><br /></div>
<div>Is there any way to end dialog in Kamailio on RTP Timeout event on RTPEngine?</div>
<div><br /></div>
<div>Or only look at logs/redis database with external tool?</div>
</div>
<div name="messageSignatureSection" style="font-size: 14px;"><br />
Regards, Igor</div>
<br />
<fieldset class="mimeAttachmentHeader"></fieldset>
<br />
<pre wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org" moz-do-not-send="true">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre></blockquote>
<br />
<pre class="moz-signature" cols="72">--  
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com" moz-do-not-send="true">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" moz-do-not-send="true">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" moz-do-not-send="true">www.linkedin.com/in/miconda</a>
Kamailio World Conference -- <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com" moz-do-not-send="true">www.kamailioworld.com</a>
Kamailio Advanced Training, Nov 12-14, 2018, in Berlin -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com" moz-do-not-send="true">www.asipto.com</a></pre>
<br />
<fieldset class="mimeAttachmentHeader"></fieldset>
<br />
<pre wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org" moz-do-not-send="true">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre></blockquote>
<br />
<fieldset class="mimeAttachmentHeader"></fieldset>
<br />
<pre wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org" moz-do-not-send="true">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre></blockquote>
<br />
<pre class="moz-signature" cols="72">--  
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com" moz-do-not-send="true">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" moz-do-not-send="true">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" moz-do-not-send="true">www.linkedin.com/in/miconda</a>
Kamailio World Conference -- <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com" moz-do-not-send="true">www.kamailioworld.com</a>
Kamailio Advanced Training, Nov 12-14, 2018, in Berlin -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com" moz-do-not-send="true">www.asipto.com</a></pre></blockquote>
<br />
<fieldset class="mimeAttachmentHeader"></fieldset>
<br />
<pre wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org" moz-do-not-send="true">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre></blockquote>
<br />
<pre class="moz-signature" cols="72">--  
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com" moz-do-not-send="true">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" moz-do-not-send="true">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" moz-do-not-send="true">www.linkedin.com/in/miconda</a>
Kamailio World Conference -- <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com" moz-do-not-send="true">www.kamailioworld.com</a>
Kamailio Advanced Training, Nov 12-14, 2018, in Berlin -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com" moz-do-not-send="true">www.asipto.com</a></pre></blockquote>
_______________________________________________<br />
Kamailio (SER) - Users Mailing List<br />
sr-users@lists.kamailio.org<br />
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users<br /></blockquote>
</div>
</body>
</html>