sayer/1.4-spce2.6
Stefan Sayer 15 years ago committed by Stefan Sayer
parent 37ae9dbee4
commit 02230087ce

@ -26,21 +26,21 @@
using std::string;
struct SIPRegistrationEvent : public AmEvent {
string handle;
unsigned int code;
string reason;
string handle;
unsigned int code;
string reason;
SIPRegistrationEvent(int t, const string& handle,
unsigned int code=0, const string& reason="")
: AmEvent(t), handle(handle), code(code), reason(reason) {}
SIPRegistrationEvent(int t, const string& handle,
unsigned int code=0, const string& reason="")
: AmEvent(t), handle(handle), code(code), reason(reason) {}
enum {
RegisterSuccess=0,
RegisterFailed,
RegisterNoContact,
RegisterTimeout,
RegisterSendTimeout
};
enum {
RegisterSuccess=0,
RegisterFailed,
RegisterNoContact,
RegisterTimeout,
RegisterSendTimeout
};
};
const char* getSIPRegistationStateString(unsigned int s) {

Loading…
Cancel
Save