PBXBaseSetListenPort Method |
Sets the local address and port on which the PBX will listen for SIP connections.
Namespace: Ozeki.VoIPAssembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax public bool SetListenPort(
string localAddress,
int port,
TransportType transportType
)
Public Function SetListenPort (
localAddress As String,
port As Integer,
transportType As TransportType
) As Boolean
public:
bool SetListenPort(
String^ localAddress,
int port,
TransportType transportType
)
member SetListenPort :
localAddress : string *
port : int *
transportType : TransportType -> bool
Parameters
- localAddress
- Type: SystemString
- port
- Type: SystemInt32
- transportType
- Type: Ozeki.NetworkTransportType
Return Value
Type:
BooleanTrue, if success; otherwise false
Exceptions Exception | Condition |
---|
VoIPException | Throws a VoIPException when the local address is invalid. |
See Also