If you get boarding pass from India to DXB,you stay in transit hall and you can not go outside and you do not need exit permit. In this case your baggage will go direct to DXB, since it will final destination,If you cross immigration @ doha, you have to get exit permit and boarding pass to DXB as well.