- Joined
- Jun 9, 2022
- Messages
- 2
- Reaction score
- 0
My SIP trunk provider puts the validation result into the "From:" header along with the caller ID:
I've tried using Caller ID Reformat in the trunk settings, using this regex, which validates in a tester:From: "15555551212" <sip:15555551212;verstat=[email protected]:5060>;tag=113433738583093
But it doesn't appear to work. I have a custom CRM integration and I put a piece of debug code that emails me the number parameter that gets passed to it, and for any number that has this validation text in it, the integration never fires. I'm guessing the 3CX system doesn't trigger the integration because the "number" parameter isn't a number. If an incoming call doesn't have the validation text, the integration works fine. And the trunk regex rewrite is the only place I can find to manipulate the caller ID. There is no part of the original SIP message that just has the number, so I can't use the Inbound Parameters section of the trunk to change anything.([0-9]+) -> /1