Asterisk support for SUBSCRIBE & PUBLISH methods

Does Asterisk supports SUBSCRIBE and PUBLISH methods?

Asterisk supports inbound SUBSCRIBE and generates outbound PUBLISHes, although it may or may not completely implement them.

Thank u Mr.david.
Can I use this to find presence of buddies?

The telephony term is Busy Lamp Field (BLF), but you can use it that way with the limitation that you may not get as many possible states as you do for instant messaging programs.