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.