There is one way usually happens in most of the trains , people get down of the train when it is halted for a signal clearance, and start smoking , you are niether on train nor on platform breaking the rules, and your co passengers also happy. but it is durantho so you don't have a choice.