Posted by: Yus | September 9, 2008

COR Lists

Creating COR lists

 

1) Dial-peer cor custom

Name 911

Name 0800

Name Local-calls

 

2) Dial-peer cor list HR

            Member 911

            Member Local-calls

            Member 0800

 

3) Dial-peer voice 1 voip

            Corlist outgoing 911

 

    Dial-peer voice 1 voip

            Corlist outgoing Local-calls

 

    Dial-peer voice 1 voip

            Corlist outgoing 0800

 

4) Ephone-dn 1

            Cor incoming HR

 

Posted by: Yus | September 8, 2008

Voice Translation Rules… The Rules

Voice Translation Rules… The Rules

 

#1 Replace

Rule 1 /123/ /456/               ->            123                         =              456

 

#2 replace any start occurance

Rule 1 /^123/ /456/             ->            123456  =              456 456

                                                                123                         =              456

 

#3 Match Exact Number

Rule 1 /^123$/ /456/           ->            123                         =              456

                                                                1234                       =              No Match

 

#4 Any 5 digits beginning with XX

Rule 1 /^12…/ /0121/         12           =              0121

 

#5 Replace All numbers

Rule 1 /.*/ /0121/                                                *              =              0121

 

#6 replace all except null

Rule 1 /.+/ /0121/                                                123         =              0121

 

#7 replace start number that begins with 0 (and combinations e.g.00)

Rule 1 /^0+/ /909/                               0123                       =              909123

                                                                00123                    =              090123

                                                                123                         =              No Match

 

\               =              Slice

\               =              in replacement indicates what to keep

( )            =              Indicates what to keep

(a\)          =              Keep ‘a’

b\            =              ignore ‘b’

\l              =              copy first into replacement number

 

e.g.         
                /               (x\)          y\            (z\)          /               /               w\1\2      /

rule 1 /^\ (12\) 3\ (45\) $ /      /4\1\2/               ->            12345    =              41245

Rule 1 /^2\ (…$) /    / 01211234 \ 1  /              ->            2001       =              01211234001

 

Reject Calls
Rule 1 reject /^1234/

 

Apply Rules

                Voice Translation-rule 1

                                                Rule 1 /123/ /456/

                Voice Translation-profile CALLING_PROFILE

                                                Translate calling 1

                Dial-peer voice 1 pots

                                                Translation-profile outgoing              CALLING_PROFILE

More Examples

                Rule 1 /^.*/ (..\)    /1\/                                                          = 12345 = 45

                Rule 2 /^\ (01…\) \-\ (…….?$)/     /1\2\3/                       = 01208-333444   =  01208333444

                Rule 3 /^\ (0[12]..\) \-\ (…\) \-\ (….$\)/   /1\2\3/             = 0208-123-4567  =  02081234567

Posted by: Yus | September 8, 2008

Block Numbers with Voice Translation

voice translation-rule 1
 rule 1 reject /997890/
 rule 2 reject /0121*/
!
!
voice translation-profile BLOCK_OUT
 translate calling 1
!
!
!
!
dial-peer voice 2 voip
 call-block translation-profile incoming BLOCK_OUT
!
!

Posted by: Yus | September 4, 2008

Video Advantage

Step 1: Enable Video under Telephony Service
!
telephony-serv
service phone videoCapability 1
!
! Step 2: Generating Config files
create cnf-files
!CNF file creation is already On
!updating CNF files
!CNF files update complete
!
!Step 3: Video Config max bandwidth (Optional)
video
maximum bit-rate 256
!
!
!Step 4:Enable Video Under the Individual IP Phones
ephone  1
video
Restart

Posted by: Yus | September 4, 2008

Masking Incomming calls

!
voice translation-rule 1
 rule 1 /^\(.*\)/ /0\1/ type subscriber subscriber
 rule 2 /^\(.*\)/ /0\1/ type national national
 rule 3 /^\(.*\)/ /00\1/ type international international
!
—/OR – Prefix 9/—

 rule 1 /^\(.*\)/ /9\1/ type subscriber subscriber
 rule 2 /^\(.*\)/ /90\1/ type national national
 rule 3 /^\(.*\)/ /900\1/ type international international
voice translation-rule 3
 rule 3 /4../ /Outgoingnumber/
!
!
!
voice translation-profile BT-ISDN2e-IN
 translate calling 1
!
voice-port 0/0/1
 translation-profile incoming BT-ISDN2e-IN
!
!

Posted by: Yus | September 4, 2008

Outgoing calls Masking

voice translation-rule 3
 rule 3 /Extension#/ /Outgoingnumber#/
!
!
!
voice translation-profile BT-ISDN2e-OUT
 translate calling 3
!
!
!
voice-port 0/0/1
 translation-profile outgoing BT-ISDN2e-OUT
!

Categories