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. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

IVR audio prompt doesn't play

Hi all,

there is a problem with IVR audio prompt. I am a novice in IVR and it seams I missed something in configuration but I can not understand what exactly and there is a little help from documentation.

So, the platform is AS5300. I downloaded a simple TCL-script from Cisco which should give me an audio prompt when dialing a definite number. I loaded a tcl-script and audio file into the flash

6 -rw- 26016 Jun 19 2003 11:33:18 welcome.au

10 -rw- 2767 Jun 20 2003 05:32:23 ring.tcl

configured AS5300

call application voice ring flash:ring.tcl

call application voice ring language 1 aa

call application voice ring set-location aa 1 flash:welcome.au

dial-peer voice 555 pots

numbering-type unknown

huntstop

application ring

incoming called-number 2343462

direct-inward-dial

port 1:D

loaded audio file into RAM

AS5300_GW#audio-prompt load flash:welcome.au

Media Content: welcome.au

URL: flash:welcome.au

fd=-1, sampleRate=8000, bitsPerSample=8, coding=5, dataLength=25992,

numReaders=0, writePtr=0, bufSize=25992, refCount=0

loaded the script

AS5300_GW#call application voice load ring

Read script succeeded. size=2767, url=flash:ring.tcl

Deleting TCL IVR App: ring with url

flash:ring.tcl

BUT DO NOT HEAR THE WELCOME PROMPT, instead I see the following debug message

Jun 20 10:41:10: Playing prompt welcome.au

Jun 20 10:41:10: Prompt interrupt disabled

Jun 20 10:41:10: Return on play complete

Here is an exerpt from the script

if {[did]} {

set destination [dnis]

callProceeding

progress 8

set prompt(url) flash:welcome.au

set prompt(playComplete) true

set event [promptAndCollect prompt info]

playTone Ring

set state place_call

} else {

set state end

}

Do you see what I made wrong? What is missed?

I really appreciate your help,

Mike

4 REPLIES
Silver

Re: IVR audio prompt doesn't play

The set location command in your configuration is incorrect. You have specified a particular audio file in the set location, whereas that should only point to a base directory for the prompts.

In this case it looks like the application, automatically selects flash for getting the prompts, so that might not be the issue.

Please collect debug voip ivr all

and if you see nothing when you make a call then please post debug voip ccapi inout.

The call coming in from the ISDN switch, should match the inbound dial peer which you have the application configured under, and it should get invoked.

Hope that helps.

New Member

Re: IVR audio prompt doesn't play

Unfortunately this isn't solved the problem,

I changed

call application voice ring set-location aa 1 flash:welcome.au

on

call application voice ring set-location aa 1 flash:

but result is the same

the incoming call matches the inbound dial-peer 555 pots

here is an output for "debug voip ivr all":

Jun 21 09:41:31: ISDN Se1:15: RX <- SETUP pd = 8 callref = 0x0461

Jun 21 09:41:31: Sending Complete

Jun 21 09:41:31: Bearer Capability i = 0x8090A3

Jun 21 09:41:31: Channel ID i = 0xA9838D

Jun 21 09:41:31: Called Party Number i = 0x80, '2343462', Plan:Unknown, Type:Unknown

Jun 21 09:41:31: App ring: Handling callID 3016

Jun 21 09:41:31: callingNumber=, calledNumber=2343462, redirectNumber= display_info= calling_oct3a=0

Jun 21 09:41:31: accountNumber=, finalDestFlag=1,

guid=d8ba.8229.a2e1.11d7.9258.fdbf.71a0.5556

Jun 21 09:41:31: peer_tag=555

Jun 21 09:41:31: tcl_app:no ssInfo in SETUP

Jun 21 09:41:31: settlement_validate_call: cid(3016), target=, tokenp=0x0

Jun 21 09:41:31: :/did/

Jun 21 09:41:31: :/dnis/

Jun 21 09:41:31: :/callProceeding/

Jun 21 09:41:31: Returning callProceeding for CallID=3016

Jun 21 09:41:31: :/progress/

Jun 21 09:41:31: Sending Progress for CallID=3016 with PI = 8

Jun 21 09:41:31:

Jun 21 09:41:31: $ $ta_PromptCmd(pCall: 0x62A3B5F0)::

Jun 21 09:41:31: :[ promptAndCollect prompt info ]

Jun 21 09:41:31: ta_PromptCmd. CallID=3016

Jun 21 09:41:31: $ $ta_PromptCmd() numPatterns == 0

Jun 21 09:41:31: $ $ta_PromptCmd() pArgs = malloc()

Jun 21 09:41:31: $ $ta_PromptCmd() url=Tcl_GetVar2() [flash:welcome.au]

Jun 21 09:41:31: $ $ta_PromptCmd() Get prompt url=[flash:welcome.au] name=[welcome.au]

Jun 21 09:41:31: $ $ta_PromptCmd() >>mc_createFromFileUrl()

Jun 21 09:41:31: $ $mc_createFromFileUrl (url:[flash:welcome.au], name:[welcome.au])::

Jun 21 09:41:31: $ $mc_getFromUrlName() welcome.au on ram mc_waitq_delete: mc=626FA858

mc_waitq_unlink: elm=6269BCC0

mc_waitq_unlink: prompt_wait=0 prompt_active=452C4

mc_waitq_delete: prompt_wait=0 prompt_active=4B84C

Jun 21 09:41:31: $ $ta_PromptCmd() >> ccGetApp(pcapp)

Jun 21 09:41:31:

Jun 21 09:41:31: $X$ta_PromptCmd() >> ccCallApp()

Jun 21 09:41:31: $X$ta_PromptCmd() <

Jun 21 09:41:31: $Y$ta_PromptCmd() >>ta_get_event()

Jun 21 09:41:31: $w$pcapp_process()::

Jun 21 09:41:31: $ $pcapp_process() {QUEUE_EVENT}

Jun 21 09:41:31:

Jun 21 09:41:31: $E$pcapp_process() >>pcapp_GetCcEvents()

Jun 21 09:41:31: $ $pcapp_GetCcEvents() HANDOFF >> act_handoff()

Jun 21 09:41:31: prompt and collect app got callID 3016

Jun 21 09:41:31: Playing prompt welcome.au

Jun 21 09:41:31: Prompt interrupt disabled

Jun 21 09:41:31: Return on play complete

Jun 21 09:41:31: Not matching against dial plan

Jun 21 09:41:31: No abort key

Jun 21 09:41:31: No termination key

Jun 21 09:41:31: Matching against 0 patterns.

Jun 21 09:41:31: ms_create() Iniz ply_timer

Jun 21 09:41:31: $ $pcapp_GetCcEvents() REPORT_DIGITS_DONE >> act_reportDigitsDone()

Jun 21 09:41:31: act_reportDigitsDone callid=3016 Enable succeeded.

Jun 21 09:41:31: $ $act_reportDigitsDone() >> ms_play()

Jun 21 09:41:31: $ $ms_play() Converting static to dynamic prompting

Jun 21 09:41:31: $ $dp_mc_cnvtDynamicS()::

Jun 21 09:41:31: $ $dp_mc_cnvtDynamicS() malloc mcDynamicS_t OK

Jun 21 09:41:31: $ $ms_play() Iniz rf_timer, call mc_createReaderPakL()

Jun 21 09:41:31: $ $mc_createDynamicReader()::

Jun 21 09:41:31: $ $ms_play() >>ccAssociateStream()

Jun 21 09:41:31: $ $pcapp_GetCcEvents() ##

Jun 21 09:41:31:

Jun 21 09:41:31: $F$pcapp_process() >>pcapp_GetPcappEvents()

Jun 21 09:41:31: $ $pcapp_GetPcappEvents():: >> process_dequeue(app.eventQ)

Jun 21 09:41:31: $ $pcapp_GetPcappEvents() ##

Jun 21 09:41:31: $w$ms_process(): ccapi event >> ms_associateDone()

Jun 21 09:41:31: ms_associateDone: callID=0xBC8, pVdb=0x621D6B20, disposition=0, playFunc=0x60CC7930,

Jun 21 09:41:31: codec=0x5, vad=0, mediaType=6, streamAssocID=1

Jun 21 09:41:31: $ $mc_createReaderEncaps()::

Jun 21 09:41:31: ms_associateDone: CallID 3016 First Buf Play at 1w3d of welcome.au

Jun 21 09:41:31: ms_associateDone: 1w3d, Tstart(ply: iSndDly 1000)

Jun 21 09:41:31: $ $ms_process() >>ccFreeEvent()

Jun 21 09:41:31: ISDN Se1:15: TX -> CALL_PROC pd = 8 callref = 0x8461

Jun 21 09:41:31: Channel ID i = 0xA9838D

Jun 21 09:41:31: ISDN Se1:15: TX -> ALERTING pd = 8 callref = 0x8461

Jun 21 09:41:31: $w$pcapp_process()::

Jun 21 09:41:31: $ $pcapp_process() {QUEUE_EVENT}

Jun 21 09:41:31:

Jun 21 09:41:31: $E$pcapp_process() >>pcapp_GetCcEvents()

Jun 21 09:41:31: $ $pcapp_GetCcEvents() ##

Jun 21 09:41:31:

Jun 21 09:41:31: $F$pcapp_process() >>pcapp_GetPcappEvents()

Jun 21 09:41:31: $ $pcapp_GetPcappEvents():: >> process_dequeue(app.eventQ)

Jun 21 09:41:31: $ $pcapp_GetPcappEvents() ##

Jun 21 09:41:32: $ $T_STREAM

Jun 21 09:41:32: $ $mc_make_packets_DQ()::

Jun 21 09:41:32: $ $mc_make_packets_DQ() mc:626FA858 name:welcome.au

Jun 21 09:41:32: $ $mc_make_packets_DQ() count: 36 ##

Jun 21 09:41:32: $ $ms_process() >>ms_start_play()

Jun 21 09:41:32: ms_start_play() stream->timeTry=0

Jun 21 09:41:32: ms_start_play() 1w3d mgdTstart(rf)

Jun 21 09:41:32: ms_start_play() 1w3d mgdTstop(ply)

Jun 21 09:41:33: $ $T_CONTENT

Jun 21 09:41:33: $ $mc_make_packets_DQ()::

Jun 21 09:41:33: $ $mc_make_packets_DQ() count: 36 ##

Jun 21 09:41:33: $ $ms_need_packets_more(): mgdTstart(rf) at 1w3d

Jun 21 09:41:33: $ $T_CONTENT

Jun 21 09:41:33: $ $mc_make_packets_DQ()::

Jun 21 09:41:33: $ $mc_make_packets_DQ() count: 36 ##

Jun 21 09:41:33: $ $ms_need_packets_more(): mgdTstart(rf) at 1w3d

Jun 21 09:41:33: $ $T_CONTENT

Jun 21 09:41:33: $ $mc_make_packets_DQ()::

Jun 21 09:41:33: $ $mc_make_packets_DQ() count: 36 ##

Jun 21 09:41:33: $ $ms_need_packets_more(): mgdTstart(rf) at 1w3d

Jun 21 09:41:34: $ $T_CONTENT

Jun 21 09:41:34: $ $mc_make_packets_DQ()::

Jun 21 09:41:34: $ $mc_make_packets_DQ() count: 36 ##

Jun 21 09:41:34: $ $ms_need_packets_more(): mgdTstart(rf) at 1w3d

Jun 21 09:41:34: $ $T_CONTENT

Jun 21 09:41:34: $ $mc_make_packets_DQ()::

Jun 21 09:41:34: $ $mc_make_packets_DQ() count: 36 ##

Jun 21 09:41:34: $ $ms_need_packets_more(): mgdTstart(rf) at 1w3d

Jun 21 09:41:34: ISDN Se1:15: RX <- RELEASE pd = 8 callref = 0x0461

Jun 21 09:41:34: Cause i = 0x8290 - Normal call clearing

Jun 21 09:41:34: Display i = '*AA*CLEARED#'

Jun 21 09:41:34: ISDN Se1:15: TX -> RELEASE_COMP pd = 8 callref = 0x8461

Jun 21 09:41:34: $w$pcapp_process()::

Jun 21 09:41:34: $ $pcapp_process() {QUEUE_EVENT}

Jun 21 09:41:34:

Jun 21 09:41:34: $E$pcapp_process() >>pcapp_GetCcEvents()

Jun 21 09:41:34: $ $pcapp_GetCcEvents() pcapp CallID 3016 got event CC_EV_CALL_DISCONNECTED

Jun 21 09:41:34: $ $pcapp_GetCcEvents() {default} >> act_badEvent()

Jun 21 09:41:34: pcapp CallID 3016 returning PCAPP_BAD_CC_EVENT. string=

Jun 21 09:41:34: $ $pcapp_finished() >>pcapp_return()

Jun 21 09:41:34: $ $pcapp_finished() >>ms_delete()

Jun 21 09:41:34: ms_delete() invoking ms_stop_play()...

Jun 21 09:41:34: ms_stop_play() call 3016 mgdTstop at 1w3d (cause MS_STOP_COMPLETE)

Jun 21 09:41:34: ms_stop_play() mgdTstop(rf) at 1w3d

Jun 21 09:41:34: ms_stop_play(): Play Stopped at 1w3d

Jun 21 09:41:34: ms_stop_play: callID 3016: calling CBF for stream_id 0

Jun 21 09:41:34: $ $pcapp_playComplete()::

Jun 21 09:41:34: $ $dp_delete_mcDynamicS() >dequeue(mcDynamicQ)

Jun 21 09:41:34: $ $mc_delete():: mc_waitq_add: mc=626FA858

mc_waitq_add: prompt_wait=6588 prompt_active=4B84C

mc_delete: prompt_wait=6588 prompt_active=452C4

Jun 21 09:41:34: $ $dp_delete_mcDynamicS() >free(p_mcDynamicS)

Jun 21 09:41:34: $ $mc_delete_read() >>dequeue(pakList)

Jun 21 09:41:34: $ $act_badEvent() >< pcapp_finished(PCAPP_BAD_CC_EVENT)

Jun 21 09:41:34: $ $pcapp_GetCcEvents() ##

Jun 21 09:41:34:

Jun 21 09:41:34: $F$pcapp_process() >>pcapp_GetPcappEvents()

Jun 21 09:41:34: $ $pcapp_GetPcappEvents():: >> process_dequeue(app.eventQ)

Jun 21 09:41:34: $ $pcapp_GetPcappEvents() ##

Jun 21 09:41:34: cid(3016) incoming disconnected

Jun 21 09:41:34: ta_get_event: out of while loop for event incoming disconnected

Jun 21 09:41:34: cid(0) ta_get_event returning incoming disconnected

Jun 21 09:41:34: $Y$ta_PromptCmd() <

Jun 21 09:41:34: $ $ta_PromptCmd() >>Tcl_SetResult()

Jun 21 09:41:34: $ $ta_PromptCmd() #TCL_ERROR#

Jun 21 09:41:34: TCL script eval for callID 3016 completed. code=OK

Jun 21 09:41:34: incoming disconnected

Do you have some other ideas? any other debugs?

Thank you,

Mike

Silver

Re: IVR audio prompt doesn't play

It seems that the IOS gateway does invoke the application and now after the config change, it does get the file and try to play it. Have you tried hanging on for longer, and see if you hear anything at all. Seems like you disconnect the call within three seconds.

What script is this? Is it downloaded from CCO or did you write it yourself. Whats the IOS version on the gateway? Where did you get the audio files from?

New Member

Re: IVR audio prompt doesn't play

I have normal call phases. The called phone is ringing and I have an alerting on a calling phone. If I pick up another phone they get connected.

I downloaded the script and au-file from Cisco site (TCLware.1.2.3.zip). The script original name is ring_call.1.1.2.tcl, an audio file name is en_welcome.au, I just changed them for simplicity.

I just want to force this script to work and only after that to try to make a script for my own purposes.

Gateway has one of the latest images

IOS (tm) 5300 Software (C5300-IS-M), Version 12.2(16a), RELEASE SOFTWARE (fc2)

System image file is "flash:c5300-is-mz.122-16a.bin"

Thanks for your attention,

Mike

416
Views
1
Helpful
4
Replies