[OpenSIPS-Users] ACC CDR
Bogdan-Andrei Iancu
bogdan at opensips.org
Thu Apr 4 14:09:56 CEST 2013
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: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 <mailto: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/20130404/e9a8e14a/attachment.htm>
More information about the Users
mailing list