IAX2 Trunk truble

Good afternoon.
I got the configuration of the servers FreePBX and when one of these servers was inserted into the circuit, Yakh2 trunks fell into the loop. Please help, the scheme of the connections is below.

Server #1 looking in internet white IP and listen IAX port 10050
Server #2 is inside the protected perimeter and also listens to the IAX port 10050.
On the network screen (cisco asa), the static NAT is configured to transfer this port to the server 2 and the corresponding acl is created.
Server #2, which is inside is registered on server 1 (the one with a white ip), and server 2 can not.

Server #1 - pure asterisk, settings below:
[general]
bindport=10050
requirecalltoken=no
register => login1:[email protected] IP address cisco ASA:10050
context=internal
autokill=yes

[guest]
type=user
context=denied
callerid=“Guest IAX User”

[callcenter]
type=friend
host=dynamic
username=login2
secret=pass2
context=internal
trunk=yes
connectedline=yes
encryption=no
qualify=yes
auth=plaintext
permit=0.0.0.0/0.0.0.0

Server #2 - FreePBX (inside), WEB settings below:
Outgoing:
username=login1
secret=pass1
type=friend
trunk=yes
qualify=yes
host=dynamic
connectedline=yes

Incoming:
login2:[email protected]:10050

Server #1
iax2 show peers
Name/Username Host Mask Port Status Description
login2/trunk white IP (D) 255.255.255.255 10050 (T) OK (11 ms)
iax2 show registry
Host dnsmgr Username Perceived Refresh State
White IP ASA:10050 N login1 White IP ASA:10050 60 Rejected

Server #
iax2 show peers
Name/Username Host Mask Port Status Description
TRUNK/off (null) (D) (null) (null)(T) UNKNOWN
iax2 show registry
Host dnsmgr Username Perceived Refresh State
white IP aster:10050 N login2 white IP aster:10050 60 Registered
1 IAX2 registrations.

Plz help…

Sorry for my broken English.