Module: sip-router Branch: 4.0 Commit: 63b3c13b3cc884d7f813bb99ccc0563d1a4594f4 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=63b3c13b...
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
(cherry picked from commit 8fcdd23aaa49cb6c1ecb34c4c6b4a88078a860f7) (cherry picked from commit 4455a13e8d31416dc44af455710fd7a7ff37ec11)
---
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 996ebf4..45f7a06 100644 --- a/modules/acc/acc_cdr.c +++ b/modules/acc/acc_cdr.c @@ -476,7 +476,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;