Configure a type=friend with different hostnames & proxy

Hello,

I have tried to search about this on google but no answers, so i am here.

I have a account with ringcentral.com and i am able to use below details to send and receive calls using xlite.

SIP Domain sip.ringcentral.com:5060
Outbound Proxy sip10.ringcentral.com:5090
User Name 1256xxxxxxx
Password 2508xxxxxx
Auth. ID 2508xxxxxx (Same as Password)

All i wanted to do was to configure this account on FreePBX, so i can route incoming calls to two different extensions that i already have created and these are working as i have tried to call within each other. But, i am not even a newbee in asterisk and finding it really hard to make these settings work in freepbx.

Please help guys.