Okay, help the old guy out here if you will. I want a single incoming analog line to ring a single Digium D40 phone. It is the line associated with group 2. When I call the number, it always goes to the very last context in extensions.conf. I will be up front in that I am not an expert here but have a couple of systems under my belt. Very simple systems, however.
Here is what I have in chan_dahdi.conf:
[channels]
; channel-group for Digium Card Ports 1-8
; channels 1-4 for 4-line hunt group
; channel 8 for direct line 831-8015
group=1
context=outside
signalling=fxs_ks
callerid=asreceived
cidstart=ring
cidsignalling=bell
callwaiting=no
channel => 1-7
group=2
context=direct_line
signalling=fxs_ks
callerid=asreceived
cidstart=ring
cidsignalling=bell
callwaiting=no
channel => 8
Here is what I deem pertinent that I have in extensions.conf:
[outside]
exten => _X.,1,Goto(are-we-open,s,1)
include => are-we-open
include => users
;
;
[unknown]
exten => _X.,1,Goto(are-we-open,s,1)
include => are-we-open
include => users
;
;
[direct_line]
exten => _X.,1,Goto(inside,19315,1)
include => users
include => inside
include => special-features
;
;
[inside]
;
exten => 19310,hint,SIP/000FD30110B6
exten => 19310,1,Dial(SIP/000FD30110B6,20)
exten => 19310,n,GotoIF($[${DIALSTATUS} = BUSY]?busy:not_busy)
exten => 19310,n(busy),VoiceMail(${EXTEN}@default,b)
exten => 19310,n(not_busy),Voicemail(${EXTEN}@default,u)
exten => 19310,n,Hangup()
;
exten => 19311,hint,SIP/000FD3010F3E
exten => 19311,1,Dial(SIP/000FD3010F3E,20)
exten => 19311,n,GotoIF($[${DIALSTATUS} = BUSY]?busy:not_busy)
exten => 19311,n(busy),VoiceMail(${EXTEN}@default,b)
exten => 19311,n(not_busy),Voicemail(${EXTEN}@default,u)
exten => 19311,n,Hangup()
;
exten => 19312,hint,SIP/000FD30114C7
exten => 19312,1,Dial(SIP/000FD30114C7,20)
exten => 19312,n,GotoIF($[${DIALSTATUS} = BUSY]?busy:not_busy)
exten => 19312,n(busy),VoiceMail(${EXTEN}@default,b)
exten => 19312,n(not_busy),Voicemail(${EXTEN}@default,u)
exten => 19312,n,Hangup()
;
exten => 19313,hint,SIP/000FD3010F91
exten => 19313,1,Dial(SIP/000FD3010F91,20)
exten => 19313,n,GotoIF($[${DIALSTATUS} = BUSY]?busy:not_busy)
exten => 19313,n(busy),VoiceMail(${EXTEN}@default,b)
exten => 19313,n(not_busy),Voicemail(${EXTEN}@default,u)
exten => 19313,n,Hangup()
;
exten => 19314,hint,SIP/000FD301108D
exten => 19314,1,Dial(SIP/000FD301108D,20)
exten => 19314,n,GotoIF($[${DIALSTATUS} = BUSY]?busy:not_busy)
exten => 19314,n(busy),VoiceMail(${EXTEN}@default,b)
exten => 19314,n(not_busy),Voicemail(${EXTEN}@default,u)
exten => 19314,n,Hangup()
;
exten => 19315,hint,SIP/000FD301109D
exten => 19315,1,Dial(SIP/000FD301109D,20)
exten => 19315,n,GotoIF($[${DIALSTATUS} = BUSY]?busy:not_busy)
exten => 19315,n(busy),VoiceMail(${EXTEN}@default,b)
exten => 19315,n(not_busy),Voicemail(${EXTEN}@default,u)
exten => 19315,n,Hangup()
;
There are more extensions after this. What piece of the puzzle am I missing here. The other lines in group 1 ring the receptionist phone just fine after checking day of week, hours, holidays, etc. I just want port/line 8 to ring 19315 regardless.
Have worked on troubleshooting this for hours and know I am probably missing something simple here. Thanks for being patient.