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

Hangup command not working. 1

Status
Not open for further replies.

kenlweb

Technical User
Aug 5, 2006
3
US
I need a simple script to redial the same number continuously to trouble shoot intermittent dialing problems off of a PBX. I cannot get the hangup command to work. What am I doing wrong? Before expanding the script, to redial and open a capture file I need to get the hangup command to work. I don’t use aspect very often, but this seems to be about as simple as it gets. What am I missing? I have also tried disconnect.

proc main

dial DATA “vms”

pause 10

hangup

endproc
 
Is the script still dialing at that point? If so, I don't believe the hangup or disconnect command will work. Instead, try using sendkey " " to send a space to activate the Cancel button in the dialing dialog. I may not be quite right on the key to send (maybe sendkey ALT 'C' will be needed instead), but don't have a machine handy to test on at the moment.

 
knob. I am not connecting to another modem, so Procomm does not know that I am connected. The phone ICON never goes off hook. I built an answer only voice mailbox on my voice mail system and want to continually dial it, wait 10 seconds after it answers, drop the call, pause 5 seconds and redial.
 
knob, thanks for putting me on the right track. I used sendvkey to send 0x20 (spacebar) and the script does what I want it to.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top