FreePBX a call between 2 extensions over a sip trunk

Hi Everyone;

I have a Astersik server. i need a call between extensions but the call must be over a sip trunk. But i configurated a sip trunk, the trunk is not online. i have two extensions 1234567 and 7654321. The extensions defined on Xlite and Express Talk Applications. The extensions are talking always internal but they must talk over trunk. How can i configurate the Sip Trunk. i made a conf. but it is not online.

my configuration:
PEER Details
username=user10
type=friend
secret=user51005
qualify=yes
nat=yes
insecure=invite,port
host=47.168.17.45
dtmfmode=rfc2833
context=from-trunk
canreinvite=yes
allow=g711ulaw

USER Details
username=user10
type=peer
secret=user51005
insecure=invite
host=47.168.17.45
context=from-internal
allow=g711ulaw

i made outbound and inbound Routes but the sip trunk is not online. Also i made Nat settings. i could not be succes about the call. I need Help about it. Can you help me. Thanks…