Can any one tell me why the following pattern doesn’t work with CID under inbound routes?
I’m looking to create an inbound route based on this pattern so when I’m called from the following numbers (examples) routing is different from when called from other numbers:
If I “hard code” one of the numbers the inbound route does work, so there seems something wrong in either the pattern or the inbound route just not accepting it.
555 doesn’t match 0555 (your _555… pattern).
I have also tried 05551234XX as pattern, this also doesn’t work. I have added _ in case the country number is included somehow.
Are you using?
_ indicates a pattern, you need it for pattern entries.
No, currently I’m using _5551234XX
Ok thanks that does work. But will it also match:
? So adding a country code and not having the first 0?
No, I have attached a link to the wiki, I recommend reading it as it will tell you what you need to do.
So what about _ what does that do? Don’t see it in the documentation.
Tested the following which does work: _X5551234XX
I believe that you need
though I haven’t tested it.
This would not match if a country code were present.
Nope, this doesn’t work. I’ll stick with _X5551234XX which does.
__X5551234XX will only work if there is one number (0-9) ahead of the 555, if you have multiple numbers ahead of the 555, that pattern will not work.
The underscore tells asterisk to treat the string as a pattern.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.