Park a call in Asterisk and get the parked number

Hi guys,

I need your help with something.
This has keeping me busy all day long.
I hope that somebody can send me in the right direction.

I have parked a call through Asterisk

same  => n,Park()

Is there a way that I can get the parked extension parameter
For example.

same  => n,Verbose(The parked space is ${PARKED_IN_EXTEN})

Thank you

This is announced as speech, and not made available to an API.

You can, of course, tell Asterisk which number to use, but you are responsible for ensuring it is free.

Having said that, it is possible that it is set as a channel variable on the parked channel. The easiest way of checking that is to use core show channel xxxx. In that case, you can read that channel variable.

Thank you.

I think I was wrong, and I could better use the ParkAndAnnounce dial plan.
Seems easier for users.

Again thank you for your reaction

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