Dial() exit status

Hi,

can anyone tell me how I can find out if the Dila() command succeeded or not? I’m not saying if it found the channel busy, congested, ect. That, I can check through the DIALSTATUS variable.

I just want to know if there was some error while the Dial() was executing, so that I can act accordingly.

thanks

what kind of error are you encountering ?

At the moment I’m not encountering an error, but should something wrong happen while the Dial() is being executed, how can I detect it. Just to know that the call failed because something wrong happened during the Dial. For debugging.

thanks,
Alan

the only error you’re likely to encounter other than dialstatus is probably going to be unavailability of a channel. you can check this with ChanIsAvail() but you might find the results limited by the technology for the channel.