Hi Chen-Che If you are using CDR_FLAG, you must create the dialog. BYEs are accounted in the loose_route (sequential request) section, toplogy_hiding also depends on the dialog.
Failed calls are astore in the ACC table, but if your call was forwarded to a voicemail or to other gateway, the ACC record will contain only the 200OK. Intermediary branches will log to the missed_calls table. Flavio E. Goncalves 2013/7/19 microx <[email protected]> > Hi all, > > I want to keep track of call history into the db. After referring to the > ACC > module document and several threads in this forum, I set the following in > my > config file. Successful calls are recorded in the db as expected. However, > nothing is recorded in the db when the callee rejects the INVITE or ignore > the INVITE. Please help take a look at what is missed in my setting. Many > thanks. > > modparam("acc", "db_flag", "DB_FLAG") > modparam("acc", "db_flag", "DB_MISSED_FLAG") > modparam("acc", "failed_transaction_flag", "FAIL_TRANS_FLAG") > modparam("acc", "report_cancels", 1) > modparam("acc", "cdr_flag", "CDR_FLAG") > modparam("acc", "db_extra", "caller=$fU; callee=$tU") > modparam("acc", "db_url", > "postgres://thvc:[email protected]:5432/opensips") > > if (is_method("INVITE") { > t_on_reply("Invite"); > t_on_branch("Invite"); > t_on_failure("Invite"); > topology_hiding(); > setflag(DB_FLAG); > setflag(DB_MISSED_FLAG); > setflag(FAIL_TRANS_FLAG); > setflag(CDR_FLAG); > } > > Best regards, > Chen-Che > > > > -- > View this message in context: > http://opensips-open-sip-server.1449251.n2.nabble.com/Config-for-miss-failed-calls-tp7587221.html > Sent from the OpenSIPS - Users mailing list archive at Nabble.com. > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users >
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
