We have 4 VG 224s connected to a CCM-Cluster running 18.104.22.16890. PSTN-Connection is made via E1-PRI as H323 GW. The FXS-ports on the VG224 are controlled by SCCP.
If a device on a FXS is calling out the PSTN-GW, the bearer capability in the ISDN-SETUP-message is Speech. Is it possible to change this to 3100 kHZ like it is possible under H323-controlled FXS-Ports?
I have tried
timeouts initial 60
timeouts interdigit 60
timeouts ringing infinity
but this has obviously no effect on SCCP-controlled ports.
Unfortunately you can't change the bearer cap of the FXS port under SCCP or MGCP control. The bearercap is only actively used when a call is sent to an ISDN interface, so this interface has the appropriate config commands.
As you have mentioned, for H323 you can use voice port bearer-capability' command or the D channel 'isdn outgoing-voice info-transfer-capability 3.1kHz-audio' command.
For MGCP ISDN, you can add the string "BC=3.1khz" in the gateway port description field to overwrite the default speech behavior.
With both these fixes the bearercap is overwritten for all calls out the particular interface.