Hello,
according to the documentation...
Quote:
Asterisk extensions style + POSIX regex syntaxes are supported. '_447[7-9]XXXXXXXX' matches 12-digit UK mobiles. '_X{0,3}(112|999|911)' matches any 0-3 digits followed an emergency number. '_' can be used to add length, and raise the priority.
So I wanted to map calls to Spanish landlines, ie. to a specific trunk, where spanish landlines are 349ZX, to avoid to drive calls to spanish national tools which is 349XZ, which I have to map to other rate card.
So in dialprefix, using the asterisk posix syntax, i wrote
Quote:
DIALPREFIX =349[1-9]
But in simulator it's not working.
when I change it using '_' to raise priority as:
Quote:
_349[1-9]XXXXXXX
It's also not giving any answer, don't work
Can anybody explain me, please, or give me an example who can I solve this scenario which is as i said:
Spanish landlines 349Z. and national tools 349X. So I need to setup the dialprefix to send to different rate cards. No priority need, in reality, because there syntax are different, so asterisk will not confuse to set priorities.
Thanks in advance,