zdk.objc
ZDKSIPConfig.h
1//
2// ZDKSIPConfig.h
3// ZDK
4//
5
6#ifndef ZDKSIPConfig_h
7#define ZDKSIPConfig_h
8
9#import <Foundation/Foundation.h>
10#import "ZDKTransportType.h"
11#import "ZDKRPortType.h"
12#import "ZDKRTCPFeedbackType.h"
13#import "ZDKStunConfig.h"
14#import "ZDKMSRPConfig.h"
15#import "ZDKZRTPConfig.h"
16#import "ZDKPushConfig.h"
17#import "ZDKHeaderField.h"
18#import "ZDKRTPCollisionResolutionType.h"
19#import "ZDKSessionTimerModeType.h"
20#import "ZDKSIPConfig.h"
21#import "ZDKZHandle.h"
22#import "ZDKStunConfig.h"
23@protocol ZDKStunConfig;
24#import "ZDKMSRPConfig.h"
25@protocol ZDKMSRPConfig;
26#import "ZDKZRTPConfig.h"
27@protocol ZDKZRTPConfig;
28#import "ZDKPushConfig.h"
29@protocol ZDKPushConfig;
30#import "ZDKSIPConfig.h"
31@protocol ZDKSIPConfig;
32
33NS_ASSUME_NONNULL_BEGIN
34
38
46@property(nonatomic) NSString* domain;
47
58@property(nonatomic) BOOL useOutboundProxy;
59
69@property(nonatomic) NSString* _Nullable outboundProxy;
70
93@property(nonatomic) NSString* sipInstance;
94
101@property(nonatomic) ZDKTransportType transport;
102
112@property(nonatomic) NSString* _Nullable authUsername;
113
118@property(nonatomic) NSString* _Nullable callerID;
119
140@property(nonatomic) ZDKRPortType rPort;
141
148@property(nonatomic) BOOL enableSRTP;
149
159@property(nonatomic) BOOL enablePreconditions;
160
172@property(nonatomic) BOOL enableVideoFMTP;
173
190@property(nonatomic) ZDKRTCPFeedbackType rtcpFeedback;
191
198@property(nonatomic) id<ZDKStunConfig> _Nullable stun;
199
206@property(nonatomic) id<ZDKMSRPConfig> _Nullable msrp;
207
214@property(nonatomic) id<ZDKZRTPConfig> _Nullable zrtp;
215
222@property(nonatomic) id<ZDKPushConfig> _Nullable push;
223
232@property(nonatomic) BOOL enablePrivacy;
233
248@property(nonatomic) int keepAlive;
249
258@property(nonatomic) BOOL headerDump;
259
273@property(nonatomic) NSArray<id<ZDKHeaderField>>* _Nullable additionalHeaders;
274
282@property(nonatomic) int callAutoRejectTimeout;
283
303@property(nonatomic) BOOL connectionPersistence;
304
311@property(nonatomic) ZDKRTPCollisionResolutionType rtpCollisionResolution;
312
342@property(nonatomic) ZDKSessionTimerModeType sessionTimerMode;
343
352@property(nonatomic) int sessionTimerExpiry;
353
363@property(nonatomic) BOOL enableMediasec;
364
373-(BOOL)isEqual:(id<ZDKSIPConfig>)comp ;
374-(NSString*)handlesDescription;
375
376@end
377
378NS_ASSUME_NONNULL_END
379
380#endif
MSRP (Message Session Relay Protocol) specific account configuration.
Definition: ZDKMSRPConfig.h:19
Push notification specific configuration.
Definition: ZDKPushConfig.h:22
SIP specific account configuration.
Definition: ZDKSIPConfig.h:37
id< ZDKMSRPConfig > _Nullable msrp
Sets the MSRP configuration.
Definition: ZDKSIPConfig.h:206
BOOL enablePreconditions
Sets the use of call's preconditions framework as described in RFC 3312.
Definition: ZDKSIPConfig.h:159
BOOL enableMediasec
Sets whether always to force the use of the mediasec.
Definition: ZDKSIPConfig.h:363
BOOL headerDump
Sets the use of SIP Header dumps for SIP Calls and Registration event.
Definition: ZDKSIPConfig.h:258
id< ZDKStunConfig > _Nullable stun
Sets the STUN configuration.
Definition: ZDKSIPConfig.h:198
NSString *_Nullable callerID
Configures the Caller ID used as display name part in the address of record.
Definition: ZDKSIPConfig.h:118
int keepAlive
Sets the keepalive interval for SIP accounts.
Definition: ZDKSIPConfig.h:248
ZDKTransportType transport
Selects the SIP transport to be used.
Definition: ZDKSIPConfig.h:101
NSArray< id< ZDKHeaderField > > *_Nullable additionalHeaders
Sets a list with SIP Header fields to be added to a set of SIP Request Methods.
Definition: ZDKSIPConfig.h:273
int sessionTimerExpiry
Changes the session timer expiry according to RFC 4028.
Definition: ZDKSIPConfig.h:352
NSString *_Nullable authUsername
Changes the user name used for SIP authentication.
Definition: ZDKSIPConfig.h:112
id< ZDKZRTPConfig > _Nullable zrtp
Sets the ZRTP configuration.
Definition: ZDKSIPConfig.h:214
NSString * sipInstance
Configures RFC2141 URN for SIP registrations.
Definition: ZDKSIPConfig.h:93
NSString * domain
Sets the user domain.
Definition: ZDKSIPConfig.h:46
BOOL connectionPersistence
Configures connection persistence for a user.
Definition: ZDKSIPConfig.h:303
ZDKSessionTimerModeType sessionTimerMode
Changes the session timers setting according to RFC 4028.
Definition: ZDKSIPConfig.h:342
ZDKRTPCollisionResolutionType rtpCollisionResolution
Sets the desired RTP collision resolution.
Definition: ZDKSIPConfig.h:311
int callAutoRejectTimeout
Sets the auto reject timeout for incoming calls.
Definition: ZDKSIPConfig.h:282
BOOL enableSRTP
Sets the use of user's SRTP.
Definition: ZDKSIPConfig.h:148
ZDKRTCPFeedbackType rtcpFeedback
Sets the RTCP Feedback support.
Definition: ZDKSIPConfig.h:190
ZDKRPortType rPort
Sets the use of rport for SIP users.
Definition: ZDKSIPConfig.h:140
BOOL enablePrivacy
Sets the use of Privacy mechanism as described in RFC 3323.
Definition: ZDKSIPConfig.h:232
BOOL useOutboundProxy
Configures the use of SIP Outbound as described in RFC 5626.
Definition: ZDKSIPConfig.h:58
BOOL enableVideoFMTP
Sets video FMTP support.
Definition: ZDKSIPConfig.h:172
id< ZDKPushConfig > _Nullable push
Sets the Push configuration.
Definition: ZDKSIPConfig.h:222
NSString *_Nullable outboundProxy
Sets the SIP Outbound Proxy to be used.
Definition: ZDKSIPConfig.h:69
STUN specific account configuration.
Definition: ZDKStunConfig.h:26
Definition: ZDKZHandle.h:13
ZRTP specific account configuration.
Definition: ZDKZRTPConfig.h:24