I have two Partitions:
P-R-PSTN : contains route patterns to a gateway.
P-B-NATIONAL-CALL : contains a blocking route pattern.
I created a CSS to use in the device:
and another to use in the line
I've finaly created two route patterns (0 is the exit code):
0.2XXXXXXXX , P-R-PSTN , Route this pattern, GW-PSTN
0.2[^1]XXXXXXX, P-B-NATIONAL-CALL, Block this pattern, GW-DUMMY
Of the two route patterns, I think that the blocking pattern is more specific (3rd digit matches 9 digits, whereas in the other route pattern matches 10 digits).
What happens is that Callmanager matches the 0.2XXXXXXXX pattern instead of the 0.2[^1]XXXXXXX pattern, and the call gets trough.
If I change the blocking pattern to 0.2[2-9]XXXXXXX, it works.
Is this a bug or [^] works differently?