If this is not the United States, I do not recommend using 9.@.. This dial pattern is specific to be used in the US.. Now, 9.@# is not something I have ever seen before..I do not recommend it at all. If you are using the # for a termination character, then, you should use 9.[6789]XXXXXX# and so on.. You will have to use different partitions and make similar route patterns in each partition.
Having said that, I will have to loook at traces as to why it is sending a different ANI. Do you have any translation patterns? For ANI, are you just using external phone number mask? Check if you are manupilating ANI in the RL or RG.