[SOLVED] Ringing All Extensions on Inbound PSTN Call


I have just started setting up a dedicated Asterisk box for home. It is an analog system using a Digium T410 with 2 S110 FXS (green) modules and 1 X100M FXO module. Based on various samples I have started with the following dialplan (extensions.conf):

exten => 1000,1,Dial(DAHDI/1,20,rt)
exten => 1000,2,Voicemail(1000,u)
exten => 1000,102,Voicemail(1000,b)
exten => 2000,1,Dial(DAHDI/2,20,rt)
exten => 2000,2,Voicemail(2000,u)
exten => 2000,102,Voicemail(2000,b)
exten => 8500,1,VoiceMailMain
exten => 8501,1,MusicOnHold
exten => _9.,1,Dial(DAHDI/g2/www${EXTEN:1})
exten => _9.,2,Congestion
exten => s,1,Answer
exten => s,2,Set(CallerIDString=${CALLERID(all)})
exten => s,3,Dial(DAHDI/g1,20,rt)
exten => s,4,Voicemail(1000,u)
exten => s,103,Voicemail(1000,b)

It is my understanding exten => s,3,Dial(DAHDI/g1,20,rt) should cause all extensions assigned to group 1 as defined in chan_dahdi.conf should ring when a call comes in on the PSTN. Currently, only extension 1000 rings. Here is what I have in chan_dahdi.conf:

;General options
usecallerid = yes
hidecallerid = no
callwaiting = yes
threewaycalling = yes
transfer = yes
echocancel = yes
echocancelwhenbridged = yes
rxgain = 0.0
txgain = 0.0
group = 1
signalling = fxo_ks
context = Internal
channel = 1,2
group = 2
echocancel = yes
signalling = fxs_ks
context = Incoming
channel = 4

Based on how I understand things, both FXS modules (extensions 1000 and 2000; channels 1 and 2) are in group 1. Therefore, I would expect both extensions to ring when a PSTN call comes in. Extension 2000 rings fine if I dial it from extension 1000. All in all, everything seems to be working fine in the system.

Any suggestions? I must be missing something pretty simple, but it is truly escaping me.

Any advice will be greatly appreciated!



g1 causes it to use the first free line in that group, but only one line.

To ring all, you must either create a queue, using the ringall strategy, or list all the phone on the Dial line (Dial(DAHDI/1&DAHDI/2&DAHDI/3&…)

1 Like

That was it! Changed g1 to DAHDI/1&DAHDI/2 and things worked as expected!