Dropping incompatible voice frame

I am getting this error
Dropping incompatible voice frame on SIP/siptrunk-000004bd of format alaw since our native format has changed to (ulaw)

When I have my incoming sip settings set to dtmfmode=inband everything seems to work fine but when I have it set to rfc2833, you cannot dial direct extensions on the IVR.

Am I missing a setting?