Hi Charles,
trying to merge the INVITEs and BYEs at openser level will increase the complexity of the ACC module logic. The design bases on the simple concept of logging START/STOP records that can be merged/process afterwards, via a separate app as you need/like.
Regards, Bogdan
Charles Wang wrote:
Dear Bogdan,
Thank you for your tips. It is very wonderful messages for me.
I still have a question about acc tables(CDR). The sip methods INVITE and BYE will be recorded into acc when I make a call and hang up. Is there any good idea to merge them into one record for billing issue? I study the acc and mysql module, but I don't know which is the best way to change the INSERT SQL command to UPDATE SQL command.
Can you give me some tips?
Best regards, Charles
2007/5/18, Bogdan-Andrei Iancu <bogdan@voice-system.ro mailto:bogdan@voice-system.ro>:
Charles, glad to help - all the changes between the versions are documented on the web site. See: http://www.openser.org/dokuwiki/doku.php/install:1.1.x-to-1.2.x regards, bogdan