Optus is sending the mobile phone numbers of customers to websites that those customers are accessing, but has defended the practice, stating that information is only handed to "trusted partners".