<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<tt>Hi Rodrigo,<br>
<br>
What you can do is to write down an external script to look for
the S1 calls (using the MI dlg_list_dlg command) and to terminate
the call (using the dlg_end_dlg MI command).<br>
You can invoke such an external script via exec() module.<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 18.08.2015 15:03, Rodrigo Pimenta
Carvalho wrote:<br>
</div>
<blockquote cite="mid:1439899432156.97565@inatel.br" type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
<p><br>
</p>
<p>Dear OpenSIPS-users,<br>
</p>
<p><br>
</p>
<p>Let´s suppose someone (S1) is talking at a softphone. <br>
</p>
<p>Let´s suppose another person (S2) needs to talk to S1 at same
time.<br>
</p>
<p>So, S2 calls S1.<br>
</p>
<p><br>
</p>
<p>How to configure OpenSIPS to tear down ("hang up") the current
S1 call and then send the S2 INVITE message to S1? Some
example?<br>
</p>
<p><br>
</p>
<p>In my scenery, the user in S2 has a kind of high priority when
calling any another one. So, S2 must be answered as soon as
possible.</p>
<p><br>
</p>
<p>Any hint will be very helpful!<br>
</p>
<p><br>
</p>
<p>Best regards.<br>
</p>
<p><br>
</p>
<p><br>
</p>
<div id="Signature">
<div name="divtagdefaultwrapper"
style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:; margin:0">
<div class="BodyFragment"><font size="2">
<div class="PlainText">RODRIGO PIMENTA CARVALHO<br>
Inatel Competence Center<br>
Software<br>
Ph: +55 35 3471 9200 RAMAL 979<br>
</div>
</font></div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>