Which magic configuration line in which file should I put so that when a certain number is dialed, all extensions that match some wildcard ring, and a call is transferred to the phone which picks up first?


1) I am doing it for home and I am no way an asterisk admin by profession.

2) I have an OpenWRT "PBX" application that installs asterisk with Luci admin pages. Hopefully it doesn't touch some of the asterisk config file so I'm able to tweak it with them

3) I own a D-link DVG-7111s Voip router, attached to my network through its Wan port, FXO goes to the PSTN, and FXS port is connected to a regular phone, which, however, is capable to read CallerID.

4) There is a number of softphones registered, and one hard sip phone registered in this asterisk. All their numbers start from 4.

So all this is needed to ring all registered phones when a call comes to D-Link's FXO port. Strangely there is no obvious config for this neither in OpenWRT PBX, nor in D-link. The latter allows me to register FXS port as a sip phone, it has a number 400. The FXO is also registered as 399.

There is a function called "Hot Line", which dials one number when a call comes to FXO. It works.

I think I need to create a dummy number like 398, and then teach Asterisk to ring all 4?? phones when someone calls to this number.

Hope it's possible.


Your question is too broad.

You should use extensions.conf file, sip.conf(or other depend of your trunk type), ringgroups or queues.conf

For more info can recommend you read Orelly's "The future of telephony" book

  • How trunk type affects anything dialed internally? Discard the broad background, the question is pretty exact. Someone from some extension (say, 399) dials number 402. I decide to use queues.conf from your list of options. What should I put there to that all extensions that start from 4 ring? – fedd Feb 1 '17 at 13:29
  • Anything in asterisk,including extensions and trunks use channel driver, config for channel driver depend of protocol/type. – arheops Feb 1 '17 at 17:16
  • Your questions still too broad. Can recommend you read book suggested or start from wiki. wiki.asterisk.org/wiki/display/AST/Building+Queues – arheops Feb 1 '17 at 17:17
  • I have no idea about channel drivers. Asterisk runs in OpenWRT right away, I am able to make internal calls and I am able to register it at an external sip server in the internets for successful outbound calls without me becoming an asterisk guru. Thanks for your advice to read a book to configure one little function that is not controlled by an OpenWRT web-based admin page. I will still wait for exact advice, probably based on assumptions about my default channel/driver/etc installation or preceded by additional questions on my clearly non-unique vanilla setup. – fedd Feb 1 '17 at 19:19
  • So you channel driver is chan_sip or chan_pjsip. Sorry, you are askign question already writed everywhere, in every book. – arheops Feb 1 '17 at 20:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.