Outbound routes two PBX

I have small problems with outbound routes.
I have two PBX ( two locations) connected together threw IAX (interoffice) Location A and B. In both locations I have few trunks.

Location A has extensions 1XX
Location B has 2XX,3XX 4XX

In location A I have maded outbound routes in ( match pattern) for 2xx, 3xx 4xx threw interoffice and I can call with no problem between all extensions.

But problem is how to call from location A threw trunks configured in location B?

For example I have configured outbound routes for ZAP trunk in location B in (prefix) 952. - so when I put 952 and number than im going out threw ZAP trunk , but when I did it the same in location A:

-I tried to do prefix or match pattern as 952. and trunk sequence as interoffice - and the resoult is that when I want to go out that way ( 952 and number) in location A than I dont go out, via that trunk in B but the extension 200 is calling.

Anyone can help me how to set up outbound routes to be able use trunks from location B , calling from location A ?
Thanks in advance,

Please, anyone can help?

Can annyone please help?

greetings,
Chris

Can annyone please help?

greetings,
Chris