Do keypad commands come from Android or the manufacturer?
There are many that seem to be "standard", but they can also be added by individual applications (e.g. provider-installed).

Check out http://forum.xda-developers.com/showthread.php?t=540483 for a method to extract telephony codes from your installed apps.