I don't like `getFrom` and `getTo` method names. They are not descriptive per se. Consider using `getCallerNumber` and `getCalleeNumber` instead.

Also, you can return const references instead of copy.