<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Thank you. It work great.</span></div><div><br></div>  <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1">  <font size="2" face="Arial"> <b><span style="font-weight:bold;">From:</span></b> Muhammad Shahzad Shafi &lt;shahzad@voip-demos.com&gt;<br> <b><span style="font-weight: bold;">To:</span></b> users@lists.opensips.org <br> <b><span style="font-weight: bold;">Sent:</span></b> Wednesday, September 25, 2013 6:59 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [OpenSIPS-Users] hangup call when receive 200 OK<br> </font> </div> <div class="y_msg_container"><br><div id="yiv2576024847">
<div>
<div>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.</div>
<div>Anyways, there a way to hangup running calls (that are already established with 200 OK + ACK) using opensips management interface, have a look at,</div>
<div><a rel="nofollow" target="_blank" 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></div>
<div>Thank you.</div>
<div>&nbsp;</div>
<div>On 2013-09-25 06:12, nguyen khue wrote:</div>
<blockquote type="cite" style="padding-left:5px;border-left:#1010ff 2px solid;margin-left:5px;width:100%;">
<div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); 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üß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>
</div></div><br>_______________________________________________<br>Users mailing list<br><a ymailto="mailto:Users@lists.opensips.org" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br><br><br></div> </div> </div>  </div></body></html>