<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Dovid,<br>
<br>
What you are describing is not a bug, but actually something you
would expect. According to Asterisk,<br>
if you Dial outbound, then redirect the connected target to a new
context, technically speaking, you now<br>
have two separate channels in two separate contexts. <br>
<br>
Your problem is that you want to be able to ascertain if the
second channel needs to be disconnected<br>
from the first channel, while the two channels are de-coupled. In my
view, this is not a bug issue, but <br>
actually a feature request to add a new functionality to the G and M
parameters. In general, that is a <br>
good idea, however, I've dealt with this issue in the past and
solved it via dialplan and AMI, instead of <br>
fixing the Asterisk code. <br>
<br>
I suspect you are using some form of dialer in there, my
suggestion to you is this: Have the subroutine <br>
notify and external entity that channel A (leg A), is coupled with
channel B (leg B). In channel A, if the "h"<br>
extension is invoked, simply issue a "channel request hangup" via
the manager or "asterisk -rx" or another<br>
means, and you will get your desired functionality.<br>
<br>
Regards,<br>
Nir S<br>
<br>
<br>
On 2/16/2011 2:48 PM, Dovid Bender wrote:
<blockquote
cite="mid:376D481352A24F9F83C3142203AD6012@mypbxmanager.net"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta content="MSHTML 6.00.6000.17095" name="GENERATOR">
<style></style>
<div><font face="Arial" size="2">Hi all,</font></div>
<div> </div>
<div><font face="Arial" size="2">One person responded but fell of
the face of the earth. Anyone want to see if they can take a
stab at: <a moz-do-not-send="true"
href="https://issues.asterisk.org/view.php?id=18722">https://issues.asterisk.org/view.php?id=18722</a>
?</font></div>
<div> </div>
<div><font face="Arial" size="2">Regards,</font></div>
<div> </div>
<div><font face="Arial" size="2">Dovid </font></div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by <a class="moz-txt-link-freetext" href="http://www.api-digital.com">http://www.api-digital.com</a> --
asterisk-biz mailing list
To UNSUBSCRIBE or update options visit:
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-biz">http://lists.digium.com/mailman/listinfo/asterisk-biz</a></pre>
</blockquote>
<br>
</body>
</html>