<div dir="ltr"><div><div>Thank you Bogdan, If you think is right I'll open a feature request about this.<br><br></div>Another related question: Is there any way to end a dialog with MI using the callID instead of dialogID? If there is, I can make a patch for rtpengine and try contribute it, If they accept.<br><br></div>thanks and regards,<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><b style="font-size:13px"><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;margin-left:30pt"><br>
<span style="font-size:11px;font-family:Verdana;color:rgb(0,204,204);font-weight:normal;vertical-align:baseline;white-space:pre-wrap"></span></p><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;margin-left:30pt"><br><span style="font-size:11px;font-family:Verdana;color:rgb(0,204,204);font-weight:normal;vertical-align:baseline;white-space:pre-wrap"></span></p><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;margin-left:30pt"><span style="font-size:11px;font-family:Verdana;color:rgb(0,204,204);font-weight:normal;vertical-align:baseline;white-space:pre-wrap"><img src="https://lh6.googleusercontent.com/WN6hk84ri7BRmKal1fKNiC-AMmPYSDb0PtICYSJrzUa8tBua0VLuBXzjNCsxZYm2STOwRHUUnQmBKAirtvexlLg_AHY40gGbdEYQGf9oPE3yuTka_QfxoMajnQ" height="28px;" width="200px;"></span></p><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;margin-left:30pt"><span style="font-size:11px;font-family:Verdana;color:rgb(0,204,204);font-weight:normal;vertical-align:baseline;white-space:pre-wrap">_________________________________________________</span></p><br><span style="font-size:11px;font-family:Verdana;color:rgb(0,204,204);font-weight:normal;vertical-align:baseline;white-space:pre-wrap"></span><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;margin-left:30pt">
<span style="font-family:Verdana;color:rgb(102,102,102);vertical-align:baseline;white-space:pre-wrap">Carlos Oliva</span></p><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;margin-left:30pt"><span style="font-family:Verdana;color:rgb(102,102,102);font-weight:normal;vertical-align:baseline;white-space:pre-wrap">Departamento de Sistemas<b></b></span></p>
<br><span style="font-family:Verdana;color:rgb(102,102,102);font-weight:normal;vertical-align:baseline;white-space:pre-wrap"></span><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;margin-left:30pt"><span style="font-family:Verdana;color:rgb(102,102,102);font-weight:normal;vertical-align:baseline;white-space:pre-wrap">C/ Pujades, 77-79, 8a Planta 9B | 08005 Barcelona</span></p>
<p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;margin-left:30pt"><a href="http://www.numintec.com/" style="text-decoration:none" target="_blank"><span style="font-family:Verdana;font-weight:normal;text-decoration:underline;vertical-align:baseline;white-space:pre-wrap">www.numintec.com</span></a><span style="font-family:Verdana;color:rgb(102,102,102);font-weight:normal;vertical-align:baseline;white-space:pre-wrap"> | </span><span style="font-family:Verdana;color:rgb(17,85,204);font-weight:normal;vertical-align:baseline;white-space:pre-wrap"><a href="mailto:carlos.oliva@numintec.com" target="_blank">carlos.oliva@numintec.com</a></span><span style="font-family:Verdana;color:rgb(102,102,102);font-weight:normal;vertical-align:baseline;white-space:pre-wrap"> </span><span style="font-family:Verdana;font-weight:normal;vertical-align:baseline;white-space:pre-wrap">|</span><span style="font-family:Verdana;color:rgb(102,102,102);font-weight:normal;vertical-align:baseline;white-space:pre-wrap"> T: </span><span style="font-family:Verdana;color:rgb(17,85,204);font-weight:normal;vertical-align:baseline;white-space:pre-wrap">902 02 02 97</span><span style="font-family:Verdana;color:rgb(102,102,102);font-weight:normal;vertical-align:baseline;white-space:pre-wrap"> </span></p>
<br><span style="font-family:Verdana;color:rgb(102,102,102);font-weight:normal;vertical-align:baseline;white-space:pre-wrap"></span><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;margin-left:30pt"><span style="font-size:11px;font-family:Verdana;color:rgb(0,204,204);font-weight:normal;vertical-align:baseline;white-space:pre-wrap">_________________________________________________</span><span style="font-family:Verdana;color:rgb(102,102,102);font-weight:normal;vertical-align:baseline;white-space:pre-wrap"></span></p>
<br><span style="font-family:Verdana;color:rgb(102,102,102);font-weight:normal;vertical-align:baseline;white-space:pre-wrap"></span><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;margin-left:30pt"><a href="http://www.youtube.com/user/numintec" style="text-decoration:none" target="_blank"><span style="font-size:11px;font-family:Verdana;text-decoration:underline;vertical-align:baseline;white-space:pre-wrap">Talking Numintec: Dialogando con empresarios de éxito</span></a></p>
<br><a href="http://www.youtube.com/user/numintec" style="text-decoration:none" target="_blank"><span style="font-size:11px;font-family:Verdana;text-decoration:underline;vertical-align:baseline;white-space:pre-wrap"></span></a><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;margin-left:30pt">
<a href="http://www.numintec.com/category/caso-de-exito/" style="text-decoration:none" target="_blank"><span style="font-size:11px;font-family:Verdana;text-decoration:underline;vertical-align:baseline;white-space:pre-wrap">Las soluciones en la nube de Numintec - Casos de éxito</span></a></p>
<br><a href="http://www.numintec.com/category/caso-de-exito/" style="text-decoration:none" target="_blank"><span style="font-size:11px;font-family:Verdana;text-decoration:underline;vertical-align:baseline;white-space:pre-wrap"></span></a><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;margin-left:30pt">
<a href="http://www.numintec.com/demo/" style="text-decoration:none" target="_blank"><span style="font-size:11px;font-family:Verdana;text-decoration:underline;vertical-align:baseline;white-space:pre-wrap">Solicita una demo</span></a></p>
<p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;margin-left:30pt"><span style="font-size:11px;font-family:Verdana;color:rgb(0,204,204);font-weight:normal;vertical-align:baseline;white-space:pre-wrap">_________________________________________________</span><span style="font-family:Verdana;color:rgb(102,102,102);font-weight:normal;vertical-align:baseline;white-space:pre-wrap"></span></p>
<br><span style="font-family:Verdana;color:rgb(102,102,102);font-weight:normal;vertical-align:baseline;white-space:pre-wrap"></span><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;margin-left:30pt"><span style="font-size:11px;font-family:Verdana;color:rgb(0,204,204);vertical-align:baseline;white-space:pre-wrap">Medio Ambiente: </span><span style="font-size:11px;font-family:Verdana;color:rgb(102,102,102);font-weight:normal;vertical-align:baseline;white-space:pre-wrap">Antes de imprimir este mensaje, asegúrese de que es necesario. </span></p>
<p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;margin-left:30pt"><span style="font-size:11px;font-family:Verdana;color:rgb(0,204,204);vertical-align:baseline;white-space:pre-wrap">Nota Legal:</span><span style="font-size:11px;font-family:Verdana;color:rgb(102,102,102);font-weight:normal;vertical-align:baseline;white-space:pre-wrap"> </span><span style="font-size:11px;font-family:Verdana;color:rgb(102,102,102);font-weight:normal;font-style:italic;vertical-align:baseline;white-space:pre-wrap">La información contenida en la presente transmisión es confidencial y su
uso únicamente está permitido a su(s) destinatario(s). Le informamos que
los datos personales que facilite/ha facilitado pasarán/han pasado a
formar parte de un fichero responsabilidad de NUMINTEC COMUNICACIONES
S.L.. y que tiene por finalidad gestionar las relaciones. Tiene la
posibilidad de ejercitar los derechos de acceso, rectificación,
cancelación y oposición respecto a sus datos ante la empresa, en el
e-mail</span><span style="font-size:11px;font-family:Arial;color:rgb(102,102,102);font-weight:normal;font-style:italic;vertical-align:baseline;white-space:pre-wrap"> </span><span style="font-size:11px;font-family:Arial;color:rgb(17,85,204);font-weight:normal;font-style:italic;vertical-align:baseline;white-space:pre-wrap"><a href="mailto:comunicacion@numintec.com" target="_blank">comunicacion@numintec.com</a></span><span style="font-size:11px;font-family:Arial;color:rgb(102,102,102);font-weight:normal;font-style:italic;vertical-align:baseline;white-space:pre-wrap"> </span><span style="font-size:11px;font-family:Verdana;color:rgb(102,102,102);font-weight:normal;font-style:italic;vertical-align:baseline;white-space:pre-wrap"> o bien en el domicilio sito en C/ Pujades, 77-79 8ª Planta 9-B</span><span style="font-size:11px;font-family:Arial;color:rgb(102,102,102);font-weight:normal;font-style:italic;vertical-align:baseline;white-space:pre-wrap"> </span><span style="font-size:11px;font-family:Verdana;color:rgb(102,102,102);font-weight:normal;font-style:italic;vertical-align:baseline;white-space:pre-wrap">08005 de Barcelona.</span></p></b></div></div>
<br><div class="gmail_quote">2017-02-01 13:26 GMT+01:00 Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<tt>Hi Carlos,<br>
<br>
OpenSIPS does not have any "teardown" MI command - this looks like
a private extension of the rtpengine. Unfortunately, the rtpengine
team is not so communicative (at least not with our team), so we
were not aware of this extension.<br>
<br>
Of course, we can do the one-way effort to align OpenSIPS to the
rtpengine (again). Still, if we do this, it will be for OpenSIPS
2.3 - new extensions are not backported to the existing stable
releases.<br>
<br>
Best regards,<br>
</tt>
<pre class="m_-2433830512247834162moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="m_-2433830512247834162moz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.<wbr>com</a></pre><div><div class="h5">
<div class="m_-2433830512247834162moz-cite-prefix">On 01/30/2017 12:05 AM, Carlos Oliva
wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>Hi List!<br>
<br>
</div>
I'm using Opensips 1.11 and doing some tests to
change my mediaproxy rtprelays to
ngcp-rtpengine. My reasons to try this change
are efficiency and that the mediaproxy project
seems to be a little abandoned by AGProjects
(not really abandoned but has no new features in
years)<br>
<br>
</div>
After the change I started to see some dialogs in
state 3 that ends at timeout (6 hours in my
config)<br>
<br>
</div>
I tried to use the RTPTimeout function in rtpengine
(in mediaproxy it works very well) to try to end
the dialogs which don't have RTP.<br>
<br>
</div>
To try this I used the rtpengine flags
--b2b-url=<a class="m_-2433830512247834162moz-txt-link-freetext" href="http://%%:8000/RPC2" target="_blank">http://%%:8000/RPC2</a> --xmlrpc-format=1 to
send Opensips the order to end the related dialog.<br>
<br>
</div>
It doesn't work. Doing some ngrep at xmlrpc interface
seems that rtpengine send some commands to opensips RPC
interface that Opensips does not understand. The command
is: "teardown" and the callid, here is an example:<br>
<br>
POST /RPC2 HTTP/1.1..Host: XXX.XXX.XXX.XXX:8000..Accept:
*/*..Content-Type: text/xml..User-Agent:
Xmlrpc-c/1.33.14 Curl/<a href="http://7.38.0." target="_blank">7.38.0.</a>.Content-Length:
204....<?xml version="1.0" enco<br>
ding="UTF-8"?>..<methodCall>..<wbr><methodName>teardown</<wbr>methodName>..<params>..<param><wbr><value><string><a href="mailto:822048991-40759-5@BJC.BGI.B.GE" target="_blank"></a><a class="m_-2433830512247834162moz-txt-link-abbreviated" href="mailto:822048991-40759-5@BJC.BGI.B.GE" target="_blank">822048991-<wbr>40759-5@BJC.BGI.B.GE</a></string><<wbr>/value></param>..</params>..</<wbr>methodCall><br>
<br>
</div>
and the opensips response:<br>
<br>
HTTP/1.1 200 OK..Connection: Keep-Alive..Content-Length:
48..Content-Type: text/xml; charset=utf-8..Date: Sun, 29
Jan 2017 20:31:36 GMT....<html><body>Internal
server error!</body></html><br>
<br>
</div>
Obviously OpenSips does not implement this "teardown"
method.<br>
<br>
</div>
My questions are:<br>
<br>
</div>
<div>Anybody has a good idea of how to deal with this? <br>
</div>
<div><br>
</div>
<div>
<div>Devels: Do you think is a good idea to open a feature
request in github about this? I'll try to backport to 1.11
later.if you accept the request.<br>
</div>
<div>
<div>
<div><br>
<br clear="all">
<div>
<div>
<div>
<div>
<div>
<div>
<div>Thanks and Regards,<br>
<br>
</div>
<div>Carlos Oliva<br>
</div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="m_-2433830512247834162mimeAttachmentHeader"></fieldset>
<br>
</div></div><pre>______________________________<wbr>_________________
Users mailing list
<a class="m_-2433830512247834162moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a class="m_-2433830512247834162moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</blockquote></div><br></div>