Incoming calls

I am planning to have 50 extensions in my * box. I have configured around 50 DIDs also in my asterisk box. I want to bind each extensions to a DID respectively so that if a call comes for say DID XXXXXX, the extension associated with it should ring.

I am new to * so its difficult for me to implement. Can anyone explain how can i start.

Note: I hve created extensions same as DID…e.g. if my extension is 19XXXX, i hve made extension by same number…i.e. 19XXXX.

Thanks in advance

in extensions.conf:

exten => 9135555555,1,Dial(SIP/9135555555,15)

do one for each inbound DID.

then set up your devices in sip.conf and you should be good to go.

to clarify-

exten => 9135555555,1,Dial(SIP/sipuser,timeout)
exten => 9135555555,2,Voicemail(mailbox@context)

sipuser is the user defined in sip.conf ie [sipuser], timeout is how many seconds until it gives up and goes to the next priority.

priority 2 is voicemail, which you may or may not want.

Thank you so much for the help. It works… :smile: