03-16-2021 03:07 PM - edited 03-16-2021 03:24 PM
Hello! Struggling with this one challenge.
We use CER to route calls to ATT IPFlex product. They look at diversion headers first to route calls to PSAP. Passing the call through CER inserts a diversion header of "911" into the SIP invite to PSTN as seen here:
Diversion: <sip:911@X.X.X.X>;reason=deflection;privacy=off;screen=yes
When the call leaves the cube it has the CER primary DID as it should in the from field so if PSAP has to call back it would route into CER. My goal is creating a SIP profile on the CUBE to match a 911 invite and copy that FROM field into the Diversion header field and put that profile on the existing outbound to PSTN dial-peer.
Alternatively can I create a new pattern match for 911 and have a dedicated outbound to PSTN dial-peer for 911 and just do a request INVITE sip-header diversion REMOVE to remove it completely on the outbound dial-peer as well? I'd like to see if I can do this with a copy method on an existing peer matching 911 in the TO field in a sip profile though. Just having a hard time determining what that command line is in the SIP profile. Been digging through documents for a few hours now.
Thanks!
Solved! Go to Solution.