Wrong labels are attached to outgoing mobile hub calls (MD-10313)

Observed behavior

If you have a phonebook entry for a paired mobile device with some labels, these labels are attached to all outgoing calls. So in the Journal, you see these dialed numbers with that label attached, which is wrong.

Expected behavior

The labels should not be attached to the outgoing phonecall / journal entry.

Steps to reproduce

  1. Setup up a system with configured MobileHub
  2. Pair a phone with valid number
  3. Create a phonebook entry for that mobile number, and attach a label to it
  4. Do an outgoing call using the mobilehub. The label is attached to the (unrelated) outgoing phonecall and saved to the journal this way

Affected systems

All 17.X servers.

First reported by @noses in this thread.