If necessary, they can arrange a repair to restore your iPhone's ear speaker to full working order. Make sure to take the necessary steps to secure your data before sending your iPhone in for repair.
High-end speaker manufacturer Sonos once considered making a MagSafe-compatible speaker that would attach directly to an iPhone.