소스 검색

ims_charging: Do not close dialog upon Ro credit control timeout before answer

Marco Sinibaldi 9 년 전
부모
커밋
54cb0e7e78
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      modules/ims_charging/ro_timer.c

+ 3 - 0
modules/ims_charging/ro_timer.c

@@ -473,6 +473,9 @@ void ro_session_ontimeout(struct ro_tl *tl) {
         case delayed_delete:
             destroy_ro_session(ro_session);
             return;
+        case pending:
+            /* call is not answered yet. No point asking more credit. Just wait for dialog to progress somehow */
+            return;
         default:
             LM_ERR("Diameter call session - event [%d]\n", ro_session->event_type);