Problem with DID with trailing zeros

I am currently working on my first Asterisk 11 install and have ran into some problems. First how can I configure Asterisk to except an incoming call from 415-XXX-4000( The X is in place of the suffix)
Next how do I configure each extension to show DID for there specific extension when Calling out in other words enable CallerID?

I’m not sure I understand the first question. Generally it is best to show the dialplan you attempted to use.

Caller ID can be set using the CALLERID function and may also be settable in the device technology configuration file for the source devices (e.g. sip.conf).

First question is I have a main number that I want to you 415-XXX-4000 I have it in my Extensions.conf and yet it rejects it when dialed from an outside line. All other numbers like 415-XXX-4001 through 4099 work with no problem at all. Hope this helps.


exten => 417,1,Dial(SIP/417,20)
exten => 417,2,VoiceMail(417@VoiceMail)
exten => 417,3,Hangup()
exten => 415XXX4017,1,Dial(SIP/417,20)

This is in my SIP.conf file is this the correct format for CallerID

[417] type=friend host=dynamic secret=fleetline mailbox=417@VoiceMail callerid= "417" <415XXX4017>

This is the error message I get when I call from an outside line to 415-XXX-4000
veryone is busy/congested at this time (1:0/0/1)
– Auto fallthrough, channel ‘DAHDI/i1/4154531262-3’ status is ‘CHANUNAVAIL’
– Span 1: Channel 0/1 got hangup request, cause 16
– Hungup ‘DAHDI/i1/4154531262-3’

This can be deleted I figured it out . Thanks …