sipxtacklib
Version 3.3
|
#include <SipConfigServerAgent.h>
Public Member Functions | |
SipConfigServerAgent (SipUserAgent *userAgent) | |
virtual | ~SipConfigServerAgent () |
virtual UtlBoolean | handleMessage (OsMsg &eventMessage) |
UtlBoolean | sendChangeNotification (SipMessage ¬ifyRequest) |
void | setEnrollmentCallback (EnrollmentCallbackFunc callback) |
param: subscribeContext - text serialization of the enrollment SUBSCRIBE param: notifyCSeqence - the Csequence number for the NOTIFY request. This can be random for the very first NOTIFY sent to a UA and should be incremented by one for each NOTIFY afterwards. param: configLicenseSeconds - the period of time after which the UA should consider the configuration to be stale. param: notifyBody - the contents for the NOTIFY request body. zero or more lines of the format: <profile-name>: Sequence=<serial-config-id>;Url=<profile-config-url> More... | |
void | setChangeNotifyStatusCallback (NotifyResponseCallbackFunc callback) |
SipUserAgent * | getSipUserAgent () |
Static Public Member Functions | |
static SipConfigServerAgent * | getSipConfigServerAgent () |
SipConfigServerAgent | ( | SipUserAgent * | userAgent | ) |
|
virtual |
|
virtual |
UtlBoolean sendChangeNotification | ( | SipMessage & | notifyRequest | ) |
void setEnrollmentCallback | ( | EnrollmentCallbackFunc | callback | ) |
param: subscribeContext - text serialization of the enrollment SUBSCRIBE param: notifyCSeqence - the Csequence number for the NOTIFY request. This can be random for the very first NOTIFY sent to a UA and should be incremented by one for each NOTIFY afterwards. param: configLicenseSeconds - the period of time after which the UA should consider the configuration to be stale. param: notifyBody - the contents for the NOTIFY request body. zero or more lines of the format: <profile-name>: Sequence=<serial-config-id>;Url=<profile-config-url>
void setChangeNotifyStatusCallback | ( | NotifyResponseCallbackFunc | callback | ) |
|
static |
SipUserAgent * getSipUserAgent | ( | ) |