(naturally).
Return:
- Returns 'ok' on success, with an array of 'destination' and 'alias'
- pairs.
+ Returns 'ok' on success, with an array 'aliases' containing
+ 'destination' and 'alias' pairs.
Returns 'ok' with an empty array if the search gave no results.
Returns 'ok' with an empty array if the database search fails.
Returns 'failed' with 'cause' = 'invalid' on invalid SIP addresses.