As has already been stated G711 should have preference over G729. This
is because all of the ingress calls (PSTN to VoIP) on the BR1 GW will be
going to phones at the BR1 site. So you want it to be G711. The only
time an inbound call would switch down to 729 is when a call rolls over
to VM (Assuming Unity is in the same region as HQ).
You may also need to consider egress calls from HQ via the BR1 GW. TEHO
and GW failover come to mind. You might want to use the same (711 over
729) voice class on the matching inbound dial peer for those calls as well.
Chris
ccie Me wrote:
hi
usually we r requested to use g729 between sites and g711 within
sites, my question is about tis command:
voice class codec 1
codec preference 1 g729r8
codec preference 2 g711ulaw
when we have h323 gateway on BR1, can we use this command on BR1 h323
gateway for both dial peers pointing to CCM:
dial-peer voice 3000 voip
destination-pattern 2...
session target ipv4:SUB
voice-class h323 1
voice-class codec 1
dtmf-relay h245-alphan
no vad
dial-peer voice 3001 voip
destination-pattern 2....
session target ipv4:PUB
voice-class h323 1
voice-class codec 1
dtmf-relay h245-alphan
preference 2
no vad
note: 2... is BR1 site extensions
using voice class codec here, does it violate the task of g729 only
between sites?