Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
The "Test" connection is configured for two channels! and I use Windows 2000 SP2
Script sample:
AddExtender("wwras34i.dll",1006) Password = AskPassword("Password", "Enter valid password") connectionhandle = rasDial("test","","",Password,0) exit
I recommend checking the return value of RasDial. If its zero call RasGetLastErr to determine if any errors occur...
connectionhandle = rasDial(entryname,"","","",0) if connectionhandle == 0 err = rasGetLastErr () message("Connection error",err) exit endif
RasDial() Does Not Connect Dual Channels with Some ISDN Adapters
http://support.microsoft.com/default.aspx?scid=kb;en-us;200531
Apparently...when you use the RasDial function to initiate a Remote Access Services (RAS) connection over an Integrated Services Digital Network (ISDN) adapter, a connection to only one channel may be created (instead of a connection to two or more channels).
As a work around...use the Rasphone.exe command-line tool to call the Dial-Up Networking phonebook. For additional information about using Rasphone.exe, click the article number below to view the article in the Microsoft Knowledge Base:
125393 Rasphone and RasDial: Tips and Differences
http://support.microsoft.com/default.aspx?scid=kb;EN-US;125393
Article ID: W15867
File Created: 2004:03:30:15:41:14
Last Updated: 2004:03:30:15:41:14