how to know asterisk 1.8.8.0 compliant with SIP 2.0?
Buy or write a test suite and test it.
Asterisk is generally written to be compliant with RFC 3261, i.e. SIP 2.0, but may have some bugs.
RFC 3261 is only a subset of the features in SIP that Asterisk implements.