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!

Detecting a Busy Signal

Status
Not open for further replies.

paulshep

Programmer
Nov 24, 2002
3
US
I need to differentiate between getting a Busy signal and other forms of No Carrier or No Connection, within an Aspect script. Does anyone have any ideas on which variable this data may be stored in, or how this may be detected?

thanks in advance

paul
 
I believe you should be able to use the $CNCTMSG system variable to get this information, although I haven't tested how well that works yet. I would read the discussion of this system variable before using it in your script, just so you are aware of a couple caveats with this variable.
aspect@aspectscripting.com
 
Thanks Knob,

That works very well.

Appreciate it.

Paul
 
Does anyone have a script capturing or using the $CNCTMSG prompts, and mind sharing their script.

I can not get the results captured properly.
 
mjamm

here is a part of a script that uses $CNTCTMSG:

if ! $CONNECTOPEN
strfmt sMessage "No Connection:[%s]" $CNCTMSG
DWQuit(sMessage)
endif

$CNCTMSG captures the specific problem that is preventing the connection from opening.

Hope this helps
Paul
 
hello,

I tried using CNCTMSG but the results are inconsistent. The value of CNCTMSG is often "disconnected: no answer" when there is actually a busy signal or recorded voice message or "disconnected: busy" when the result is actually "ring no answer" or a recorde voice message.

When a modem tone is successfully reached the results appear to be correct, e.g. Connected at 28800 bps

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top