cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2097
Views
15
Helpful
10
Replies

SIP Trunk Transcoding help

SHANE FREESE
Level 1
Level 1

I really just need pointed to the right documentation.  I've searched and I can't find it even though I know I've done this before.

Setup:

SIP Trunk --> 2821 --> PBX

The PBX is not a call manager.  We are using the 2821 basically as a SBC.  So SIP to SIP and everything works fine.  However some calls from the SIP provider come in as 729 instead of 711.  The PBX is not licensed for 729.  So I would like to configure transcoding on the 2821 to transcode those calls.  I have DSPs installed but I cannot find the documentation on how to configure the transcoding without a call manager on the other side.

Can someone point me in the right direction?

Thanks

1 Accepted Solution

Accepted Solutions

Ayodeji Okanlawon
VIP Alumni
VIP Alumni

CUBE based transcoder is similar to CME transcoder config. Attached is the Config guide..

Please rate all useful posts

"'Nature is too thin a screen, the glory of the omnipresent God bursts through it everywhere"-Ralph Waldo Emerson

Please rate all useful posts

View solution in original post

10 Replies 10

Ayodeji Okanlawon
VIP Alumni
VIP Alumni

CUBE based transcoder is similar to CME transcoder config. Attached is the Config guide..

Please rate all useful posts

"'Nature is too thin a screen, the glory of the omnipresent God bursts through it everywhere"-Ralph Waldo Emerson

Please rate all useful posts

Thank you, I have followed the document exactly but the transcoder will not register.  Can anyone shed any light on something that I missed before I have to open a case with TAC?

Cisco IOS Software, 2800 Software (C2800NM-IPVOICEK9-M), Version 15.1(4)M2, RELEASE SOFTWARE (fc1)

version 15.1

service timestamps debug datetime localtime

service timestamps log datetime localtime

service password-encryption

!

!

boot-start-marker

boot system flash flash:c2800nm-ipvoicek9-mz.151-4.M2.bin

boot-end-marker

!

!

logging buffered 5000

!

no aaa new-model

clock timezone EST -5 0

clock summer-time EDT recurring

!

dot11 syslog

ip source-route

!

!

ip cef

!

!

!

no ipv6 cef

multilink bundle-name authenticated

!

!

!

!

!

!

voice call send-alert

voice rtp send-recv

!

voice service voip

ip address trusted list

allow-connections h323 to h323

allow-connections h323 to sip

allow-connections sip to h323

allow-connections sip to sip

fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711ulaw

h323

sip

!

voice class codec 1

codec preference 1 g711ulaw

codec preference 2 g729r8

codec preference 3 g729br8

!

!

!

!

voice translation-rule 1

rule 1 /^89\(.*\)/ /\1/

!

!

voice translation-profile PSTN_Outgoing

translate called 1

!

!

voice-card 0

dsp services dspfarm

!

crypto pki token default removal timeout 0

!

!

!

!

!

!

!

!

!

!

!

interface GigabitEthernet0/0

ip address 10.1.4.9 255.255.252.0

duplex auto

speed auto

!

interface GigabitEthernet0/1

no ip address

shutdown

duplex auto

speed auto

!

interface Serial0/0/0

no ip address

shutdown

!

interface Serial0/1/0

no ip address

shutdown

!

interface Serial0/2/0

no ip address

shutdown

!

ip forward-protocol nd

!

no ip http server

no ip http secure-server

!

ip route 0.0.0.0 0.0.0.0 10.1.7.254

!

!

!

!

control-plane

!

call fallback active

!

!

!

mgcp profile default

!

sccp local GigabitEthernet0/0

sccp ccm 10.1.4.9 identifier 1 version 4.0

sccp

!

sccp ccm group 1

associate ccm 1 priority 1

associate profile 1 register XCODE123456

keepalive retries 1

keepalive timeout 10

switchover method immediate

switchback method immediate

!

dspfarm profile 1 transcode 

codec g729br8

codec g729r8

codec g711ulaw

codec g711alaw

codec g729ar8

codec g729abr8

maximum sessions 10

associate application SCCP

!

dial-peer voice 100 voip

translation-profile outgoing PSTN_Outgoing

preference 1

destination-pattern 89.%

session protocol sipv2

session target ipv4:12.X.X.X:5060

session transport udp

voice-class codec 1 

voice-class sip options-keepalive down-interval 20 retry 2

dtmf-relay rtp-nte

ip qos dscp cs3 signaling

no vad

!

dial-peer voice 101 voip

translation-profile outgoing PSTN_Outgoing

preference 2

destination-pattern 89.%

session protocol sipv2

session target ipv4:12.X.X.X:5060

session transport udp

voice-class codec 1 

voice-class sip options-keepalive down-interval 20 retry 2

dtmf-relay rtp-nte

ip qos dscp cs3 signaling

no vad

!

dial-peer voice 200 voip

preference 1

destination-pattern .......$

monitor probe icmp-ping 10.1.4.5

session protocol sipv2

session target ipv4:10.1.4.5:5060

session transport tcp

voice-class codec 1 

dtmf-relay rtp-nte

ip qos dscp cs3 signaling

no vad

!

dial-peer voice 201 voip

huntstop

preference 2

destination-pattern .......$

monitor probe icmp-ping 10.1.4.7

session protocol sipv2

session target ipv4:10.1.4.7:5060

session transport tcp

voice-class codec 1 

dtmf-relay rtp-nte

ip qos dscp cs3 signaling

no vad

!

dial-peer voice 400 voip

description **Incoming Call from SIP Trunk**

session protocol sipv2

incoming called-number .%

voice-class codec 1 

dtmf-relay rtp-nte

no vad

!

dial-peer voice 202 voip

preference 1

destination-pattern 00000.%

monitor probe icmp-ping 10.1.4.5

session protocol sipv2

session target ipv4:10.1.4.5:5060

session transport tcp

voice-class codec 1 

dtmf-relay rtp-nte

ip qos dscp cs3 signaling

no vad

!

dial-peer voice 203 voip

huntstop

preference 2

destination-pattern 00000.%

monitor probe icmp-ping 10.1.4.7

session protocol sipv2

session target ipv4:10.1.4.7:5060

session transport tcp

voice-class codec 1 

dtmf-relay rtp-nte

ip qos dscp cs3 signaling

no vad

!

!

sip-ua

retry invite 2

timers connect 100

!

!

telephony-service

sdspfarm units 1

sdspfarm transcode sessions 10

sdspfarm tag 1 XCODE123456

max-ephones 1

max-dn 1

ip source-address 10.1.4.9 port 2000

max-conferences 8 gain -6

transfer-system full-consult

!

!

!

line con 0

login local

line aux 0

line vty 0 4

login local

transport input all

router#sh sdspfarm units

mtp-1 Device:XCODE123456 TCP socket:[-1]  UNREGISTERED

actual_stream:0 max_stream 0 IP:0.0.0.0* 0  Unknown 0 keepalive 0 

max-mtps:1, max-streams:20, alloc-streams:0, act-streams:0

router#sho telephony-service

CONFIG (Version=8.6)

=====================

Version 8.6

Max phoneload sccp version 17

Max dspfarm sccp version 18

Cisco Unified Communications Manager Express

For on-line documentation please see:

http://www.cisco.com/en/US/products/sw/voicesw/ps4625/tsd_products_support_series_home.html

protocol mode default

ip source-address 10.1.4.9 port 2000

ip qos dscp:

ef (the MS 6 bits, 46, in ToS, 0xB8) for media

cs3 (the MS 6 bits, 24, in ToS, 0x60) for signal

af41 (the MS 6 bits, 34, in ToS, 0x88) for video

default (the MS 6 bits, 0, in ToS, 0x0) for serviceservice directed-pickup

max-ephones 1

max-dn 1

max-conferences 8 gain -6

dspfarm units 1

dspfarm transcode sessions 10

dspfarm 1 XCODE123456

conference software

privacy

no privacy-on-hold

hunt-group report delay 1 hours

hunt-group logout DND

max-redirect 10

cnf-file location: system:

cnf-file option: PER-PHONE-TYPE

network-locale[0] US   (This is the default network locale for this box)

network-locale[1] US

network-locale[2] US

network-locale[3] US

network-locale[4] US

user-locale[0] US    (This is the default user locale for this box)

user-locale[1] US

user-locale[2] US

user-locale[3] US

user-locale[4] US

srst mode auto-provision is OFF

srst ephone template is 0

srst dn template is 0

srst dn line-mode single

time-format 12

date-format mm-dd-yy

timezone 0 Greenwich Standard Time

no transfer-pattern is configured, transfer is restricted to local SCCP phones only.

keepalive 30 auxiliary 30

timeout interdigit 10

timeout busy 10

timeout ringing 180

timeout transfer-recall 0

timeout ringin-callerid 8

timeout night-service-bell 12

caller-id name-only: enable

web admin system name Admin

web admin customer name Customer

edit DN through Web:  disabled.

edit TIME through web:  disabled.

background save interval 10 minutes

Log (table parameters):

     max-size: 150

     retain-timer: 15

transfer-system full-consult

transfer-digit-collect new-call

local directory service: enabled.

Extension-assigner tag-type ephone-tag.

router#sh sdspfarm sessions active

router#

router#

router#

router#sh sccp

SCCP Admin State: UP

Gateway Local Interface: GigabitEthernet0/0

        IPv4 Address: 10.1.4.9

        Port Number: 2000

IP Precedence: 5

User Masked Codec list: None

Call Manager: 10.1.4.9, Port Number: 2000

Priority: N/A, Version: 4.0, Identifier: 1

Trustpoint: N/A

Transcoding Oper State: ACTIVE_IN_PROGRESS - Cause Code: TCP_CONN_ERROR

Active Call Manager: NONE

TCP Link Status: NOT_CONNECTED, Profile Identifier: 1

Reported Max Streams: 20, Reported Max OOS Streams: 0

Supported Codec: g729br8, Maximum Packetization Period: 60

Supported Codec: g729r8, Maximum Packetization Period: 60

Supported Codec: g711ulaw, Maximum Packetization Period: 30

Supported Codec: g711alaw, Maximum Packetization Period: 30

Supported Codec: g729ar8, Maximum Packetization Period: 60

Supported Codec: g729abr8, Maximum Packetization Period: 60

Supported Codec: rfc2833 dtmf, Maximum Packetization Period: 30

Supported Codec: rfc2833 pass-thru, Maximum Packetization Period: 30

Supported Codec: inband-dtmf to rfc2833 conversion, Maximum Packetization Period: 30

router#sh dspfarm all

Dspfarm Profile Configuration

Profile ID = 1, Service = TRANSCODING, Resource ID = 1 

Profile Description : 

Profile Service Mode : Non Secure

Profile Admin State : UP

Profile Operation State : RESOURCE ALLOCATED

Application : SCCP   Status : ASSOCIATION IN PROGRESS

Resource Provider : FLEX_DSPRM   Status : UP

Number of Resource Configured : 10

Number of Resource Available : 10

Codec Configuration: num_of_codecs:6

Codec : g729br8, Maximum Packetization Period : 60

Codec : g729r8, Maximum Packetization Period : 60

Codec : g711ulaw, Maximum Packetization Period : 30

Codec : g711alaw, Maximum Packetization Period : 30

Codec : g729ar8, Maximum Packetization Period : 60

Codec : g729abr8, Maximum Packetization Period : 60

SLOT DSP VERSION  STATUS CHNL USE   TYPE    RSC_ID BRIDGE_ID PKTS_TXED PKTS_RXED

0    1   28.3.2   UP     N/A  FREE  xcode   1      -         -         -       

0    1   28.3.2   UP     N/A  FREE  xcode   1      -         -         -       

0    1   28.3.2   UP     N/A  FREE  xcode   1      -         -         -       

0    1   28.3.2   UP     N/A  FREE  xcode   1      -         -         -       

0    1   28.3.2   UP     N/A  FREE  xcode   1      -         -         -       

0    1   28.3.2   UP     N/A  FREE  xcode   1      -         -         -       

0    2   28.3.2   UP     N/A  FREE  xcode   1      -         -         -       

0    2   28.3.2   UP     N/A  FREE  xcode   1      -         -         -       

0    2   28.3.2   UP     N/A  FREE  xcode   1      -         -         -       

0    2   28.3.2   UP     N/A  FREE  xcode   1      -         -         -       

Total number of DSPFARM DSP channel(s) 10

Hi

Change your the version for cme

sccp local GigabitEthernet0/0

sccp ccm 10.1.4.9 identifier 1 version 4.0

put the latest that you can find in the config

Then no sccp , sccp

Regards

chrysostomos

Please rate all useful posts Regards Chrysostomos ""The Most Successful People Are Those Who Are Good At Plan B""

Your configuration is wrong....

Please remove

dspfarm profile 1 transcode 

codec g729br8

codec g729r8

codec g711ulaw

codec g711alaw

codec g729ar8

codec g729abr8

maximum sessions 10

associate application SCCP

what you need is this

telephony-service

sdspfarm units 1

sdspfarm transcode sessions 10

sdspfarm tag 1 XCODE123456

max-ephones 1

max-dn 1

ip source-address 10.1.4.9 port 2000

and the sccp config.

Please remove the dspfarm profile config..

shut down sccp and start sccp again

Please rate all useful posts

"'Nature is too thin a screen, the glory of the omnipresent God bursts through it everywhere"-Ralph Waldo Emerson

Please rate all useful posts

Actually I just shutdown telephone-service and brought it back up then the transcoder registered properly.  I will let you know if it actually works once we get some test calls placed.

It works perfectly.  Thanks for the help.

Hi aok

The above config that you mentioned is correct

Please rate all useful posts Regards Chrysostomos ""The Most Successful People Are Those Who Are Good At Plan B""

Hi Freeses

Glad to hear that

one mention about trancoding

I believe that in order the trancoding to work properly then you have to remove the voice class from the specific dial peers

Otherwise the transode will not be involved

with show sccp connections you will verify if the trancoding work properly or not

Regards

cc

Please rate all useful posts Regards Chrysostomos ""The Most Successful People Are Those Who Are Good At Plan B""

Chrys,

No it is not needed for internal based Transcoder on CUBE. This is similar to xcoding on CCME.

The command is used for external based transcoding where DSP is controlled by a call agent such as CUCM.

In this case, DSP resources are local to the CUBE and do not register with any external device...

Please rate all useful posts

"'Nature is too thin a screen, the glory of the omnipresent God bursts through it everywhere"-Ralph Waldo Emerson

Please rate all useful posts

Yes I did not change anything and it works properly now from what I can tell.  Since we have only come across 4 numbers where the codec mismatches it doesn't pop up very often so it is hard to catch using a sh sccp connections.  I am going to leave the codec list in place since at this time it doesn't seem to be causing any issues.