[Freeswitch-users] call park detect which ext was parked and which was hungup

Bipin Patel bipin at xbipin.com
Sun Aug 19 12:01:00 UTC 2018


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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20180819/30cef7ec/attachment.html>


More information about the FreeSWITCH-users mailing list