Suppress CDR tracking on wave or tone originated call legs since these utility channels don't emit a chan.hangup anyway.

git-svn-id: http://yate.null.ro/svn/yate/trunk@2657 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2009-05-28 14:33:07 +00:00
parent 3ba3376068
commit 499cbd7c1e
2 changed files with 2 additions and 0 deletions

View File

@ -801,6 +801,7 @@ bool ToneGenDriver::msgExecute(Message& msg, String& dest)
else {
Message m("call.route");
m.addParam("module",name());
m.addParam("cdrtrack",String::boolText(false));
m.copyParam(msg,"called");
m.copyParam(msg,"caller");
m.copyParam(msg,"callername");

View File

@ -1047,6 +1047,7 @@ bool WaveFileDriver::msgExecute(Message& msg, String& dest)
}
Message m("call.route");
m.addParam("module",name());
m.addParam("cdrtrack",String::boolText(false));
String callto(msg.getValue("direct"));
if (callto.null()) {
const char *targ = msg.getValue("target");