Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: RASEO_TerminalAfterDial Problems
I have written a "client.scp" for dialup networking to use, that handles the afterdial window. I have written a wbt that will give a list of all availiable "entries" in the phone book, copy the entry with all it's attributes to a new entry, & then remove the "Use terminal afterdial" option while adding "Use client.scp" to handle the login.
The weird thing is that if I manually kick off that new cloned entry, the terminal window pops up, even though it's in the entry not to use terminal-after-dial, & the client.scp handles it & connects.
If I use Rasdial for the new cloned entry, I never see the terminal screen & what's weirder it that it does connect, but it doesn't display the connection in the systray.
We'll see if we can recreate the problem...
Make sure you are using the very latest version of the Ras Extender. http://www.windowware.com/download.html
Not to nitpick but if I run rasentryinfo on the original entry I see the options=33432. Now in this entry terminalafterdial is turned on.
So in my code, after we clone the original entry to the "New Connection" I also add:
RasEntrySet("options","33304") RasEntrySet("script","%scpdir%client.scp")Under Rasentryset, the option element is a cumulative integer, so: 128=RASEO_TerminalAfterDial
Now what I'm wondering is that in the next line when I RasEntrySet("script","%scpdir%client.scp"), does this automatically disable RASEO_TerminalAfterDial?? And if so, when I subtract 128 from the options, what is that turning off instead?
BTW, if anyone could give me a list of options that are all turned on by deciphering options=33432, I would be most appreciative.
Specifying a script does disable RASEO_TerminalAfterDial. The RASEO_TerminalAfterDial flag option *special* in this regard. Do not set this flag if a dial-up networking script is to be associated with the connection, because scripting has its own terminal implementation. Also, The RASEO_TerminalAfterDial flag works only if this phone-book entry is dialed manually.
This flag has no effect if the entry is dialed by the RasDial function.
We will update the help file to reference this.....
As for decifering the options, see the following sample UDF that returns a list of options: http://techsupt.winbatch.com/webcgi/webbatch.exe?techsupt/nftechsupt.web+WIL~Extenders/Ras~Extender+UDF~-~List~Ras~Options.txt
Article ID: W15087
File Created: 2017:07:28:12:58:40
Last Updated: 2014:07:18:08:49:35