Incoming DID


I have one main asterisk and 2 other asterisk connected to the main asterisk with sip trunk .
everything is ok except recieving calls .

the problem that when i want recieve call from one did , the main asterisk route the call to the sip trunk but in the secod asterisk system i cannot see the DID that i dial it from outside .

for example :
asterisk main : A
did number 567567 —> 201
exten : 201
exten : 202

Asterisk 2 : B - sip trunk connected to 201 exten .

when i calling 567567 from mobile i receive the call in B but in B cant recognize the 567567 that i can routr it to another exten , it can work if it any did only .