Sound problem when calling Tel to the ip

This problem may be due to what “I have a Maxincom gateway that is connected to my freepbx server when I switch a call from my phone to IP once the called person picks up I don’t listen to anything but when I press the keys of my IP telephne j; listen carefully to the sound of the keys”