Pppd always fails after modem reset

I don’t see you are sending atd*99 like this