Why some functions are missing

I did follow the instruction “http://letitknow.wordpress.com/2011/04/22/how-to-install-asterisk-1-8-on-ubuntu-server-10-10/” to install Asterisk from source.
After I followed the instruction “http://www.voip-info.org/wiki/view/CentOS+5.2+and+Asterisk+1.6.x+installation” to make my Asterisk support mysql

after those procedures. I found that my asterisk only got those commands

asteriskCLI>
! aoc cc cdr cel channel cli config core data database
dialplan dnsmgr event features group http indication logger manager module no
parkedcalls stun timing udptl
asterisk
CLI>

But I have another asterisk has those commands

newAsteriskCLI>
! ael agent agi cdr channel
cli config console core dahdi database
devstate dialplan dnsmgr dundi features file
group gtalk hangup help http iax2
indication jabber jingle keys local logger
manager meetme mfcr2 mgcp minivm mixmonitor
module moh no odbc originate parkedcalls
phoneprov pri queue realtime reload rtcp
rtp say sip skinny sla sqlite
ss7 stun timing transcoder udptl ulimit
unistim voicemail
newAsterisk
CLI>

if someone knows why those commands are missing.

Because the relevant libraries, etc., weren’t findable on the system at the time configure was run, or were turned off in menufconfig.

in this case, how I could find functions back… If there are some references that I could follow Thanks

Run make menuconfig

Select items that you want but aren’t selected.

Where there is an XXX, look at depends on. If possible select the dependency, otherwise make a note of the name.

run configure --help

Match the name of the various possible third party components with the missing dependencies, to get a better idea of the name of the packages that are missing.

Find and install the missing packages, by whatever means necessary (e.g. searching a repository, or googling for the source package).

If a package is present but not in an obvious place, you will need to run configure with the relevant --with-… options.

Run ./configure

run make menuconfig

iterate if necessary to fill in any other missing packages (probably not necessary).

run make, etc.

[quote=“david55”]Run make menuconfig

Select items that you want but aren’t selected.

Where there is an XXX, look at depends on. If possible select the dependency, otherwise make a note of the name.

run configure --help

Match the name of the various possible third party components with the missing dependencies, to get a better idea of the name of the packages that are missing.

Find and install the missing packages, by whatever means necessary (e.g. searching a repository, or googling for the source package).

If a package is present but not in an obvious place, you will need to run configure with the relevant --with-… options.

Run ./configure

run make menuconfig

iterate if necessary to fill in any other missing packages (probably not necessary).

run make, etc.[/quote]

Thanks for your help, at it works now.
what I did is
"make menuconfig" to select the missing package I would like to have.
"./configure
make
make install" to install all the package

“rasterisk” start Asterisk CLI , core restart now.

after that at least all the package I need is successful installed.

But I was still confuse that for default installation of Asterisk did not go with SIP supported. It was strange.