Inbound SIP problem

I configured my SIP trunk on FreePBX
Outbound call are ok, but inbound calls are a problem.

When i set my inbound route to my number i get:

[Dec 5 15:45:04] VERBOSE[9737] logger.c: – Executing [059690430@from-trunk:1] Set(“SIP/059690430-b6303b80”, “__FROM_DID=059690430”) in new stack
[Dec 5 15:45:04] VERBOSE[9737] logger.c: – Executing [059690430@from-trunk:2] NoOp(“SIP/059690430-b6303b80”, “Received an unknown call with DID set to 059690430”) in new stack
[Dec 5 15:45:04] VERBOSE[9737] logger.c: – Executing [059690430@from-trunk:3] Goto(“SIP/059690430-b6303b80”, “s|a2”) in new stack
[Dec 5 15:45:04] VERBOSE[9737] logger.c: – Goto (from-trunk,s,2)
[Dec 5 15:45:04] VERBOSE[9737] logger.c: – Executing [s@from-trunk:2] Answer(“SIP/059690430-b6303b80”, “”) in new stack
[Dec 5 15:45:04] VERBOSE[9737] logger.c: – Executing [s@from-trunk:3] Wait(“SIP/059690430-b6303b80”, “2”) in new stack
[Dec 5 15:45:06] VERBOSE[9737] logger.c: – Executing [s@from-trunk:4] Playback(“SIP/059690430-b6303b80”, “ss-noservice”) in new stack
[Dec 5 15:45:06] VERBOSE[9737] logger.c: – <SIP/059690430-b6303b80> Playing ‘ss-noservice’ (language ‘en’)
[Dec 5 15:45:08] VERBOSE[9737] logger.c: == Spawn extension (from-trunk, s, 4) exited non-zero on ‘SIP/059690430-b6303b80’
[Dec 5 15:45:08] VERBOSE[9737] logger.c: – Executing [h@from-trunk:1] Hangup(“SIP/059690430-b6303b80”, “”) in new stack
[Dec 5 15:45:08] VERBOSE[9737] logger.c: == Spawn extension (from-trunk, h, 1) exited non-zero on ‘SIP/059690430-b6303b80’

But if i change my inbound route to Any DID any CID it works…
I need more routes so i can’t use any DID.

Another problem is: after some time my inbound calls are idle they don’t get to my Asterisk machine.
Then i call outside…and then inbound calls are getting to my asterisk. I seems like it looses the registration for inbound calls?

Thank you for any info