freepbx 17 override outbound CID by member of ring groups

Hello,

I have two phone numbers for FreePBX and the primary one is the default outgoing CID. I would like to set the other phone number as the outgoing CID of a Ring Group.

I have a Ring Group and I would like to set it so that if any member of the Ring Group (extension) makes an outgoing call, the other phone number will be displayed to the called party instead of the default outgoing CID.

I tried setting the Change External CID Configuration to Outside Calls Fixed Value in the Ring Group settings and entering the other phone number in the Fixed CID Value, but the default outgoing CID is still displayed to the called party when any part (extension) of the Ring Group calls.

Am I doing something wrong? Is there a way to fix this?

Thank you for help

You may need to re-explain what you are trying to achieve, as ring groups (for handling incoming calls) play no part in your attempts to pre-set the CallerID for outgoing calls, whether that’s set by the extension, the outbound route, or the trunk. Those are the 3 places you can set it and one can override another. Outbound calls made by extensions have nothing to do with ring groups. This becomes slightly muddled if an external number is part of the ring group and you are trying to control the CallerID presented to the recipient, but I don’t think that’s what you mean.

Thank you for your answer, now I understand why it is not possible.

The members of the Ring Group are only logically connected to each other in the case of an incoming call, so the incoming call can be directed to it.

This does not apply to an outgoing call, because the extensions initiate the call.

I understand, so the default CID of the outgoing call must be overridden at the extensions.

What could be the solution in this case? The task would be the following.

One of the two phone numbers is directed to a Ring Group, its members ring when this number is called.

However, when making an outgoing call, the other number is the default outgoing CID, which is sent by FreePBX when any extension calls out.

I would like to achieve that when extensions in a Ring Group call out, FreePBX sends the outgoing CID that is directed to the Ring Group when the call comes in.

I hope I was able to explain it clearly…

Thanks for your help

You can set the Route CID on the relevant Outbound Route(s) and set Override Extension to No. Then give an Outbound CID for those extensions in each Edit Extension. If you’re setting Outbound CallerID in the trunk then it will override all that, so don’t do it there, remove it and go back down a level to the Outbound Route.

If you want to take it further and treat those extensions differently to everything else, give them their own Outbound Route. Set it first in route by dragging it above all the others, and add each relevant extension number to each of the CallerID column boxes in Dial Patterns, one line per extension. That way you can also control the trunk those particular extensions will use for their outbound calling, if you can have more than one trunk.

How can I specify multiple CallerIDs in the Dial Pattern? Only one CallerID can be specified per line, what is the solution?

For example like this?

NXXXXXXX 4001

00. 4001

06. 4001

NXXXXXXX 4002

00. 4002

06. 4002

NXXXXXXX 4003

00. 4003

06. 4003

Thank you for your help

Repeat the lines for another extension, and then another.

Thanks, I understand now. Unfortunately, this is much more work than just rewriting the Outgoing CID of the given Extensions.

For the Outbound Route, each Extension would have to be assigned to each Dial Pattern scheme, which would be a lot of lines. The same procedure applies to a new extension.

I think I’ll stick with the Outgoing CID settings for the extensions.

Thanks for your help

You only need to do it for the relevant extensions. You could also simplify the dial patterns so there are fewer of them.

Thanks for the ideas, but it will be easier if I set up those few extensions one by one under Extentions.

Thanks for your help.

In Outbound Routes, the CallerID field, like the others is a pattern. So, if you are not imposing any restrictions on what the ring group members can dial, you need only one line:

prepend: (leave blank)
prefix: (leave blank)
match pattern: X.
CallerID: 400[123]

@Stewart1 thank you for your advice.

I didn’t think it could be specified like that. You’re right, though, as this is also the usual pattern setting.

I think I’ll set it up as you suggested and keep the solution in mind.

Thank you for your help

Something else occurred to me.

If I understand correctly, can the X. setting replace the 06., 00., 112, etc. Dial Patterns? Am I right?

How can I enter Extensions 4003, 4012, 4024, 4030 in one line in CallerID? Do I need separate lines for this?

Thanks you for your help