RE: Voice Translation Rule Challenge

From: Alexander Arsenyev (GU/ETL) (alexander.arsenyev@ericsson.com)
Date: Thu Apr 15 2004 - 17:11:59 GMT-3


Hello Tim,

I've tested similar translation-rule example from Cisco Doc CD
( http://127.0.0.1:8080/cc/td/doc/product/software/ios122/122cgcr/fvvfax_r/vrf_t.htm#xtocid40 )
on my 2600 router (IOS 12.2(15)T11) and it produced results which are perfectly
inline with UNIX regexp rules but contradict DocCD example. See below:
r6#conf t
Enter configuration commands, one per line. End with CNTL/Z.
r6(config)#translation-rule 21
r6(config-translate)#
r6(config-translate)#Rule 1 555.% 1408555 subscriber international
r6(config-translate)#
r6(config-translate)# Rule 2 8.% 1408555 abbreviated international
r6(config-translate)#^Z
r6#test translation-rule 21 45678 abbreviated
The replaced number: 45671408555; numbering type: international
r6#

As You can see the patttern 8 gets replaced with 1408555 which is expected.
The examples from DocCD and CCO below must be wrong.

Regarding Your second question - the numbering type is called "type of number" in
ITU-T spec Q.931 "ISDN user-network interface layer 3 specification for basic call control".
You can possibly get this spec from www.itu.int .
In short, it's a 3-bit field in Q.931 Information Elements/IEs (like "Called Party Number", etc)
and can have following values:
Bits
7 6 5
0 0 0 Unknown
0 0 1 International number
0 1 0 National number
0 1 1 Network specific number
1 0 0 Subscriber number
1 1 0 Abbreviated number
1 1 1 Reserved for extension
All other values are reserved.

ITU-T spec H.225.0 says that Q.931 messages shall be used for "call setup, call control, and communications
between terminals, gateways, gatekeepers, and MCUs".

HTH,
Cheers
Alex

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
Tim Last
Sent: 12 April 2004 20:41
To: Group Study
Subject: Voice Translation Rule Challenge

Hi,
 
For those who are interetsed, the example below can be found in the
command reference at

http://www.cisco.com/en/US/partner/products/sw/iosswrel/ps1835/products_command_reference_chapter09186a0080080cda.html#1141933

The following shows output for the test translation-rule command:
Router# translation-rule 21
 Rule 1 527.% 1408527 subscriber international
 Rule 2 8.% 1408527 abbreviated international

Router# test translation-rule 21 45678 abbreviated
Router#
*Jan 19 16:39:14.578:The replace number 45614085278
Router#
 
*******************
I've looked at the above example for quite a while and don't
understand at all how the 2 rules lead to the result being shown.
 
Apparently, the 2 rules work together rather than
independently, but could someone explain what's going on?
 
Also, what does the "abbreviated" keyword do? And, more generally,
where can I find the meanings of the other possible keywords that can be
added to the end of the rule?
 
Also, can someone confirm that the "21" in the translation
rule is just an arbitrary tag and doesn't have anything to do
with the order in which the rules below it are applied, right?
 
Thanks in advance, Tim

Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam



This archive was generated by hypermail 2.1.4 : Mon May 03 2004 - 19:48:48 GMT-3