Alternate Numbers for Internal Phonebook Entries

I’ve noticed that the Digium Phone module populates only the extension number for a contact entry when generating the XML phone books. Is it possible to have the config generator to pull in additional numbers from the FreePBX user database for each entry when creating the phonebook files if they exist? This would be especially helpful trying to reach someone at an alternate number from the contact app.

I can see how its currently being done in the source code, but I don’t know enough about retrieving the additional numbers from FreePBX to suggest a code change myself. Basically you’d end up with something like this in the phonebook file instead of just the extension.

<contact>
...
    <numbers>
      <number dial="124" label="Extension" primary="1" />
      <number dial="5135551212" label="Cell" />
      <number dial="5135551213" label="Home" />
    </numbers>
<contact/>