Help with inbound calls

Hi,

I have a DID through my provider and have added the following to sip.conf (where provider_name is the name of the provider and xx.xxx.xx.xxx is the IP of the provider):

[provider_name]
type=peer
host=xx.xxx.xx.xxx
disallow=all
allow=ulaw
allow=alaw
sipdebug=yes
dtmfmode=rfc2833
progressinband=yes
qualify=500

Now, the DID through the provider is configured on their backend to send call requests to my asterisk server. I have 1 asterisk client (software phone, X-Lite) connected to the Asterisk server. Short term goal is to ring that client’s phone when a call is placed to my DID. Can someone tell me how to configure extensions.conf and anything else necessary?

Probably should add a context line to the provider, something like context=from-provider.

Then in your extensions.conf, add something like

[from-provider]
exten => YOURDID,1,Dial(SIP/xxxx)

Thank you, that worked.