Ring two direct dial numbers

Morning,

I have a need to have to direct dial numbers at the same time, I know you can do this with extensions but not sure how to ring 5512 and 5513 numbers at the same time. Any help would be greatly appreciated.

Tim

Can you explain a little background to what you are trying to do? When/how do you want these numbers dialled at the same time? Are you thinking of something like a ring group but just with external numbers?

I guess it would be a ring group, I have a trader that has two external direct numbers, one to his desk in one office and one to another office. If a broker were to call the direct for one office it would ring both lines. What I’m wanting for both these numbers is like how you can have a group of extensions all ring when one of them is dialed.

Thanks,
Tim

Asterisk doesn’t really distinguish between extensions, in the sense in which you use it (Asterisk uses it to mean directory numbers) and trunks. The only real difference on trunks is that they normally have dialled digits forwarded. As such you can call numbers over trunks in parallel in the same way as you do for devices that are directly addressable at the IP level.

Note that “ring group” is not an Asterisk concept, so if you are actually trying to do this using and Asterisk GUI, you may find that gets in your way.

Hi there!
May be you can try such a thing like:
f.e. 1000 - office 1 phone number, 2000 - office 2 phone number
In your dialplan you can set something like:

exten => 1000,1,Dial(SIP/1000@trunk1&SIP/2000@trunk2)
exten => 2000,1,Dial(SIP/2000@trunk2&SIP/1000@trunk1)

So when you call 1000 or 2000 both 1000 and 2000 will start ringing.

I’m still slightly confused by the requirement, but I think one problem here is confusing directory numbers (extensions) with equipment numbers (devices). The number that the caller uses is an Asterisk extension number, but the numbers in Dial parameters are not.

In terms of the confusion, I’m not clear which phones are connected to Asterisk.

If bichara has a correct understanding of your topology, I would note that the two sets of Dial application parameters are actually different ways of writing the same thing. You could, for example, re-write it as:

exten => _[12]000,1,Dial(SIP/1000@trunk1&SIP/2000@trunk2)

Ok, what I have setup right now is ext. 201 has a direct dial 111-111-1111 and 202 has 111-111-2222. When anyone dials 111-111-1111 or 111-111-2222 it needs to ring both phones. I don’t know if this is a ring group or not.

Thank you for your note, david55. It is very neat to use patterns where it is possible.
Nanook, I still cant catch up with the problem.
You want 111-111-1111 and 111-111-2222 to ring when anyone calls 201 or 202?

I can do the extensions 201 and 202 no problem, what they want is if someone calls 111-111-1111 to ring 111-111-1111 and 111-111-2222 and vise versa.

Why do you consider those long numbers not to be extensions?

Lets have try. 201 and 202 are local devices, with IP addresses that select just one phone.

111-111-1111 and 111-111-2222 are on the PSTN.

You have some device that allows you to call PSTN numbers. It probably doesn’t matter whether that is actually at an ITSP, a local SIP to PSTN gateway, or a direct PSTN line card.

The device has the capacity to make two simultaneous calls.

If someone on the PSTN calls 111-111-1111, only 111-111-1111 will ring.

If someone on 201 or 202 dials 111-111-1111, you want both the long numbers to ring.

In that case, define 111-111-1111 as extension which Dials:

//1111111111&//1111112222

If you have DAHDI line card, device technology will be DAHDI, and the device name may be something like g1.

This is no different from calling two local devices, except that you need to include digits to forward.

Are you talking about doing something similar to this but with the 10 digit numbers? Sorry my experience with Asterisk is limited as we do not customize it that much.

exten => _211,1,Dial(SIP/211&SIP/215&SIP/201)

_211 has no advantage over 211

Assuming 111-111-1111 is a PSTN number, you access the PSTN via either a SIP ITSP or a SIP gateway device and trunk is the sip.conf entry for the route to the PSTN, then

exten => 211,1,Dial(SIP/trunk/1111111111&SIP/trunk/1111112222)

The four digit numbers after SIP/ identify a section in sip.conf, and best practice is that they are not the same as the extension numbers, and rather longer.

If you could use SIP/1111111111, it would mean that 1111111111 already was an extension, in the sense that most people, rather than Asterisk, understand one.

You should already have simple Dial lines using the trunk, so all you have to do is repeat the contents, for each destination, with an & between each.