cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
828
Views
0
Helpful
11
Replies

UC500 IVR TCL Script

wdiclo
Level 1
Level 1

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

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.

View solution in original post

11 Replies 11

paolo bevilacqua
Hall of Fame
Hall of Fame

1. dial the GSM number

2. by default, the fxo port gives dialtone

3. the number entered will be dialed.

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

It should, include configuration of voice-port.

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

Not if you want dialtone.

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

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.

Thanks a lot, it was extremely helpful

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

This can happen if the script has errors.

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

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

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: