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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

aspect dialing script

Status
Not open for further replies.

Mlenk

Technical User
May 23, 2001
2
US
I need help with a aspect dialing script. I need the script to wait for a phone call and then dial a group of numbers and submit a page. The first part of it looks to be working it goes something like this

proc main
LABEL:
termkey ALT '7'
waitfor "K^M^J"
transmit "alts0=0^M"
waitfor "RING" FOREVER
call cap

pause 10
endproc

proc cap

This is were I would call the list of pager #'s I know i can do the dial # in a format like XXX-XXXX,,,,,YYY-YYYY
Where the X's are the pager # and the comma's pause and then the Y's are the number I want to page with. But I dont know how to tell Procomm to call the #'s
 
I changed the script and this works but it wont go back to the top and reset

proc main
LABEL:
termkey ALT '7'
waitfor "K^M^J"
transmit "alts0=0^M"
waitfor "RING" FOREVER
pause 10
CONNECT VOICE GROUP "pagers" CONNECTALL
pause 10
goto LABEL
endproc

It will dial the pagers and send the page but it wont go back to the begining and wait for another call. Any help would be appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top