Dialplan didn't work, and the Lua script didn't work even right before the call to the extension. It gets set when the INVITE is sent to the extension. It's not present anywhere before, so I can't actually override it anywhere. At this point, the only solution is to figure out why Freeswitch adds it to the INVITE and only on leg B.