using local tag insteda of call id (can be used for controlling session by sending events)

git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1272 8eb893ce-cfd4-0310-b710-fb5ebe64c474
sayer/1.4-spce2.6
Stefan Sayer 17 years ago
parent c226967f95
commit 7fb993dc55

@ -500,7 +500,7 @@ void ConferenceDialog::setupAudio()
setCallgroup(conf_id);
MONITORING_LOG(getCallID().c_str(), "conf_id", conf_id.c_str());
MONITORING_LOG(getLocalTag().c_str(), "conf_id", conf_id.c_str());
if(dialedout || !allow_dialout) {
DBG("Dialout not enabled or dialout channel. Disabling DTMF detection.\n");

@ -88,7 +88,7 @@ bool AmSessionContainer::clean_sessions() {
if(cur_session->is_stopped() && cur_session->detached.get()){
MONITORING_MARK_FINISHED(cur_session->getCallID().c_str());
MONITORING_MARK_FINISHED(cur_session->getLocalTag().c_str());
DBG("session %p has been destroyed'\n",(void*)cur_session->_pid);
delete cur_session;
@ -204,7 +204,7 @@ AmSession* AmSessionContainer::startSessionUAC(AmSipRequest& req, AmArg* session
return NULL;
}
MONITORING_LOG5(session->getCallID().c_str(),
MONITORING_LOG5(session->getLocalTag().c_str(),
"app", req.cmd.c_str(),
"dir", "out",
"from", req.from.c_str(),
@ -219,7 +219,7 @@ AmSession* AmSessionContainer::startSessionUAC(AmSipRequest& req, AmArg* session
session->getCallID(),
session->getRemoteTag());
delete session;
MONITORING_MARK_FINISHED(session->getCallID().c_str());
MONITORING_MARK_FINISHED(session->getLocalTag().c_str());
return NULL;
}
@ -272,7 +272,7 @@ void AmSessionContainer::startSessionUAS(AmSipRequest& req)
throw string("internal server error");
}
MONITORING_LOG5(req.callid.c_str(),
MONITORING_LOG5(local_tag.c_str(),
"app", req.cmd.c_str(),
"dir", "in",
"from", req.from.c_str(),

@ -7,9 +7,9 @@ method that can acces DI.
monitoring information is explicitely pushed to monitoring module via
DI calls (See ampi/MonitoringAPI.h for useful macros). Info is always
accessed via primary key, usually call-id. Info for every call is organized
as attribute-value pairs (one or more values), value can be any type
representable by AmArg (SEMS' variant type).
accessed via primary key, usually the session's local tag. Info for
every call is organized as attribute-value pairs (one or more values),
value can be any type representable by AmArg (SEMS' variant type).
A call can be marked as finished. If not done before, this is done by
the session container when deleting a session (i.e., as the session

Loading…
Cancel
Save