Hello my iphone not working with vodafone sim i have only data can't call or send message try to restrart but still not working put sim in my samsung and working but on the iphone i have only data Thank you
Try a reset by holding down the home button and power button together until the Apple logo appears and let go. For the iPhone 7 it's slightly different. A Google search would advise how and or use the Reset Network Settings in the iPhone. Hook up to iTunes to sync it.
An apple store genius bar would be able to run a diagnostic on the iPhone. If you don't have an apple store local then ask a Vodafone store to send it off if they actually supplied the iPhone to you.