That doesn't seem right. If I understand correctly you must prefix a received public A-number with 00 when sent over the Qsig line to the other PBX.
Let's say you receive the public A-number as 12 345 6789 with TON = 2.
Then you need to set the nutri for entries 1 to 9 with
NUTRI:ENTRY=1,CNVTYP=1,NUMTYP=2,PRE=00,TARDST=4317;
Although in your case it should be enough to set the nutri on the qsig route and then use received A-nr.
NUTRI:ENTRY=x,CNVTYP=2,NUMTYP=y,ROUTE=12,PRE=00;
This would only add the prefix if the call terminates in the lim, in transit this nutri will not do anything.
Just make sure your entries and NUMTYP's are using the correct values.
F.e. A-nr = 12 345 6789, TON=2 then Entry must be 1 to 9 and NUMTYP=2.
F.e. A-nr = 012 345 6789, TON=0 the Entry must be 0 and NUMTYP=0;