How do you trap calls on SIP trunks - TDM is easy to do and provide from the carrier - What about SIP threats - like bomb threats, harrassing calls

You need to get access to the network traffic to capture the SIP messages. For SIP threats, some of them are handled automatically by the SBC, others need to be analyzed to understand if they are troublesome and can be blocked out or dropped from the system.