interior light won't burn with open doors on 1990 Toyota Camry

The interior light will not come on when you open the door, but when you flip the overhead light switch to the light position, the bulb will burn

1 answer
sounds like the switch in the doorjamb