|
|
Dia
Premium Account
Registration Date: 03.03.2006
Posts: 1443
|
|
The difference between the N, Z, X among other symbols is illustrated on the following snippet:
X matches any digit from 0-9
Z matches any digit form 1-9
N matches any digit from 2-9
+ adds a dialing prefix from the number (for example, 1613+NXXXXXX would match when some dialed "5551234" and would pass "16135551234" to the trunk)
The meaning of the Dial Patterns in the Outbound Route, is to match the incoming digits from the Extension, with the appropriate route and choose a trunk to complete the call. The Dial Patterns in the Outbound route cannot add anything to the dialed digits, only remove.
The meaning of the Dial Rules in the Trunk configuration, is to prepare the string of dialed digits in an appropriate form, so it can be sent to the trunk which will complete the call.
In your case all fixed lines in Belgium conform to the dial pattern Zxxxxxxx which means the first digit can be any number between 1 and 9 but it cannot be 0. The rest of the 7 digits can be any number between 0 and 9. After this match has been performed the ENUM trunk will be selected and the digits passed to the ENUM trunk, where the following string should be in its' Dial Rules 32+Zxxxxxxx The ENUM trunk requires the number to be in ENUM notation.
If the ENUM lookup fails (i.e.. there is no SIP URI associated with the phone number) the Barablu trunk will be selected from the outbound route, if it is set as the second trunk after the ENUM trunk. The dialed digits will be passed to the Barablu trunk, where the following string should be in its' Dial Rules 0032+Zxxxxxxx
For the above example only one Outbound Route is required with the ENUM trunk in position 0 and the Barablu trunk in position 1, if you want to terminate all the calls to Belgium through Barablu. The Dial Patterns of the route should contain 3 lines. The first line matches all fixed lines, the second all the mobiles, and the third all the pagers.
Zxxxxxxx
4[4789]xxxxxxx
45[23489]xxxxxx
Try the fixed lines first, both through the ENUM trunk and through the Barablu trunk. If calls through both are successful, then add on separate lines in the ENUM trunk's Dial Rules 32+4[4789]xxxxxxx for mobiles and on the Barablu trunk's Dial Rules 0032+4[4789]xxxxxxx for mobiles and 0032+45[23489]xxxxxx for pagers. I doubt if you can reach a pager through an ENUM trunk, but you might reach a mobile with WiFi connectivity.
|
|
13.08.2006 23:58 |
|
|
|
|
|
|
|