<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
I have implemented call pickup, which is not working as it should.<br>
<br>
When call comes in, user from same group can pick it up, but problem
appears in this scenario:<br>
<br>
A calls B. C do call pickup with *5 (in dialplan). OK this works (A
is talking with C). But when D is calling E, if someone from same
group pick this call, it do not pick D, it picks call A. Why? What I
am doing wrong?<br>
<br>
I hope you understand what I mean:D<br>
<br>
my dialplan:<br>
<br>
<small> <action application="set"
data=<a class="moz-txt-link-rfc2396E" href="mailto:called_party_callgroup=${user_data(${destination_number}.enterprise@enterprise.fs2.softnet.sivarcallgroup)}">"called_party_callgroup=${user_data(${destination_number}.enterprise@enterprise.fs2.softnet.si
var callgroup)}"</a>/><br>
<action application="hash"
data="insert/${destination_number}/${called_party_callgroup}/${uuid}"/><br>
<action application="hash"
data="insert/last_dial/${called_party_callgroup}/${uuid}"/><br>
</small><br>
<br>
intercept:<br>
<small><br>
<br>
<extension name="group-intercept"><br>
<condition field="destination_number"
expression="^\*5$"><br>
<action application="answer"/><br>
<action application="intercept"
data="${hash(select/last_dial/${callgroup})}"/><br>
<br>
<action application="sleep" data="2000"/><br>
</condition><br>
</extension></small><br>
<br>
Thanks!<br>
Miha<br>
<br>
<br>
</body>
</html>