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:
parent
3ba3376068
commit
499cbd7c1e
|
@ -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");
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue