When calling TO a custom device (for example a SCCP device set up in Extension - Custom extension - Dial string = SCCP/1234) the device shows its own caller ID, not the ID of the caller. This happens on internal calls.
This line in dialplan (macro-user-callerid) sets it; the purpose here is unclear. Outbound CID is properly set when the custom device calls out on a trunk.
Expected behavior: When a custom device receives an internal call, it should show the caller's caller ID and not its own.