hi,

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.

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?


--
Regards,
Bipin