From: Bogdan-Andrei Iancu [mailto:[email protected]] Sent: Thursday, April 04, 2013 4:11 PM To: M.Khaled W Chehab Cc: 'OpenSIPS users mailling list' Subject: Re: [OpenSIPS-Users] ACC CDR Could you post the record from DB ? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 04/04/2013 03:36 PM, M.Khaled W Chehab wrote: Yes I can get the records in acc table Regards From: Bogdan-Andrei Iancu [mailto:[email protected]] Sent: Thursday, April 04, 2013 3:16 PM To: M.Khaled W Chehab Cc: 'OpenSIPS users mailling list' Subject: Re: [OpenSIPS-Users] ACC CDR And you get no record in the "ACC" table ? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 04/04/2013 03:13 PM, M.Khaled W Chehab wrote: Hi Bogdan, Already dialog module loaded , $var(a) = "udp:"+$avp(termip)+":5060"; $fs = $var(a) ; setflag(1); # do accounting setflag(2); #Missed calls #setflag(3); #transaction falis setflag(4); #CDR flag # create dialog with timeout if ( !create_dialog("B") ) { send_reply("500","Internal Server Error"); exit; } $dlg_val("customerid") = $avp(Cusid); engage_media_proxy(); topology_hiding(); please advice regards From: Bogdan-Andrei Iancu [mailto:[email protected]] Sent: Thursday, April 04, 2013 3:10 PM To: M.Khaled W Chehab Cc: 'OpenSIPS users mailling list' Subject: Re: [OpenSIPS-Users] ACC CDR Hi Khaled, Load the "dialog" module too and do "create_dialog()" for the initial INVITEs. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 04/03/2013 06:48 PM, M.Khaled W Chehab wrote: Hello, I already add the below config to my script and no call can be found in cdrs table modparam("acc", "db_flag", 1) modparam("acc", "db_missed_flag", 2) modparam("acc", "log_missed_flag", 2) modparam("acc", "failed_transaction_flag", 3) modparam("acc", "cdr_flag", 4) if (!has_totag() &&is_method("INVITE")) { setflag(1); # do accounting setflag(2); #Missed calls #setflag(3); #transaction falis setflag(4); #CDR flag whats missing ? Regards Khaled From: Bogdan-Andrei Iancu [mailto:[email protected]] Sent: Wednesday, April 03, 2013 6:25 PM To: OpenSIPS users mailling list Cc: M.Khaled W Chehab Subject: Re: [OpenSIPS-Users] ACC CDR Hello, Use the ACC module together with DIALOG module and set the cdr_flag option in ACC (see http://www.opensips.org/html/docs/modules/1.9.x/acc.html#id294245) - you need to set this flag at at INVITE time only (plus one of the acc flags). Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 04/03/2013 04:55 PM, M.Khaled W Chehab wrote: Dears , Is there a way to right directly to CDRS table in mysql . Regards _______________________________________________ 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
