Sip Endpoint SDK for Apple OS
/Users/valerypolishchuk/Projects/sepsdk-03.09.12/MacOS/Endpoint/Src/Headers/GSEnums.h
00001 
00004 static const int GSSipSucessCode = 200;
00005 
00009 typedef enum GSEndpointState {
00010     GSEndpointInactiveState,
00011     GSEndpointActivatingState,
00012     GSEndpointActiveState,
00013     GSEndpointDeactivatingState
00014 } GSEndpointState;
00015 
00019 typedef enum GSConnectionState {
00020     GSConnectionUnregisteredState,
00021     GSConnectionRegisteringState,
00022     GSConnectionRegisteredState,
00023 } GSConnectionState;
00024 
00025 
00029 typedef enum GSResult {
00030     GSResultOK,
00031     GSResultFailed,
00032     GSResultUnsupportedOperation,
00033     GSResultOperationInvalidForState
00034 } GSResult;
00035 
00039 typedef enum GSSessionState {
00040     GSSessionStateAlerting,
00041     GSSessionStateConnected,
00042     GSSessionStateDisconnected,
00043     GSSessionStateInProgress,
00044     GSSessionStateUnknown
00045 } GSSessionState;
00046 
00050 typedef enum GSDeviceRoute {
00051     GSDeviceRouteDefault = 0,
00052     GSDeviceRouteEarpiece = 1,
00053     GSDeviceRouteSpeakerphone = 2,
00054     GSDeviceRouteBluetooth = 4
00055 } GSDeviceRoute;
00056 
00060 typedef enum GSMediaType {
00061     GSMediaTypeAudio
00062 } GSMediaType;
00063 
00067 typedef enum GSAudioDeviceCapability {
00068     GSAudioDeviceCapabilityRouteToEarpiece,
00069     GSAudioDeviceCapabilityRouteToSpeakerPhone,
00070     GSAudioDeviceCapabilityRouteToBluetooth
00071 } GSAudioDeviceCapability;
00072 
00076 typedef enum GSDtmfMethod {
00077     GSDtmfMethodInbandRtp,
00078     GSDtmfMethodRfc2833,
00079     GSDtmfMethodInfo
00080 } GSDtmfMethod;