PPTP Static routes lose gateway when DSL disconnects

First, let me apologize. I have an issue with PPTP static routes and I’m not sure how to phrase it to search for a solution. If the solution exist somewhere else please, by all means, point me to it!
I have a network of stores that all use MT routers running RouterOS v5.14
I have the router at our main office setup as a PPTP server and the routers at the stores connect back as PPTP clients over the ADSL connection.
I have setup static routes in our main store router so that I can access the networks at the stores over the PPTP link. However, when the ADSL connection hiccups the PPTP link drops and a few minutes later comes back up. But by then I’m already suffering form the blight of the “(unknown)” gateway. At that point I have to change the gateway back to the proper pptp connection to once again be able to access the store

/ip route
add disabled=no distance=1 dst-address=10.15.1.0/24 gateway=<pptp-site1> scope=30 target-scope=10
add disabled=no distance=1 dst-address=10.15.3.0/24 gateway=<pptp-site3> scope=30 target-scope=10
add disabled=no distance=1 dst-address=10.15.5.0/24 gateway="(unknown)" scope=30 target-scope=10

What can I do to keep the gateway for these routes from changing to “(unknown)” when the PPTP link drops off?

Thanks in advance!

What I have done is allow the routes to be created dynamically when the remote sites log in.

I don’t know how it is done on the terminal but in WinBox on the PPP->secrets tab when you edit the user you can add a route in the routes field, then when they log in the route is dynamically added to your routes table.

I hope that helps.

Try creating a static pptp interface for each store (pptp user) and allocate one static pptp interface to each store pptp user. Thos static interfaces will always be visible whether the link is up or down and when each store connects they will appear on the same interface each time.

In Winbox go to interfaces and add a PPTP Server interface for each store.

its probably better to add the routes to the ppp secret, that way they get installed when its active only.

that did the trick!
Thanks to everybody for the quick replies and great answers!