[OpenSIPS-Users] acconting messages

2010-11-15 Thread Denis Putyato
Hello! Is there any chancy for accounting calls which were finished by sending failure code using send_reply() func.? Thank you ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] acconting messages

2010-11-15 Thread Ovidiu Sas
You can do manual accounting: http://www.opensips.org/html/docs/modules/1.6.x/acc.html#id294003 Or, you can create a new transaction, flag it for acc and then terminate it t_reply: http://www.opensips.org/html/docs/modules/1.6.x/tm.html#id293687 Regards, Ovidiu Sas On Tue, Nov 16, 2010 at 12:30

Re: [OpenSIPS-Users] acconting messages

2010-11-15 Thread Denis Putyato
exit; } And after this there is no records in ACC table. May be I do something wrong? -----Original Message- From: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] On Behalf Of Ovidiu Sas Sent: Tuesday, November 16, 2010 8:40 AM To: OpenSIPS users mailling list S

Re: [OpenSIPS-Users] acconting messages

2010-11-16 Thread Ovidiu Sas
;db_table_missed_calls", "acc") > ... > >     if ($avp(i:200)==1) { >     t_newtran(); >     setflag(16); >     setflag(17); >     t_flush_flags(); >     t_reply("403", "Forbidden_gw"); >     exit; >     } > > And after this there

Re: [OpenSIPS-Users] acconting messages

2010-11-16 Thread Denis Putyato
I understand, thank you -Original Message- From: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] On Behalf Of Ovidiu Sas Sent: Wednesday, November 17, 2010 8:23 AM To: OpenSIPS users mailling list Subject: Re: [OpenSIPS-Users] acconting messages It seems that

Re: [OpenSIPS-Users] acconting messages

2010-11-25 Thread Bogdan-Andrei Iancu
lls", "acc") ... if ($avp(i:200)==1) { t_newtran(); setflag(16); setflag(17); t_flush_flags(); t_reply("403", "Forbidden_gw"); exit; } And after this there is no records in ACC table. May be I do something wrong?