Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

sip to sip codec change from g729b to g711u

Hi,

I tried implementing internal transcoding on a Cisco 2431 IAD with no success.  The setup is that from SBC inbound codec must be set to g729br8 first and then to PBX outbound codec must leave IAD at g711ulaw.

Can you give any advice as how to achieve this.  See below config

voice class codec 101

codec preference 1 g729br8

codec preference 2 g729r8

codec preference 9 g711ulaw

codec preference 10 g711alaw

sccp local FastEthernet0/0

sccp ccm <x.x.x.x> identifier 1 version 4.0

sccp

!

sccp ccm group 1

associate ccm 1 priority 1

associate profile 1 register UBEXCODE

keepalive retries 1

keepalive timeout 10

switchover method immediate

switchback method immediate

!

dspfarm profile 1 transcode universal

codec g711ulaw

codec g711alaw

codec g729ar8

codec g729abr8

codec gsmfr

codec g729r8

codec g729br8

maximum sessions 10

associate application SCCP

dial-peer voice 101 voip

voice-class codec 101

incoming called-number 12345

!

dial-peer voice 400 voip

description toPBX

destination-pattern 12345

session protocol sipv2

session target ipv4:192.168.1.2

codec g711ulaw

dtmf-relay sip-notify rtp-nte

!

telephony-service

max-ephones 1

max-dn 1

ip source-address x.x.x.x port 2000

sdspfarm units 1

sdspfarm transcode sessions 10

sdspfarm tag 1 UBEXCODE

Everyone's tags (3)
5 REPLIES
VIP Super Bronze

sip to sip codec change from g729b to g711u

Ricardo,

So what are you h aving problems with. ?? The call is not working or the xcoding is not happening..

Can you do a test call and send the ff:

debug voip ccaip messages

debug voip ccapi inout

sh sccp connection

sh call active voice brief

Please rate all useful posts "The essence of christianity is not the enthronement but the obliteration of self --William Barclay"
New Member

sip to sip codec change from g729b to g711u

The call comes in and goes dead soon after.  I get a slow reorder like tone.

When call comes in I do sh sdspfarm sessions active but their is no activity.  The sccp connection is active and up.

Unfortunately the device was rolled back to an old config and pointed to an asterisk box in the interest of the customer as such I cannot run the debugs you ask for.

So yes transcoding isnt working.

When inbound call comes in and I ran 'sh call active voice com' I see incoming leg at g729br8 and outgoing at g711ulaw then I repeat the command and see both incoming leg and outgoing leg change to g711ulaw just before the call fails.

Sad thing is that I have no visibility into the PBX.  All I know is that it accepts only g711ulaw in and outbound.

VIP Super Bronze

Re: sip to sip codec change from g729b to g711u

You said the call changed to g711ulaw, so that suggests the g729 part of the call was xcoded to g711u. Otherwise you would see the call remaining as g729/g711.. The only strange this is that you said you dont see an active session on the xcoder.

Ideally this is what will happen. The side of the call that needs xcoder will do g711 to the xcoder and the othersie will use whatever codec is set either on dail-peer or region..

     

Eg,

536955078  537018410    xcode sendrecv g729    20998 20418 110.115.90.54

536955078  537018407    xcode sendrecv g711u   30948 27456 110.195.60.10

The leg that has G711u to the xocder is the one that invoked the xcoder.

Please rate all useful posts "The essence of christianity is not the enthronement but the obliteration of self --William Barclay"
VIP Super Bronze

Re: sip to sip codec change from g729b to g711u

      For future purposes here is the link to use for CUBE xcode. Its really good. It also helps with troubleshooting

http://www.cisco.com/en/US/products/sw/voicesw/ps5640/products_configuration_example09186a008092d6b3.shtml

Please rate all useful posts "The essence of christianity is not the enthronement but the obliteration of self --William Barclay"
New Member

Re: sip to sip codec change from g729b to g711u

Thanks for the advice.  I will look out for what you said in my next attempt.

1318
Views
0
Helpful
5
Replies
CreatePlease login to create content