If generous codec selection is available, the device originating the call gets to choose the codec based on the preference set on it. Now, if you set a single codec on the PBX and turn off transcoding, it should force the client to change the codec but you'll always run the risk of call setup...