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

Configure VOIP GW to use G723 code on terminating end

c.cl
Level 1
Level 1

Hi All,

I'm keep having probelm with my terminating GW as the call coming in is using codec G723r63, maybe i know how to configure the GW AS5300 to negoiate the termination calls codec to G723r63

Regards

2 Replies 2

adesalu
Cisco Employee
Cisco Employee

You will need to ensure that when the incoming call arrives at your AS5300, that it matches an incoming dial-peer that has the G723r63 codec specified. If the incoming call matches the default codec, then the call will fail.

If you have multiple calls arriving at the gateway using a variety of codecs, then you will have to configure a voice class that contains a list of codecs that you will accept, and then apply the voice class to the incoming dial-peer.

The following links will help give you an understanding of Dial-peer matching in the router.

http://www.cisco.com/en/US/tech/tk652/tk90/technologies_tech_note09186a0080147524.shtml

http://www.cisco.com/en/US/tech/tk652/tk90/technologies_tech_note09186a008010ae1c.shtml

The following link talks about the G723 codec differences.

http://www.cisco.com/en/US/tech/tk652/tk701/technologies_tech_note09186a00800b6710.shtml#g723.1

The following link gives an example of configuring the voice class.

http://www.cisco.com/en/US/tech/tk652/tk701/technologies_tech_note09186a00800b6710.shtml#cod_neg

r.ghaedi
Level 1
Level 1

Hi

Try this, it should work.

NOTE: the 4444 is a prefix.

Regards

!

voice class codec 1

codec preference 1 g723ar63 bytes 48

codec preference 2 g723r63 bytes 48

codec preference 3 g729br8 bytes 40

codec preference 4 g729r8 bytes 40

codec preference 5 g723ar53 bytes 40

codec preference 6 g723r53 bytes 40

!

dial-peer voice 44440 voip

max-conn 15

incoming called-number 4444T

voice-class codec 1

dtmf-relay cisco-rtp

fax rate 9600

!

dial-peer voice 44441 pots

max-conn 15

destination-pattern 4444T

progress_ind setup enable 3

direct-inward-dial

port 2:0

!