We're deploying a CUBE as an SBC to do sip-to-sip to our service provider (CUCM 8.5). I would like any calls that are using internal extensions to use our pilot number for the trunk as any non-valid DID numbers calling out get dropped by the service provider. I'm pretty sure I can do this by having a pattern set up on the CUBE to modify any URI's that aren't valid to the private number, but struggling on building a pattern for it.
Can anyone point to a guide on creating the patterns or give us a pointer?
Here is an example of what I'm trying to do:
55554XXX contain all valid DIDs with 55554000 being our pilot number. If a call goes out as 555511111, I would like the CUBE to modify it to 55550000.
I think something like below would do it, but need some pointers on building the pattern:
request INVITE sip-header From modify "" ""
Hope that makes sense,