That would work only for incoming PSTN calls tagged as a "Subscriber" call under Type/plan in called party number.
You need to create a TP that prepends the 8
1000
2000
TP XXXX
Calling PTM 8XXXX
Called PTM XXXX
Take into account partitions and CSS.
This might affect your environment (ie VM system)