Neighbor Calling (Dynamic CID)

Status
Not open for further replies.
So I have the need to have a different CID number push if we own a DID in the area code that is being called.

Say I own 3 DID:
- 601519XXXX (Main number)
- 662312XXXX
- 769123XXXX

I've tried setting up a higher priority outbound route rule and setting the regex to: ^1662(\d{7})$ then changing the effective_caller_id_number to 1662312XXXX but it keeps skipping this rule and using another that has a regex of: ^\+?1?(\d{10})$ -- Priority on the ^1662(\d{7})$ rule is 30 and is set to not continue while the ^\+?1?(\d{10})$ has a priority of 50.

Is there something that I should be flushing out to make the new rule go active? Or am I just approaching this the wrong way?
 
Ok I found a solution, turns out the regex I was using, even though I tested it for matches, wasn't working. Here is what I ended up with:

^\+?1?601(\d{7})$

It does strip the 1601 from the front (not a regex expert so not sure why) so I had to add the 1601 to the bridge area as a prefix.
 
Status
Not open for further replies.