Hi,
NetXMS uses switch forwarding tables to determine on what switch interface a node sits. This FDB contains the list of MAC addresses a switch knows on a particular interface.
As your workstation is connected to the phone, and the phone to the switch, both addresses appear on the same switch port in NetXMS. But, as it cannot read SNMP values from the IP phone as if it were a switch, it thinks there's another switch or hub in between. Because of this reason, it says they are indirectly connected.
As for the Layer 2 map, I believe it's having the same problem, and won't draw two devices directly connected to a single switch port. (But I'm not sure about this part, haven't really used the L2 maps alot)
Kind regards,
bdefloo