<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
<p>You should decided if call should be answered or not BEFORE forwarding it to asterisk, OR do this decision on asterisk side. Instead stopping it at answer event.</p>
<p>Anyways, there a way to hangup running calls (that are already established with 200 OK + ACK) using opensips management interface, have a look at,</p>
<p><a href="http://www.opensips.org/html/docs/modules/1.9.x/dialog.html#id295424">http://www.opensips.org/html/docs/modules/1.9.x/dialog.html#id295424</a></p>
<p>Thank you.</p>
<p>&nbsp;</p>
<p>On 2013-09-25 06:12, nguyen khue wrote:</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div style="color: #000; background-color: #fff; font-family: times new roman, new york, times, serif; font-size: 12pt;">
<div>Hi all,</div>
<div>&nbsp;</div>
<div style="color: #000000; font-size: 16px; background-color: transparent; font-style: normal;">I use OpenSIPS as follow model:</div>
<div style="color: #000000; font-size: 16px; background-color: transparent; font-style: normal;">&nbsp;</div>
<div style="color: #000000; font-size: 16px; background-color: transparent; font-style: normal;">SIPClientOpenSIPSAsterisk.</div>
<div style="color: #000000; font-size: 16px; background-color: transparent; font-style: normal;">&nbsp;</div>
<div style="color: #000000; font-size: 16px; background-color: transparent; font-style: normal;">when user make call to asterisk, asterisk return 200 OK and I can receive this message in on_reply route block. If I want hangup this call, how I can do it?&nbsp;<span style="background-color: transparent;">Please guide me.</span></div>
<div style="color: #000000; font-size: 16px; background-color: transparent; font-style: normal;">&nbsp;</div>
<div style="color: #000000; font-size: 16px; background-color: transparent; font-style: normal;">Thanks &amp; Best Regards,</div>
<div style="color: #000000; font-size: 16px; background-color: transparent; font-style: normal;">Khue.</div>
</div>
</blockquote>
<div>
<pre>-- 
Mit freundlichen Gr&uuml;&szlig;en
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +49 176 99 83 10 85
MSN: shari_786pk@hotmail.com
Email: shaheryarkh@googlemail.com</pre>
</div>
</body></html>