[OpenSIPS-Users] ACC CDR
    M.Khaled W Chehab 
    kchehab at icucall.com
       
    Wed Apr  3 17:48:32 CEST 2013
    
    
  
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:bogdan at opensips.org] 
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
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130403/56a0e13c/attachment-0001.htm>
    
    
More information about the Users
mailing list