I have a weird problem on internal calls alone, i.e between extensions, the first hello of the callee is never heard by the caller - I just did a packet capture and the first RTP packet alone has a huge delta, it also has a status message saying Payload changed to PT=8 - this message occurs on all internal extension to extension calls on the first RTP packet. There is also a frequency drift in wireshark? I don't know whether it is relevant or not, but the quality of the audio is not acceptable - there are cracks and pops in the voice and not pleasant to the listener.
However if a call is established from the internal extension to a PSTN gateway, the first RTP packet doesn't have the status message saying payload changed to PT=8, the external PSTN gateway only accepts PCMA. The outbound and inbound codecs on the freeswitch is set to PCMA. The sip clients also send PCMA as the only codec during invite. The quaity of audio when the call is made to PSTN is far superior than internal extension to extension calls.
However if a call is established from the internal extension to a PSTN gateway, the first RTP packet doesn't have the status message saying payload changed to PT=8, the external PSTN gateway only accepts PCMA. The outbound and inbound codecs on the freeswitch is set to PCMA. The sip clients also send PCMA as the only codec during invite. The quaity of audio when the call is made to PSTN is far superior than internal extension to extension calls.