Ring Group needs to include extensions at another office


Running FreePBX Distro 2.10. I have one at each of 2 offices connected via VPN. I’ve been able to create an IAX2 trunk to connect the two offices. I also created a ring group at office1 that includes extensions at office2 but they won’t ring. Only the extensions at office1 ring.

I’m perplexed because I can call from one to the other using extension numbers.

A little help please?


Read the mouseover help for the ring group. External numbers have to be suffixed by a #.

Brilliant. Works beautifully!


What you probably want is not a bunch of external extensions in a local ring group, because when the external extension goes to voice mail it will grab the call from the ring group. What you probably want is a remote ring group containing the remote extensions and then ring the remote ring group from the local ring group, again using the # suffix.

I’m not sure I understand the problem or the solution.
I need all incoming calls to ring all extensions. If no one gets it, I need it to roll to voicemail.

Is that not going to happen?

Ring Groups have a destination on no answer. I have voice mail on my extension and my extension is in a ring group. When a call comes in I route it to the ring group if there is no answer I send it to a second ring group. If that ring group does not answer the call is sent to a cell phone. All of the extensions in both ring groups have voicemail. If the call is not answered the call does not go to voice mail at all.

Now I’m even more confused. When creating a ring group there is an option at the bottom to change the destination on no answer. I set it to a specific voicemail box and it goes there.

The only weird thing about this is, if I add a remote extension to the ring group, that extension is the voicemail box it lands in on a no answer. Even if I have a different mailbox specified for that ring group.

Can you clarify anymore?

This is what I was hinting at above. When you add an external number to a ring group (lets say it is your cell number suffixed #) the PBX has zero control of that number (assuming confirm calls is not enabled). If your cell VM answers the call, FreePBX has no way of knowing if it is a human or not, and so transfers the ring group call to the cell number and the ring group is done. The destination if no answer never happens because the call is always answered by your cell vm. Your external PBX extensions work the same way, if an external extension VM answers the ring group, the local PBX will hand off the call and be done with it.

The solution in your case is to have a ring group on the remote PBX with all the remote extensions added, then ring the remote group from the local PBX by adding the remote ring group number with the # to the local group.

That makes perfect sense. In fact, I had almost thought of it in almost the same scenario right before I read your post. Your way works better though.

I have another problem that popped up today. It’s in another post here. Perhaps you can help with that too. It’s the link below.

And thank you!


For the remote ring group, do I simply create a ring group on my local PBX that includes each remote extension with a # at the end or is there a way to create a ring group that can be dialed by simply dialing the ring group number with a # at the end? I tried that but cannot make it work.

  1. How do you direct calls to the remote PBX? Just by extension/numbering plan, or with a prefix?
  2. How are the ring groups in the local and remote PBXs numbered?


local PBX has 1 sip trunk & 2 extensions 301 & 302. I created a ring group 300 with both of them in it. All incoming calls on that sip trunk go to that ring group.

remote PBX has 2 extensions 601 & 602. I created ring group 600 with both of them in it. It’s simply a mirror image of the local PBX with different extension and ring group numbers. It also has 1 sip trunk with all incoming calls ringing that ring group.

My initial goal was to make all extensions ring simulaneously for all incoming calls and have unanswered calls go to local voicemail. Now I understand the local PBX cannot control any call forwarded to the remote PBX.

So am I missing something?..If not, I have 2 questions:

First. Is there a way to get these two PBX’s to act as one? That may be a lofty goal but I thought since they were already connected via VPN it wouldn’t be that tough.

Second. How would you achieve my goal otherwise?

As always, thanks for the help.

so I imagine what you wish to do is:
inbound routes

perhaps memory hunting 300 then 600#

perhaps memory hunting 600 then 300#

and you’re saying this doesn’t work?

You’re right, it doesn’t.


If the context of your “tie-line” trunk is from-internal, you will have better access to the endpoints on the remote machine by routing the other PBX’ enddpoint numbers to the other side.

This is just how contexts work in asterisk, and from-pstn does not include such things as Ring-Groups or IVR’s . . .

You will never get them to “act as one” because they are “Back-to-Back User Agents”, so at best they will always be two. There are SIP “proxies” out there that will perhaps make it easier to realize what you want but I don’t think Asterisk will do it for you.


Could you elaborate on your first paragraph? Remember, I’m a Windows guy trying to figure out the freePBX world. I don’t know asterisk at all.


Sorry I didn’t remember that, you didn’t confess your handicap, at least in this thread you have my sympathy.

Maybe start with


It should work even given your disability :wink:

Basically make sure your IAX trunk’s context includes the needed IVR’s etc. and then so route those far-end “numbers” through that trunk.

woops, forgot to suggest you start with from-internal, but that is perhaps a little too opehn.