I have a CME with a SIP trunk connected to a PBX that allows 4 digit dialing over the WAN. If the WAN goes down I would like to translate the 4 digit number to the E.164 number and then re-route the calls to the PSTN. If the remote PBX extensions are 5xxx and their DID?s are 1-212-555-5xxx will the following configuration work?
dial-peer voice 1 voip
description SIP trunk to PBX
session protocol sipv2
session target ipv4:10.10.10.10
dial-peer voice 100 pots
description Alternate for 4-digit calls
Also will this work with CAC (using call threshold commands)?