To receive calls on your Mac when it’s connected to a different Wi-Fi network, use Wi-Fi calling. Keep in mind that in order for you to receive calls from your phone, your devices have to be near each other and connected to the same Wi-Fi network. Make sure you select the box next to Calls from iPhone.
Note: Following these instructions won’t transfer your contacts between your Mac and your iPhone. To make calls using cellular service or to send SMS messages through your carrier (as opposed to over the internet), your iPhone needs to be running iOS 8.1 or later and your Mac needs to be running OS X Yosemite or later.
With an Apple ID, you can also send texts and make calls over the internet using the Messages and FaceTime apps on your Mac. If you, like me, prefer typing on your laptop’s keyboard rather than the tiny iPhone keypad, or you just don’t want to switch devices to answer a text or call, you can set up your Mac to receive calls and texts from your iPhone.