Module: sip-router Branch: master Commit: 8fcdd23aaa49cb6c1ecb34c4c6b4a88078a860f7 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=8fcdd23a...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: Mon Apr 28 13:51:56 2014 +0200
acc: no request is needed for setting end time on dialog termination
- callback function cdr_on_end() doesn't use it at all - reported by Eduardo Lejarreta, FS#256
---
modules/acc/acc_cdr.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/acc/acc_cdr.c b/modules/acc/acc_cdr.c index 1ae0aa0..a9f8eb9 100644 --- a/modules/acc/acc_cdr.c +++ b/modules/acc/acc_cdr.c @@ -574,7 +574,7 @@ static void cdr_on_end( struct dlg_cell* dialog, int type, struct dlg_cb_params* params) { - if( !dialog || !params || !params->req) + if( !dialog || !params) { LM_ERR("invalid values\n!"); return;