07-18-2014 04:09 AM - edited 03-16-2019 11:27 PM
Hi All,
I am using a cisco 2900 series router for SIP trunk. I configured a TCL script for IVR but when incoming received from outside no prompts play just silence when i give any extension like 299 it transfer the calls to extension but i can't why it is not playing welcome prompts. Below is my config kindly help me:
Router#dir flash:
Directory of flash0:/
1 -rw- 99077424 Nov 26 2013 13:16:26 +00:00 c2900-universalk9-mz.SPA.152-4.M4.bin
2 -rw- 3064 Nov 26 2013 13:26:08 +00:00 cpconfig-29xx.cfg
3 -rw- 19 Jul 9 2014 07:02:46 +00:00 CP3905.9-4-1-0.loads
4 drw- 0 Nov 26 2013 13:26:34 +00:00 ccpexp
240 -rw- 2464 Nov 26 2013 13:28:18 +00:00 home.shtml
241 -rw- 2820567 Jul 9 2014 07:03:20 +00:00 APP3905.9-4-1-0.zz
242 drw- 0 Jul 9 2014 07:06:42 +00:00 its
247 -rw- 660 Jul 16 2014 08:21:00 +00:00 vlan.dat
249 -rw- 42484 Jul 18 2014 09:09:42 +00:00 en_dest_busy.au
250 -rw- 26376 Jul 18 2014 09:09:42 +00:00 en_dest_unreachable.au
248 -rw- 14352 Jul 18 2014 09:09:42 +00:00 en_disconnect.au
244 -rw- 27192 Jul 18 2014 09:09:42 +00:00 en_enter_dest.au
243 -rw- 17159 Jul 18 2014 09:09:44 +00:00 en_reenter_dest.au
246 -rw- 14862 Jul 18 2014 09:09:44 +00:00 en_welcome.au
245 -rw- 8293 Jul 18 2014 09:09:44 +00:00 its-CISCO.2.0.3.0.tcl
256487424 bytes total (152227840 bytes free)
Sh run:
voice service voip
ip address trusted list
ipv4 0.0.0.0 0.0.0.0
allow-connections sip to sip
no supplementary-service sip moved-temporarily
no supplementary-service sip refer
no supplementary-service sip handle-replaces
redirect ip2ip
fax protocol pass-through g711alaw
sip
!
voice class codec 1
codec preference 1 g711alaw
codec preference 2 g729r8
!
!
!
!
voice translation-rule 1
rule 1 /.+/ /199/
!
voice translation-rule 2
rule 1 /^/ /9/
!
!
voice translation-profile inc
translate called 1
!
voice translation-profile out
translate called 2
!
!
!
!
application
service cmeaa flash:its-CISCO.2.0.3.0.tcl
param aa-pilot 199
paramspace english language en
paramspace english index 1
param operator 0
paramspace english location flash:
paramspace english prefix en
dial-peer voice 2 voip
service cmeaa
destination-pattern 199
session protocol sipv2
session target ipv4:192.168.2.254
incoming called-number 199
dtmf-relay rtp-nte
codec g711alaw
dial-peer voice 9 voip
description **** INCOMING ****
translation-profile incoming inc
session protocol sipv2
session target sip-server
incoming called-number xxxxxxxxxxx
dtmf-relay rtp-nte
codec g711alaw
07-18-2014 05:39 AM
And one more thing after activating debug i get following error:
Jul 18 12:27:00.698: //2269//PACK:/Media_Play_Start:
*Jul 18 12:27:00.698: //2269//TCL :/tcl_FSMObjCmd: fsm setstate GETDEST
*Jul 18 12:27:00.698: //2269//TCL :/tcl_FSMSetStateObjCmd: setstate setstate GETDEST
*Jul 18 12:27:00.698: //2269//MSM :/ms_asDone_buginf: Stream Association Failed: Requested codec=0x5=g711ulaw, Negotiated codec=0x6=g711alaw
*Jul 18 12:27:00.698: //2269//AFW_:/AFW_FSM_Drive: FSM no match for (GETDEST[3],ev_media_done[185])
Regard,
Haseeb Ahmad
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