External Call as an Extention

I have an extension set up to redirect to an external number. Under the extension configuration, I have Advanced → Edit Extension → Dial set to:
PJSIP/1xxxyyyzzzz@trunk-name

Normally, this works as expected but if the specified trunk is down, the extension is unreachable.

How can I make this extension use more than one trunk? I tried removing the trunk name, but that doesn’t work. I tried just putting the number with no other specifications and that didn’t work either.

Any help would be appreciated.

When using fpbx, it it preferable to always use the local channel for dial strings

Local/1xxxyyyzzzz@from-internal

That will follow your outbound routes and redundant trunks.

Thanks, that seemed to help, but now the outbound CID is wrong. When specifying the trunk, it was correct.

My outboud CID’s are modified depending on the trunk and dialing prefix being used. For example, the trunk has a CID defined as 555-555-1234, but an outbound route might change that to 555-555-6789.

When changing extension dial to local/XXXYYYZZZZ@from-internal, the CID sent is the default assigned to the trunk and the outbound route setting doesn’t seem to be honored.

Do you have Overide extension turned on for the outbound route?

Not for this particular route. The option is “Override Extension” – does that also mean “Override Trunk” ?

I definitely don’t want the extension CID to go out (ie x123), but rather the CID assigned to the route.

Each extension has an Outbound CallerID field, this can be used instead of the Outbound Route CallerID. If you want these calls to go out a specific outbound route that has a prefix, you need to include said prefix in the string being passed.

Would this change how the extensions appear internally? We want to see x123 internally on the CID, but not have that pass out of the trunks.

Set the extensions CID to the extension number. Then on the outbound route they use set the CID and select “Overide Extension”

Any calls that go out that route should show the route’s CID and not the extensions. Since the internal calls do not go out through the Outbound Route, the extension’s CID should be shown internally.