by oren131 » Wed Dec 09, 2015 2:46 am
I got this reply for audiocoses :
"Digit Map* Enables the ISP to predefine possible formats (or patterns) for the dialed
number. A match to one of the defined patterns terminates the dialed
number. An ‘x’ in the pattern indicates any digit. ‘;’ separates between
patterns.
Example: '10x;05xxxxxxxx;4xxx'.
In this example, 3 patterns are defined. A number that starts with 10 is
terminated after the 3rd digit and so on. If the user dials a number that does
not match any pattern, the number is terminated using the timeout or when
the user presses the pound (‘#’) key.
Dial Plan* This parameter works in conjunction with the Digit Map and enables
translation of specific patterns to specific SIP destination addresses. An ‘x’
represents any dialed digit. Each backslash at the right side of the ‘=’
represents one of the dialed digits.
Example: '4xxx=Line_\\\@10.1.2.3'
This rule issues a call to 10.1.2.3 with the SIP ID of Line_ followed by the
last 3 digits of the dialed number."
i want every number that starts with 2-9xxxxxx (starts with 2-9 followed with 6 digits) will automatically prefix 08 will be added.
on digit map i did :
"'2xxxxx;3xxxxxx;4xxxxxx;5xxxxxx;6xxxxxx;7xxxxxx;8xxxxxx;9xxxxxx'"
but on dial plan : i dont understand what rule do i need in order for any 7 digits number that starts with 2-9 will be automatically will add prefix 08 to it.
please please please help
its urgent for one of my customers
thx