Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

Question on codec

Unanswered Question
Mar 29th, 2010
User Badges:


Would like to know the following,

When intially the call has set up, by default from the pabx travel via to the router gateway (by isdn or e&m trunk) is it in codec G.711 ?

Have done a monitor on our router gateway it shows as follow

0/1/1:15.1      g711ulaw   n  S_SETUP_INDICATED     S_TSP_INCALL

Only when the call going into the router gateway after going through the configuration it shows as follow

0/1/1:15.1      g729r8     n  S_ALERTING            S_TSP_INCALL

Is there anyway to configure in such that the set up will be g729 instead in the router gateway setting ?

Thank you
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Volodymyr Morskyy Mon, 03/29/2010 - 11:09
User Badges:
  • Bronze, 100 points or more

It seems like your call have no dial-peer to match and then default dial-peer is matched (it has g729 in its configuration).

alanhow2007 Mon, 03/29/2010 - 19:01
User Badges:

Dial-peer has been set right as follow

voice class codec 1
codec preference 1 g729r8


dial-peer voice 2002 voip
translation-profile outgoing Append8
preference 3
destination-pattern .T
progress_ind setup enable 3
progress_ind progress enable 8
translate-outgoing calling 2
session target ipv4:x.x.x.x
incoming called-number .T
dtmf-relay h245-alphanumeric
voice-class codec 1
fax rate 7200 bytes 48
ip qos dscp af21 signaling
no vad

Aaron Harrison Tue, 03/30/2010 - 01:55
User Badges:
  • Super Bronze, 10000 points or more
  • Community Spotlight Award,

    Member's Choice, May 2015


Presumably the router is assuming G711 prior to the codec negotiation... similar to the way that it works when you run a call through a GK:


Initially it uses G711 bandwidth, and then negotiates whatever the low bit rate codec is.

Is this causing you a problem?



This Discussion