cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
Walkthrough Wednesdays

play message to calling party then connect to called

3023
Views
5
Helpful
7
Comments

When this script receive a call it play prompt to calling party. When finishing playing then script handoff the call with the destionation number to IOS. (IOS will do the call setup and Tcl IVR service will be ended)

Comments
TeleAnd2016
Beginner

Hi.Excelent job!. Would you like to share some aspects of the configuration or variables?  Thank you. Best regards! Jesus.

yawming
Cisco Employee
conf t
    app
       service <name of sevvice> <url:play_message_2_calling_then_connect.tcl>
      param prompt-1 <url:name of audio file>

example:

service paly2connect tftp://tftp/play_message_2_calling_then_connect.tcl

  param prompt-1 flash:en_welcome.au

BEG_Tal
Enthusiast

Hi Team

I need smilar thing about same stituation.

We want to play announce before ringing  the phone. Does someone provide me working tcl script and configuration.

Call Flow

ISP--> SIP-VG-[TCL scrip should play announce file stored on VG] -SIP- CUCM-- Directory Number.

On this time, Tcl scrip working for pots dial-peer for following scnerio.

PSTN/PRI- -VG- CUCM- DN

"flash0:c2951-universalk9-mz.SPA.152-4.M6a.bin"

This is a new deployment.

CUCM version:10.0.1.12900-2

We have two CUCM server (Pub /Sub)

Application config;

File name:kisa2.au

!

application

service seskayit app_fax_detect.2.1.2.2.tcl

  param mode listen-first

  param prompt flash:kisa2.au

!

Raghavendra G V
Cisco Employee

If you are looking for specific Fax script you can download it from below link else you can use above script.

Cisco Systems

Thanks,

Raghavendra

BEG_Tal
Enthusiast

Hi Radhavendra,

I want to play announce before ringing the phone, after announce complated. call should be connected the phone.

It should work with voip dial-peer recently I have working scenerio with pots dial-peer. but when I added  services incomming dial-peer I'm getting busy tone.

dial-peer voice 989 voip

description test

services seskayit

session protocol sipv2

session target ipv4:10.1.1.120

voice-class codec 1 

dtmf-relay rtp-nte

fax-relay ecm disable

no fax-relay sg3-to-g3

fax rate 9600

fax nsf 000000

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

voice-class codec 1 

voice-class sip bind control source-interface GigabitEthernet0/0   

voice-class sip bind media source-interface GigabitEthernet0/0  

dtmf-relay rtp-nte

no vad

Thanks

Raghavendra G V
Cisco Employee

You can use above play_message_2_calling_then_connect.tcl file with below config for your case, please try with this simple script instead of fax script.

service  paly2connect  flash:play_message_2_calling_then_connect.tcl

  param prompt-1 flash:kisa2.au

Thanks,

Raghavendra

BEG_Tal
Enthusiast

Here is my config:

When i apply  service play2connect on  dial-peer 74001 I'm  getting busy tone after removing  service play2connect command phone is ringing. What could be problem.

incoming dial-peer,

dial-peer voice 74001 voip

service play2connect

session protocol sipv2

incoming called-number 08507227400$

voice-class codec 1 

voice-class sip bind media source-interface GigabitEthernet0/0

dtmf-relay rtp-nte

fax-relay ecm disable

fax-relay sg3-to-g3

fax nsf 000000

no vad

service play2connect flash:play_message_2_calling_then_connect.tcl

  param mode listen-first

  param prompt flash:kisa2.au

Content for Community-Ad

This widget could not be displayed.