cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1702
Views
0
Helpful
3
Replies

IVR TCL Application Media Play Issue!?

Mohamed Abdulla
Level 1
Level 1

Hi,

I am having 2921 (15.1(2)T) with CME (8.1) equipped with NME-CUE (8.0.1). I wanted callers to enter PIN before they have access to International destinations. After a search I have found a TCL script (FAC noted as unsupported), with basically two files: "acctfixedpin.tcl" and "enter_pin.au". I have followed the instructions to put this script into operation. After that, I have tried to place an international call, but I never hear the media file "enter_pin.au". However, after dialing the number, blindly I enter the configured PIN followed by a hash, and it connects me to the International destination. So, it looks like the script is working, but there is an issue with playing the media file. I have checked the flash and the two files are there. I was wondering what could cause this?

Can lack of DSP resources cause this? (The VoIP DP configured with the service is configured for g711ulaw, so are all my IP phones).

I have a single PVDM3-32 on the router motherboard. I will post below related config. In case dsp resources can be the issue of not playing the media file, what is recommended to free dsp resources for this purpose?

!

aaa new-model

aaa authentication login h323 local
aaa authorization exec h323 local
aaa authorization network h323 local

aaa session-id common

!

voice-card 0
codec complexity medium
dspfarm
dsp services dspfarm
!

service pinenter flash:/acctfixedpin.tcl
  param uid-len 5
  param pin-len 6
!

!

username 12345 password 0 123456

!

interface Loopback1
ip address 10.2.3.1 255.255.255.0

!

tftp-server flash:/acctfixedpin.tcl alias acctfixedpin.tcl
tftp-server flash:/enter_pin.au alias enter_pin.au

!

!
sccp local GigabitEthernet0/0.1
sccp ccm 172.16.22.1 identifier 1 version 7.0
sccp
!
sccp ccm group 1
bind interface GigabitEthernet0/0.1
associate ccm 1 priority 1
associate profile 1 register MTP1cdf0fb31xxx
keepalive retries 5
!
dspfarm profile 1 transcode 
codec g711ulaw
codec g711alaw
codec g729ar8
codec g729abr8
codec g722-64
maximum sessions 15
associate application SCCP
!

dial-peer voice 5 pots
corlist outgoing international-call
destination-pattern 900T
port 0/1/3
prefix 00
!

dial-peer voice 15 voip
description International-Call
service pinenter
destination-pattern 900.T
session target ipv4:10.2.3.1
incoming called-number 900.T
dtmf-relay h245-alphanumeric
codec g711ulaw
no vad
!

telephony-service
sdspfarm units 1
sdspfarm transcode sessions 16
sdspfarm tag 1 MTP1cdf0fb31xxx

ip source-address 172.16.22.1 port 2000

max-conferences 2 gain -6
moh music-on-hold.au

transfer-system full-consult
transfer-pattern 1...
transfer-pattern 2...
transfer-pattern 3...
transfer-pattern 4...
transfer-pattern 5...
transfer-pattern 6...
transfer-pattern 7...
transfer-pattern 8...

!

ephone-dn  3  dual-line
number 1102
name SK
allow watch
corlist incoming default-user

!

ephone  3
description SK
mac-address 3037.A616.Exxx
type 7945
button  1:3
!

dial-peer cor custom
name international
name local
!

dial-peer cor list international-call
member international
!

dial-peer cor list default-user
member local
!

Message was edited by: Mohamed Abdulla

3 Replies 3

Mohamed Abdulla
Level 1
Level 1

I think I have found the issue: It is the referenced Media File name in the script: flash:enter_account.au, while the file I uploaded to the router is enter_pin.au (that was the only audio file zipped with the code when I download it from the following thread: https://cisco-support.hosted.jivesoftware.com/thread/280758?tstart=0 ). I will rename the file on the flash: to "enter_account.au" and check if it will work. If it will work, I will give myself 5-stars rate!

Al Hamdo li Allah, it worked!!

I feel I must learn more about the debug commands surrounding the Cisco IP Telephony operations, as well as understanding of IOS TCL scripting.

paolo bevilacqua
Hall of Fame
Hall of Fame

You can troubleshoot this kind of problems with:

"debug voice application media state" and "terminal monitor".

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: