Connections between Freepbx 2 and VOIPSWITCH

hello
i have freepbx 2
and i have also voipswitch
i want send calls from voipswitch to freepbx
i make vpn between voipswitch and my ubuntu server
and it work and i can ping my freepbx ip