NewsHdrLeftSpacer.gif (132 bytes)
Welcome to Inventive Labs

  
Try out our new .NET Telephony Toolkit called CTI32.  It is easy to build telephone applications using VB.NET or C#.  NO PORT ROYALTIES.
NewsHdrEnd.gif (910 bytes)
NewsHdrBottom.gif (973 bytes)

SetDefault

You can call this command with any of the parameters defined. This will set these and use these as the default when you run any command, unless you override the default by specifying one or more of the parameters. To clear a default that you have set run the command with an empty string (""). See below for more information on clearing a default parameter you have set.

Typically this is called to setup things that don't change from call to call.

Important Note: This command is normally used to set the IpAddress or NamedPipeAddress of the NTpage Server so you don't have to specify it every time you use NTpager. But you can set a default for any parameter used by NTpager.

Example to set the communications to use TCP/IP

NTPAGER SetDefault -IpAddress"199.100.99.98:4778"

Where "199.100.99.98" is the TCP/IP address of the NT Server you are running the NTpage Server on and "4778" is the TCP/IP port that you are using to communicate with the NTpage Server. This TCP/IP port is set on the NTpage Server using the NTpage Administrator, and the port value must be the same as this value.

Example to set the communications to use Named Pipes

NTPAGER SetDefault -NamedPipeAddress"NTSERVER1"

Where "NTSERVER1" is the computer name of the NT Server you are running the NTpage Server on.

Note: If you have set the default for both the IpAddress parameter and the NamedPipeAddress parameter NTpager will use TCP/IP as the preferred method of communications with the NTpage Server and will ignore the NamedPipeAddress parameter.

Required parameters
None, but you must specify at least one parameter to use this command.

Optional parameters
Any of the parameters can be set any you can set as many as you want at one time.



Clearing a default you have already set
To clear a default you have already set, use the SetDefault command and specify the parameter you want to clear and set it to "".

Example
SetDefault -IpAddress""

This would clear the default you had set for the IpAddress parameter.

© Copyright 2001-2009  Inventive Labs Corporation  All rights reserved.