Call Park application Asterisk 11.20 - hang up automatically

Using Asterisk 11.20. Question about Park application

Is there any way to hangup automatically after Park?
We found what seems to be a bug that if the one who parks don’t hang up after hitting Park, then the caller who dials 701 is connected to the one who pressed Park (wrong).

Current situation:
Phone 1 calls Phone 2.
Phone 2 parks the call and doesn’t hang up.
Phone 3 dials 701 and gets connected to Phone 2 (wrong)

Phone 1 calls Phone 2.
Phone 2 parks the call and hangs up.
Phone 3 dials 701 and gets connected to Phone 1 (correct)

Expected result:
Phone 1 calls Phone 2.
Phone 2 parks the call and doesn’t hang up, so the call is hung up automatically after announcing the call parking location.
Phone 3 dials 701 and gets connected to Phone 1 (correct)

exten => _700, n, Playback(extension)
exten => _700, n, Park(${PARKTIMEOUT}000,call-park-timeout,${PARKINGEXTEN},1)
exten => _700, n, Hangup() → this is not working

Is there a configuration or something we can get this to work?

Hi partner!

In this case, do you want the call to be parked without the parker putting the phone on-hook? Would that be it?

Thanks for responding.
Yes, what I want is for the hardphone caller who hit Park to automatically have the call hung up, without putting the phone on hook.
Because sometimes they forget to hang up, and when the person who dials the Park Number extension gets connected to them, instead of getting connected to the original caller (seems like a bug in Asterisk, it creates a zombie channel).

We are upgrading to the latest version of Asterisk, but still supporting an old version.

Partner,

it seems strange that your HangUp does not end the call after the parking announcement. Pointing out as you said, you are using version 11, in version 13 the parking function works exactly as you expect. Maybe upgrading will solve your case.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.