Help to create an Inbound route

hello guys:)) this is the first time i’ve installed asterisk only, i mean without PBXs.
so here’s where i’m stuck…

this is my sip.conf

[general]
register => USRXXXX:pass@sip.xxx.com/995XXXXXXXXX
context=from-call
dtmfmode=rfc2833
port=5060

[mor]
type=peer
username=USRXXXX
secret=password
fromuser=USRXXXX
host=sip.xxx.com
fromdomain=sip.xxx.com
context=from-call
insecure=port,invite
nat=yes

[100]
type=friend
secret=cisco
host=dynamic
context=to-call

and here’s extensions.conf

[to-call]
exten => _XXX,1,Dial(SIP/${EXTEN})
exten => _2XXXXXX,1,Dial(SIP/${EXTEN}@mor)
exten => _85XXXXXXXX,1,Dial(SIP/${EXTEN}@mor)
exten => _00X.,1,Dial(SIP/${EXTEN}@mor)

[from-call]
exten => s,1,Dial(SIP/101)

my outbound route works great, but i cannot find out how to create an Inbound. i’m trying to use the [from-call] context for inbound but it doesn’t work…after dialing to my sip number the message comes up. all circuits are busy now pls try again later. please help me out, to understand the Inboud route creation. p.s. the trunk is registered.

thanks a lot. and sorry for my english :exclamation:

If that register is effective, s should be 995XXXXXXXXX. with the X’s substituted, or an initial underscore.

so my configuration is right? still it doesn’t ring

This is wrong:

[quote][from-call]
exten => [color=#FF0000]s[/color],1,Dial(SIP/101)[/quote]

o thank you a lot :smile:) just had to change the “s” value to extension 995XXXXXXXXX now it’s working fine :smile:)
it’s time to lear how to create queue, ivr, etc. hope it is not painful :smiley: