Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

AutoAnswer String that transfers a call keeps starting on it's own

Status
Not open for further replies.

ggekko

IS-IT--Management
Sep 7, 2005
2
US
I'm a die hard tech that can't stand to not be able to fix anything, but this is my first real stab at Aspect. I apologize if this issue has been covered before. I searched but couldn't find a good match.

I have interfaced an external USR Courier Modem with our phone system to do what is known as a Call Transfer-Disconnect using scripting in Procomm 4.8. This method allows a call to be transferred to my cell phone and leave all our internal lines free. The job of the script is to autoanswer the incomming call that is transferred to the pc's phone jack, transfer the call using a string, then keep running and wait for the next call.

My current script looks like this:

proc main
waitfor "RING"
transmit "ATD!WT330,,WT2145551212;HS3"
transmit "^M"
execute "transfer.wax"
endproc

If you start the script running and then transfer a call to the modem, the call transfers to my cell flawlessly. The problem right now is that if no call comes in, the script will frequently start the outdial process anyway after about 30 seconds.

Any help will be GREATLY appreciated.

Thanks
 
Add the keyword FOREVER at the end of the waitfor command. Waitfor times out after 30 seconds, so that is why the script is continuing when you don't want it to.


 
You Da Man!

Hope I can return the favor someday.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top