SIP and H.323 are signaling protocols, and are only used for call setup, modification, and teardown.
The speech-path is encoded/decoded using the various codecs (COder/DECoder)
The options you select for intra and interzone bandwidth management coupled with the codecs you have enabled in your node determine which codec is used.
If G.711, G.729, G.723 are all enabled in your node configuration, and a zone is configured to use BQ, then as long as there is sufficient Bandwidth G.711 will be used. If there is not enough Bandwidth for G.711, then G.729 will be used, etc.
If BB is defined in the zone definition, then whichevey codec you have enabled that uses the least amount of Bandwidth will be selected.
Obviously, if you only have 1 codec enabled in your node, then it will be used regardless of your zone preferences.