MT#8523 Use alias number for edr export.

Previously we relied on the billing.voip_numbers.id for the alias
to be bigger than the primary number id, which is not the case if
alias numbers are created before extensions.