MAX_RTP_SESSIONS define in makefile.defs, some constructors and destructors

git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@584 8eb893ce-cfd4-0310-b710-fb5ebe64c474
sayer/1.4-spce2.6
Stefan Sayer 19 years ago
parent ab0b09dafb
commit ae383cdf34

@ -35,7 +35,10 @@
#include <sys/time.h>
#include <sys/poll.h>
#ifndef MAX_RTP_SESSIONS
#define MAX_RTP_SESSIONS 2048
#endif
#define RTP_POLL_TIMEOUT 50 /*50 ms*/

@ -42,7 +42,7 @@ void AmSipDispatcher::handleSipMsg(AmSipRequest &req)
if(!sess_exists){
DBG("method: `%s' [%zd].\n", req.method.c_str(), req.method.length());
DBG("method: `%s' [%zd].\n", string("INVITE").c_str(), string("INVITE").length());
if((req.method == "INVITE")||
((req.method == "REFER") && !local_tag.empty())){
sess_cont->startSessionUAS(req);

@ -21,7 +21,8 @@ class _AmSipMsgInDlg
string serKey;
_AmSipMsgInDlg() : cseq(0) {}
_AmSipMsgInDlg() : cseq(0) { }
~_AmSipMsgInDlg() { }
};
/** \brief represents a SIP reply */
@ -34,7 +35,8 @@ struct AmSipReply : public _AmSipMsgInDlg
string remote_tag;
string local_tag;
AmSipReply() : code(0), _AmSipMsgInDlg() {}
AmSipReply() : code(0), _AmSipMsgInDlg() { }
~AmSipReply() { }
};
@ -56,7 +58,8 @@ class AmSipRequest : public _AmSipMsgInDlg
string from_tag;
string to_tag;
AmSipRequest() : _AmSipMsgInDlg() {}
AmSipRequest() : _AmSipMsgInDlg() { }
~AmSipRequest() { }
};
string getHeader(const string& hdrs,const string& hdr_name);

Loading…
Cancel
Save