cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
563
Views
0
Helpful
2
Replies

CME translation rule and codec

nawir
Level 1
Level 1

I have several questions in my mind

 

1. I have Fixed Wireless Terminal (FWT) that to call mobile, it only understand number that start with 08.
For example 08........T (10-12 digit)
I want to allow user to call using
9 first then 08........T
or
+628........T (+628 will be replaced by 08)
 
To achieve that. Can I do this
voice translation-rule 9628
   rule 1 /^9/ //
   rule 2 /^628/ /08/
voice translation-profile 9628
   translate called 9628
dial-peer voice 11 voip
   description Outgoing SIP Planet
   translation-profile outgoing 9628
   answer-address 801
   destination-pattern [+628,908]........T
   session protocol sipv2
   session target ipv4:10.0.10.87
   dtmf-relay sip-notify
   codec g711ulaw
   no vad
 
2. I want to mimic analog telephone whereby if I press 9, then I'll start hearing tone
Can I acheve that by doing this
voice translation-rule 9
   rule 1 /^9/ //
 
 
3. which codec class order is better
voice class codec 1
codec preference 1 g729r8
codec preference 2 g711ulaw
codec preference 3 g711alaw
or
voice class codec 1
codec preference 1 g711ulaw
codec preference 2 g711alaw
codec preference 3 g729r8
 
4. should I choose voice class code or just codec g711ulaw
voice class codec 1
codec preference 1 g729r8
codec preference 2 g711ulaw
codec preference 3 g711alaw
or
codec g711ulaw
 
thanks
1 Accepted Solution

Accepted Solutions

Vivek Batra
VIP Alumni
VIP Alumni

1. I don't see any issue with the configuration. Apply this configuration and let us know if you face any issue.

2. I didn't get your requirement. Can you elaborate bit more?

3. Preference under voice class codec depends on bandwidth availability. If you don't have bandwidth restriction, you would like to have G711ulaw as first priority.

4. If you are sure remote destination supports G711ulaw, there is no harm in putting only one codec under dial-peer. If you are not sure, you would like to offer multiple codecs to remote destination during call setup.

View solution in original post

2 Replies 2

Vivek Batra
VIP Alumni
VIP Alumni

1. I don't see any issue with the configuration. Apply this configuration and let us know if you face any issue.

2. I didn't get your requirement. Can you elaborate bit more?

3. Preference under voice class codec depends on bandwidth availability. If you don't have bandwidth restriction, you would like to have G711ulaw as first priority.

4. If you are sure remote destination supports G711ulaw, there is no harm in putting only one codec under dial-peer. If you are not sure, you would like to offer multiple codecs to remote destination during call setup.

Under test

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: