You should provide a bit more info, as the question is too general.
Though you may need to add "media-gateway ip primary" to the ethernet interface if you are having issues, and the question isn't firewall related.
I went ahead and flagged the "Correct Answer" on this post to make it more visible and help other members of the community find solutions more easily. If you don't feel like the answer I marked was correct, feel free to come back to this post and unmark it and select another in its place with the applicable buttons. If you still need assistance, we would be more than happy to continue working with you on this - just let us know in a reply.