Fix incorrect behavior when end of DNIS was already transmitted
See standard Q.473 at 5.3.4.1

Thanks to Gustavo Cremella for the patch