05-29-2009 09:03 AM - edited 03-15-2019 05:08 AM
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
Solved! Go to Solution.
06-01-2009 06:21 AM
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.
05-29-2009 01:50 PM
1. dial the GSM number
2. by default, the fxo port gives dialtone
3. the number entered will be dialed.
06-01-2009 05:53 AM
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
06-01-2009 05:58 AM
It should, include configuration of voice-port.
06-01-2009 06:07 AM
I assume that connection plar command should not be included on the voice port ?
06-01-2009 06:07 AM
Not if you want dialtone.
06-01-2009 06:18 AM
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
06-01-2009 06:21 AM
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.
06-01-2009 06:24 AM
Thanks a lot, it was extremely helpful
06-01-2009 07:02 AM
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
06-01-2009 07:10 AM
This can happen if the script has errors.
It is not very easy to write and debug tcl/ivr scripts.
06-01-2009 07:08 AM
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
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