Hosted Sip Trunk Incoming Calls To Inbound Route

I have never configured a hosted sip trunk before, so please bear with me.

I have configured the sip trunk with this in the outgoing settings.
username=myusername
fromuser=myusername
secret=mypassword
outboundproxy=myproxy
host=myhost
fromdomain=myhost
type=friend
context=from-trunk
port=5060
insecure=port,invite
trustrpid=yes
sendrpid=yes
directmedia=no
qualify=yes
keepalive=45
nat=yes
dtmfmode=rfc2833
disallow=all
allow=ulaw

This seems to work great and all outbound calls and incoming calls work. However there is 1 issue. For the incoming calls the default inbound route is triggered (the one with an empty DID Number). I need to setup an inbound route for the calls that come in on this hosted trunk and do not know how this is done. When looking through the log when I call in on this trunk, the log is much different than if the call came into our system on an analog line. There is no DID information, just some information about the call coming from the hosted trunk.

Are there some settings in the incoming section that need to be setup to give all calls coming in from this trunk a specific DID that the inbound route can then be configured for? Any help would be appreciated.

Only needed to change this line.

context=from-pstn-toheader

The number is coming from the hosted trunk now, hope this helps others!