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

UC500 IVR TCL Script

HI,

I have a UC500 with 2 analog lines connected to the FXO ports, also I have a VoIP service with the corresponding dial-peer for International calls. In addition to that I have a device that has a GSM SIM chip connected to another FXO port (this is for having a cell phone connected to the UC500).

What I need to do is the following:

1.- be able to make a call to the number of the GSM SIM chip.

2.- when the numver answer do either of two: a) to give a dial tone so I can dial a destination number or, b) an IVR script to prompt me for a destination number to call.

3.- when either of the above is performed, then dial the number via the appropiate configured dial-peer.

I have tried load ing the ivr script and tested it, but even when I call the number, I see an error saying that it cannot find the script to be executed. I know the script is there but dont work.

Any guidelines on how can I accomplishe this ?

Any config example will be helpful.

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Gold

Re: UC500 IVR TCL Script

With a direct dialtone, you have no control about who call where.

With a script, you could use a PIN, etc.

Please remember to rate useful posts with the scrollbox below.

11 REPLIES
Hall of Fame Super Gold

Re: UC500 IVR TCL Script

1. dial the GSM number

2. by default, the fxo port gives dialtone

3. the number entered will be dialed.

New Member

Re: UC500 IVR TCL Script

Thank fro the response , but I dont understand when you say that it will give a diual tone by default.

I tried calling the number after connecting it to the UC500 and did not give a dial tone.

Can you be more specific.

Thanks

Hall of Fame Super Gold

Re: UC500 IVR TCL Script

It should, include configuration of voice-port.

New Member

Re: UC500 IVR TCL Script

I assume that connection plar command should not be included on the voice port ?

Hall of Fame Super Gold

Re: UC500 IVR TCL Script

Not if you want dialtone.

New Member

Re: UC500 IVR TCL Script

OK, I got that working. All I had to do was to remove a connection plar that was configured on the voice port.

and like you said it will give the dial tone by default and dial the destination number based on the configured destinnation pattern.

What is more appropiate to use, this default configuration (that works) or the use of an IVR TCL script ?

Thanks

Hall of Fame Super Gold

Re: UC500 IVR TCL Script

With a direct dialtone, you have no control about who call where.

With a script, you could use a PIN, etc.

Please remember to rate useful posts with the scrollbox below.

New Member

Re: UC500 IVR TCL Script

Thanks a lot, it was extremely helpful

New Member

Re: UC500 IVR TCL Script

I got that part all ready set up, but still have problem making the tcl script to work.

I think I have done the steps to load it and define it on the dial-peer, but everytime I dial the number the router gives an error, saying that the application xxx could not be found.

I did load the script into the router and placed it on the flash.

this is how I have it configured.

application

service test flash:test.tcl

!

service acctfixedpin tftp://10.1.1.1/acctfixedpin.tcl

dial-peer voice 51 pots

service test

destination-pattern 98.........$

port 0/1/1

prefix 8

no sip-register

Thanks

Hall of Fame Super Gold

Re: UC500 IVR TCL Script

This can happen if the script has errors.

It is not very easy to write and debug tcl/ivr scripts.

New Member

Re: UC500 IVR TCL Script

OK, I got that part working but still having problem with the tcl script.

I configured it on the dial-peer but everytime I call the number, the router gives an error that the applicaion

could not be located.

I placed the script on the flash.

this is how I have it configured

application

service test flash:test.tcl

!

service acctfixedpin tftp://10.1.1.1/acctfixedpin.tcl

dial-peer voice 51 pots

service test

destination-pattern 98.........$

port 0/1/1

prefix 8

no sip-register

409
Views
0
Helpful
11
Replies