32 #ifndef OPAL_SIP_SIPEP_H
33 #define OPAL_SIP_SIPEP_H
47 #include <ptclib/threadpool.h>
63 #define OPAL_HAS_SIP_PRESENCE 1
97 unsigned maxConnectionThreads = 10,
98 unsigned maxHandlerThreads = 5
158 const PString & party,
160 unsigned int options,
200 const PString & token,
202 const SIPURL & destination,
205 unsigned int options = 0,
213 const PString & token,
214 const PString & callIdentity,
215 const PString & remoteParty,
216 void * userData = NULL
224 const PString & forwardParty
238 const PString & descriptor
253 const PString & localInterface = PString::Empty()
351 const PString & token,
352 PSafetyMode mode = PSafeReadWrite,
408 const PString & host,
409 const PString & user = PString::Empty(),
410 const PString & autName = PString::Empty(),
411 const PString & password = PString::Empty(),
412 const PString & authRealm = PString::Empty(),
414 const PTimeInterval & minRetryTime = PMaxTimeInterval,
415 const PTimeInterval & maxRetryTime = PMaxTimeInterval
434 bool includeOffline =
false
462 bool includeOffline =
false
485 PBoolean wasRegistering,
486 PBoolean reRegistering,
496 PBoolean wasRegistering
504 PBoolean wasRegistering
550 bool tokenIsAOR =
true
568 bool includeOffline =
false
571 const PString & eventPackage,
573 bool includeOffline =
false
587 bool invalidateNotifiers =
false
592 bool invalidateNotifiers =
false
595 const PString & eventPackage,
597 bool invalidateNotifiers =
false
607 const PString & eventPackage
620 bool includeOffline =
false
636 const PString & eventPackage,
654 const PString & eventPackage
660 const SIPURL & targetAddress,
661 const PString & eventPackage,
712 #define PDECLARE_ConnectionlessMessageNotifier(cls, fn) PDECLARE_NOTIFIER2(SIPEndPoint, cls, fn, SIPEndPoint::ConnectionlessMessageInfo &)
713 #define PCREATE_ConnectionlessMessageNotifier(fn) PCREATE_NOTIFIER2(fn, SIPEndPoint::ConnectionlessMessageInfo &)
741 const PString & body,
746 const PString & body,
747 unsigned expire = 300
754 bool includeOffline =
false
763 unsigned expire = 300
772 const PString & identity,
773 const PString & basic,
799 const PTimeInterval & t1,
800 const PTimeInterval & t2
806 const PTimeInterval & t
811 const PTimeInterval & t
816 const PTimeInterval & t
821 const PTimeInterval & t
826 const PTimeInterval & t
831 const PTimeInterval & t
836 const PTimeInterval & t
841 const PTimeInterval & t
849 PSafePtr<SIPTransaction>
GetTransaction(
const PString & transactionID, PSafetyMode mode = PSafeReadWrite)
850 {
return transactions.FindWithLock(transactionID, mode); }
866 bool GetAuthentication(
const PString & authRealm, PString & user, PString & password);
910 const PString & userName = PString::Empty()
927 const PString & hostname,
928 const PString & username,
929 const PString & password
1029 virtual void Work();
1040 : PQueuedThreadPool<
SIP_Work>(maxWorkers)
1057 virtual void OnAddInterface(
const PIPSocket::InterfaceEntry & entry);
1080 #endif // OPAL_SIP_SIPEP_H