Asterisk doesn’t maintain state out of the box. You must have provided a dial plan that implements the state. Without details of that dialplan, we can’t answer your question.
In particular, people often ask about the effects of using the dialplans supplied as part of and generated by FreePBX. Peer support for those is proved at community.freepbx.org