Outbound Routes

i have a couple of outbound routes setup that work fine
first being (9)+9X. which passes everything starting with a 9 to my main line then 07XXXXXXXXX which passes mobiles number to a specific trunk for dailing mobiles.

But i need to setup a divert which needs to dial

#61#9number# to setup a divert on my main line

*#61# to check the divert

but my route wont pass the above to my main trunk as its looking for 9X.

Any ideas how to pass 619number#