Asterisk iax problem

we have 2 server

Asterisk Server 1 with static ip
Ip: 12.12.12.12

Asterisk Server 2 with dynamic ip
Ip- dynamic

1:Call always going from Server static ip to local dynamic ip
2: 1 Gsm gateway Attach with Server 2 with 192.168.101.10
3: can it possible we use mac address in Asterisk Server 1 for Registration Local server

i have see 1 module for same work but it’s not work for me
http://www.getsbo.com/ that’s website who already provider for solution like it
http://www.getsbo.com/wp-content/themes/getsbo/downloads/SBO-k3.3.6_3.iso
That’s iso have same tools but that’s tool use for client side server side must need same file but 1 module chan_sync.so no work for me in server side , local side its working fine in that’s iso That’s soltuions working same with Mac address after add mac in server it’s auto configure client side dailplan etc

now i plan use iax2.conf for it but now i have problem how to secure it my 3 requirement 1,2,3 up side if any one know how it possible then pls reply here