Sip Endpoint SDK for Apple OS
<GSSessionPolicyDelegate> Protocol Reference

#import <GSSessionPolicyDelegate.h>

Inheritance diagram for <GSSessionPolicyDelegate>:
<GSPolicyDelegate> GSDefaultSessionPolicy

List of all members.

Public Member Functions

(NSArray *) - prioritizedCodecList
(GSDtmfMethod) - dtmfMethodForSession:
(BOOL) - shouldAnswerIncomingSession:

Detailed Description

Defines aspects of session manager's behavior

See also:
GSSessionManager

Definition at line 18 of file GSSessionPolicyDelegate.h.


Member Function Documentation

- (GSDtmfMethod) dtmfMethodForSession: (id< GSSession >)  session [required]

Implement to specify the DTMF method to be used for a given session

Parameters:
sessionthe session for which the DTMF method is being considered
Returns:
the DTMF method as defined by the GSDtmfMethod enumeration
See also:
GSDtmfMethod
- (NSArray*) prioritizedCodecList [required]

Implement to specify the list of codecs to be used when establishing a session

Returns:
the prioritized codec list, sorted from highest to lowest priority or an empty collection to use the default priorities and all available codecs.
- (BOOL) shouldAnswerIncomingSession: (id< GSSession >)  session [required]

Implement to specify whether the incoming session should be automatically answered.

Parameters:
sessionthe incoming session
Returns:
YES to answer or NO to send 180 Ringing

The documentation for this protocol was generated from the following file: