#import <Services.h>
List of all members.
Detailed Description
Session service protocol
Definition at line 17 of file Services.h.
Member Function Documentation
| - (GSResult) answerSession: |
|
(id< GSSession >) |
session |
|
Sends SIP 200OK to the incoming session
- Parameters:
-
- Returns:
- the result of the operation.
| - (GSResult) answerVideoOfferForSession: |
|
(id< GSSession >) |
session |
| accept: |
|
(BOOL) |
accept |
|
|
| |
Accept or reject of the video offer for the particular session.
- Parameters:
-
| session | the session that video is offered. |
| accept | the flag that indicate if the offer accepted (YES) or rejected (NO). |
- Returns:
- the result of the operation.
| - (GSResult) answerVideoSession: |
|
(id< GSSession >) |
session |
|
Sends SIP 200OK to the incoming video session
- Parameters:
-
- Returns:
- the result of the operation.
| - (GSResult) dialFrom: |
|
(id< GSConnection >) |
connection |
| to: |
|
(NSString *) |
destination |
|
|
| |
Sends SIP INVITE to the other party for the connection
- Parameters:
-
| connection | object. |
| destination | address. |
- Returns:
- the result of the operation.
| - (GSResult) dialFrom: |
|
(id< GSConnection >) |
connection |
| to: |
|
(NSString *) |
destination |
| video: |
|
(BOOL) |
video |
| withData: |
|
(NSString *) |
data |
| sessionId: |
|
(int *) |
outSessionId |
|
|
| |
Sends SIP audio or video Call INVITE with or without user data header to the other party for the connection
- Parameters:
-
| connection | object. |
| destination | address. |
| video,if | YES dialing video session if NO dialing audio session. |
| data,if | nil without user data if not nil string of user data. |
| outSessionId,out | parameter that represent ID of the newly created session. |
- Returns:
- the result of the operation.
| - (GSResult) dialFrom: |
|
(id< GSConnection >) |
connection |
| to: |
|
(NSString *) |
destination |
| withData: |
|
(NSString *) |
data |
|
|
| |
Sends SIP Voice Call INVITE with user data header to the other party for the connection
- Parameters:
-
| connection | object. |
| destination | address. |
| string | with user data. |
- Returns:
- the result of the operation.
| - (GSResult) dialVideoFrom: |
|
(id< GSConnection >) |
connection |
| to: |
|
(NSString *) |
destination |
|
|
| |
Sends SIP INVITE with video in SDP to the other party for the connection
- Parameters:
-
| connection | object. |
| destination | address. |
- Returns:
- the result of the operation.
| - (GSResult) dialVideoFrom: |
|
(id< GSConnection >) |
connection |
| to: |
|
(NSString *) |
destination |
| withData: |
|
(NSString *) |
data |
|
|
| |
Sends SIP Video Call INVITE with user data header to the other party for the connection
- Parameters:
-
| connection | object. |
| destination | address. |
| string | with user data. |
- Returns:
- the result of the operation.
| - (GSResult) hangupSession: |
|
(id< GSSession >) |
session |
|
Sends SIP BYE to the session
- Parameters:
-
- Returns:
- the result of the operation.
| - (GSResult) holdSession: |
|
(id< GSSession >) |
session |
|
Put the session on Hold
- Parameters:
-
- Returns:
- the result of the operation.
| - (GSResult) micVolumeForSession: |
|
(id< GSSession >) |
session |
| volume: |
|
(int) |
volume |
|
|
| |
Set the microphone volume for the particular session.
- Parameters:
-
| session | the session of the requested volume of outgoing audio. |
| volume | the microphone volume to be set. |
- Returns:
- the result of the operation.
| - (GSResult) muteOutgoingAudioForSession: |
|
(id< GSSession >) |
session |
| mute: |
|
(BOOL) |
mute |
|
|
| |
Mute outgoing audio for the session.
- Parameters:
-
| session | the session that outgoing audio to be muted. |
| mute | the flag YES if mute or NO if unmute. |
- Returns:
- the result of the operation.
| - (GSResult) oneStepTransfer: |
|
(int) |
sessionId |
| destination: |
|
(NSString *) |
destination |
| video: |
|
(BOOL) |
video |
|
|
| |
Make one step transfer the the session.
- Parameters:
-
| session | ID. |
| destination | the other party address. |
| video | YES if the transfered session should be with video. |
- Returns:
- the result of the operation.
| - (BOOL) outgoingAudioMutedForSession: |
|
(id< GSSession >) |
session |
|
Gets the state of outgoing audio of the session.
- Parameters:
-
| session | the session that queried for mute state of the outgoing audio. |
- Returns:
- YES if outgoing audio for this session is muted.
-
NO if outgoing audio for this session is unmuted.
| - (GSResult) removeVideoStreamForSession: |
|
(id< GSSession >) |
session |
|
Removes of the video stream for the particular session.
- Parameters:
-
| session | the session that video is offered. |
- Returns:
- the result of the operation.
| - (GSResult) retrieveSession: |
|
(id< GSSession >) |
session |
|
Retrive the session from Hold
- Parameters:
-
- Returns:
- the result of the operation.
| - (GSResult) sendDtmf: |
|
(NSString *) |
digits |
| forSession: |
|
(id< GSSession >) |
session |
|
|
| |
Sends DTMF to the other parties in the session. The DTMF method is determined by the policy configured for this session's session manager.
- Parameters:
-
| digits | the DTMF digits to be sent. |
- Returns:
- the result of the operation.
| - (GSResult) sendInfoToSession: |
|
(id< GSSession >) |
session |
| contentType: |
|
(NSString *) |
contentType |
| content: |
|
(NSString *) |
content |
|
|
| |
Sends SIP INFO message to the other parties in the session.
- Parameters:
-
| session | the SIP INFO to be sent. |
| contentType | the name of the header to be sent. |
| content | the content of the header to be sent. |
- Returns:
- the result of the operation.
| - (GSResult) sendVideoOfferForSession: |
|
(id< GSSession >) |
session |
|
Sends the video offer for the particular session.
- Parameters:
-
| session | the session that video is offered. |
- Returns:
- the result of the operation.
| - (NSString*) sipInviteHeaderForSessionId: |
|
(int) |
sessionId |
| headerName: |
|
(NSString *) |
headerName |
|
|
| |
Gets SIP INVITE header by header name.
- Parameters:
-
| sessionId | the session ID of the inbound session. |
| headerName | the name of the requesting header to be gotten. |
- Returns:
- the content of the requested header.
| - (GSResult) speakerVolumeForSession: |
|
(id< GSSession >) |
session |
| volume: |
|
(int) |
volume |
|
|
| |
Set the speaker volume for the particular session.
- Parameters:
-
| session | the session of the requested volume of incoming audio. |
| volume | the speaker volume to be set. |
- Returns:
- the result of the operation.
| - (GSResult) twoStepTransferComplete: |
|
(int) |
activeSessionId |
| heldSessionId: |
|
(int) |
heldSessionId |
|
|
| |
Make complete of the two step transfer for the session.
- Parameters:
-
| activeSessionId | the session ID of the initiated session. |
| heldSessionId | the session ID of the originally created session. |
- Returns:
- the result of the operation.
| - (GSResult) twoStepTransferInitiate: |
|
(int) |
sessionId |
| destination: |
|
(NSString *) |
destination |
| video: |
|
(BOOL) |
video |
| data: |
|
(NSString *) |
data |
| newSessionId: |
|
(int *) |
newSessionId |
|
|
| |
Make initiate of the two step transfer for the session.
- Parameters:
-
| session | ID. |
| destination | the other party address. |
| video | YES if the transfered session should be with video. |
| data | the data. |
| newSessionId | the session ID if initiate successfully completed. |
- Returns:
- the result of the operation.
The documentation for this protocol was generated from the following file:
- /genesys/release/5_9and6_x/SIPEndpntSDKMac/v8.5.200.54/x86_64-darwin10.11.2/64bit/src_local/root_hg_repository/MacOS/Endpoint/Src/Headers/Services.h