<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font size="-1"><font face="Arial">hi,<br>
<br>
i have a diaplan such that when an ext places a call, a hash
value for his ext set to oncall so if any1 else calls same ext,
using conditions i check hash value and play ivr that user is
busy so wait or dial later and if there is no oncall value then
bridge directly. same oncall value is set for destination ext
and when the caller disconnects i clear the hash value for both
caller and callee using api_hangup_hook and this all seems to
work fine.<br>
<br>
the problem arises when A calls B and oncall value is set for
both but then either of them transfer to a park ext and
themselves get hung up then the usual routine clears hash value
for both rather than only the dropped ext, is there any other
way to achieve this using xml dialplan only, probably someway to
check using conditions which ext was parked and which was
hangup?<br>
<br>
<br>
</font></font>
<div class="moz-signature">-- <br>
<style>
body {
font-family: Verdana, sans-serif;
font-size: 0.8em;
color:#484848;
}
h1, h2, h3 { font-family: "Trebuchet MS", Verdana, sans-serif; margin:0in; margin-bottom:.0001pt; }
p.footr { font-family: "Trebuchet MS", Verdana, sans-serif; margin:0in; margin-bottom:.0001pt; }
h1 { font-size: 1.2em; }
h2, h3 { font-size: 1.1em; }
a, a:link, a:visited { color: #2A5685;}
a:hover, a:active { color: #c61a1a; }
a.wiki-anchor { display: none; }
hr {
width: 100%;
height: 1px;
background: #ccc;
border: 0;
}
</style>Regards,<br>
Bipin<br>
<br>
<br>
</div>
</body>
</html>