Razvan, no, I was only setting the CDR_FLAG on the initial INVITE. This works with 1.10.
Then with 1.11, I tested setting the CDR_FLAG when processing BYE requests but it didn't work. Then I set DB_FLAG for BYE and after that, it worked. So this behavior changed. Thanks a lot. Regards, Takeshi. On Wed, Apr 30, 2014 at 11:05 PM, Răzvan Crainea <raz...@opensips.org>wrote: > Hi, Takeshi! > > I just tested and there are no issues on my setup. Are you setting the > CDR_FLAG for all the requests? Have you also tried with different db modes? > > Best regards, > > Razvan Crainea > OpenSIPS Core Developer > http://www.opensips-solutions.com > > > On 04/23/2014 03:05 PM, mayamatakeshi wrote: > >> Hello, >> I am trying to upgrade from opensips 1.10 (commit >> bfd86ab25554082053167a82655e669ca1c0ea7c) >> to 1.11 (latest 313f41ad46921d543980fa9fc71fb0715d385085). >> >> Almost everything works. >> However, in my opensips.cfg I set dialog db_mode to REALTIME. And I have >> acc in CDR mode. >> Then after making some calls and confirming the dialogs were inserted in >> the opensips.dialog table, I kill and restart opensips. Then I terminate >> the calls. >> In 1.10, this causes proper generation of records in the acc table. >> However, in 1.11, no records are written to acc table. >> I checked the release notes for 1.11 but could not find any indication >> that this behavior would change: >> http://opensips.org/pub/opensips/1.11.0/src/ChangeLog >> >> Before filing a bug ticket i would like to confirm as i might be >> overlooking something. >> >> Here is the significant snippets of opensips.cfg: >> >> loadmodule "dialog.so" >> modparam("dialog", "default_timeout", 10800) >> modparam("dialog", "profiles_with_value", "calls") >> modparam("dialog", "db_url", >> "mysql://opensips:opensipsrw@localhost/opensips") >> modparam("dialog", "db_mode", 1) # 1=REALTIME, 2=DELAYED, 3=SHUTDOWN >> modparam("dialog", "db_update_period", 10) >> >> >> loadmodule "acc.so" >> modparam("acc", "db_flag", "DB_FLAG") >> modparam("acc", "log_flag", "LOG_FLAG") >> modparam("acc", "log_level", -1) >> modparam("acc", "log_facility", "LOG_LOCAL0") >> modparam("acc", "db_url", "mysql://opensips:opensipsrw@ >> localhost/opensips") >> modparam("acc", "failed_transaction_flag", "FAILED_TRANSACTION_FLAG") >> modparam("acc", "db_extra", >> "domain=$avp(i:6);direction=$avp(i:20);from_uname=$fU;to_ >> uname=$tU;calling_number=$avp(i:21);destination=$avp(i:22); >> anonymous=$avp(i:23);gwid=$avp(i:24);forward=$avp(i:25)") >> modparam("acc", "log_extra", >> "domain=$avp(i:6);direction=$avp(i:20);from_uname=$fU;to_ >> uname=$tU;calling_number=$avp(i:21);destination=$avp(i:22); >> anonymous=$avp(i:23);gwid=$avp(i:24);forward=$avp(i:25)") >> modparam("acc", "cdr_flag", "CDR_FLAG") >> >> Regards, >> Takeshi >> >> >> >> _______________________________________________ >> Users mailing list >> Users@lists.opensips.org >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> >> > _______________________________________________ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users >
_______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users