Will asterisk Compliant with SIP 2.0?

how to know asterisk 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.