Possible loop in Contact header
Possible Causes
You're sending 127.0.0.1 or localhost in the Contact header which will create a loop at Twilio.
127.0.0.1
localhost
Possible Solutions
Configure your SIP stack so it populates the Contact header properly.