Rejected sip incoming calls

Hi

I am trying to connect the freePBX box to my existing PBX so that the old PBX sip extensions would server as sip trunks on the freePBX box (2.10).

I have no problems with outgoing calls but all incoming calls are rejected.

I guess I am doing something wrong but I do not know what.

Outbound CallerID = XXX

PEER details is as follows:

host= old.pbx.ip.address
username= XXX
secret=YYYYY
type=Peer ( I have tried friend but it did not change anything)

USER details are as follow

secret=YYYY
type=user
context=from-trunk

registration string xxx:[email protected]

The sip trunk regisers and outgoing calls are no problems

I have an incoming route that send CID XXX to my extension.

I would highly appriciate any help