01-22-2025 09:22 AM
This is the config from an old 2921 that we are currently using as a SIP to PRI bridge for our FaxCore installation.
service tcp-keepalives-in
service tcp-keepalives-out
service timestamps debug datetime msec localtime show-timezone year
service timestamps log datetime msec localtime show-timezone year
service password-encryption
!
hostname PRI-Rtr
!
boot system flash flash0:c2900-universalk9-mz.SPA.157-3.M8.bin
!
! card type command needed for slot/vwic-slot 0/1
card type t1 0 2
!
aaa session-id common
clock timezone CST -6 0
clock summer-time CDT recurring
network-clock-participate wic 2
network-clock-select 1 T1 0/2/0
!
!multilink bundle-name authenticated
!
!
!
!
isdn switch-type primary-ni
!
!
voice-card 0
dsp services dspfarm
!
!
!
voice service voip
ip address trusted list
ipv4 172.x.x.x
ipv4 172.x.x.x 255.255.248.0
fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none
sip
!
!
!
!
voice translation-rule 1
rule 1 /^\(9\)\(.*\)$/ /\2/
!
voice translation-rule 2
rule 1 /^\(0\)/ /2204/
rule 2 /8214/ /2204/
!
!
voice translation-profile OPERATOR
translate called 2
!
voice translation-profile STRIP9
translate called 1
!
!
!
!
application
global
service alternate Default
!
!
vxml logging-tag
no license udi pid CISCO2921/K9 sn FTX1622AKQG
hw-module pvdm 0/0
!
!
controller T1 0/2/0
cablelength long 0db
pri-group timeslots 1-24
description ** PRI **
!
!
class-map match-all VOICE-AUDIO
match ip dscp ef
class-map match-all VOICE-CONTROL
match ip dscp cs3
match ip dscp af31
!
policy-map QOS
class VOICE-AUDIO
priority percent 40
class VOICE-CONTROL
bandwidth percent 5
queue-limit 512 packets
class class-default
fair-queue
random-detect dscp-based
!
!
!
!
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
description Voice/Fax
ip address 10.xx.xx.x 255.255.255.0
no ip redirects
no ip unreachables
no ip proxy-arp
duplex auto
speed auto
!
!
interface GigabitEthernet0/1
description Management
ip address 192.xx.xx.xx
no ip redirects
no ip unreachables
no ip proxy-arp
duplex auto
speed auto
!
interface Serial0/2/0:23
no ip address
encapsulation hdlc
no cdp enable
isdn switch-type primary-ni
isdn incoming-voice voice
!
!
!
!
control-plane
!
!
voice-port 0/2/0:23
!
!
!
!
!
mgcp behavior rsip-range tgcp-only
mgcp behavior comedia-role none
mgcp behavior comedia-check-media-src disable
mgcp behavior comedia-sdp-force disable
!
mgcp profile default
!
!
!
!
dial-peer voice 30 pots
destination-pattern .
no digit-strip
port 0/2/0:23
!
!
sip-ua
no remote-party-id
retry invite 2
!
!
!
gatekeeper
shutdown
!
This config will not apply directly to a 4331 with a T1/PRI card. I did get the hardware to identify and the SPA card boots up, but the voice commands are rejected.
PRI-Rtr(config)#isdn switch-type primary-ni
PRI-Rtr(config)#!
PRI-Rtr(config)#!
PRI-Rtr(config)#voice-card 0
^
% Invalid input detected at '^' marker.
PRI-Rtr(config)# dsp services dspfarm
^
% Invalid input detected at '^' marker.
Does anyone have an example of doing this on a 4300 series router using the NIM-1CE1T1-PRI card
Solved! Go to Solution.
01-22-2025 09:43 AM
Is you ISR4K licensed for Voice services?
Going forward please do not post running configuration or other large text output directly into a post. Instead please add it into a text file that you attach to your post. That makes the post much simpler to read and overlook.
01-22-2025 09:43 AM
Is you ISR4K licensed for Voice services?
Going forward please do not post running configuration or other large text output directly into a post. Instead please add it into a text file that you attach to your post. That makes the post much simpler to read and overlook.
01-24-2025 06:06 AM
You are correct sir, after checking this router only has IP base with no voice services enabled. I am working with my partner to get a license for UC now.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide