Unable to handle indication 3 for 'SIP/sad_pbx-08213548'

The error message I’m seeing is in the subject for the email.

I’ve traced through the code and it appears that the internal state for the connection is going from AST_STATE_RING to AST_STATE_UP fairly quickly, in the normal sequence of events. Then, later by a bit, the phone sends a “ringing” message. At that point the ringing message makes no sense to Asterisk because it’s already opened the connection (the state is AST_STATE_UP) so the message gets thrown.

Any thoughts?