[Serusers] Accounting is only logging INVITE to my mysql database.

Jan Janak jan at iptel.org
Tue Mar 2 11:13:22 CET 2004


The condition below will probably not match BYE, so add setflag(1) also
outside the condition.

 Jan.

On 02-03 11:14, Atle Samuelsen wrote:
> It is on.. (added it 1 min after I sent the mail.. its now just after
> if(uri=~"...
> 
> it now sends INVITE and ACH into the database, but nothing more.
> 
> - Atle
> 
> * Jan Janak <jan at iptel.org> [040302 10:29]:
> > Turn on record routing.
> > 
> >   Jan.
> > 
> > On 01-03 23:03, Atle Samuelsen wrote:
> > > 
> > > Hey guys.
> > > 
> > >  anybody had the problem that the acc.so module just logs the INVITE to
> > >  the database? when I try to dial 0.. etc.. 
> > > 
> > >  - Atle
> > > 
> > > #ACC stuff
> > > 
> > > modparam("acc", "log_level", 3)
> > > modparam("acc", "log_flag", 12)
> > > modparam("acc", "log_missed_flag", 22)
> > > 
> > > #ACC DB STUFF
> > > 
> > > modparam("acc", "db_url", "mysql://ser:heslo@localhost/ser")
> > > modparam("acc", "db_flag", 1)
> > > modparam("acc", "db_missed_flag", 31)
> > > 
> > > # -------------------------  request routing logic -------------------
> > > 
> > > # main routing logic
> > > 
> > > route{
> > > 
> > > if (uri=~"sip:0[0-9][3.5]*") { # ... it is for the peer site
> > >     strip(1);
> > >     setflag(1);
> > >     rewritehostport("192.168.11.5");
> > >     t_relay();
> > >     break;
> > > };
> > > 
> > > _______________________________________________
> > > Serusers mailing list
> > > serusers at lists.iptel.org
> > > http://lists.iptel.org/mailman/listinfo/serusers
> > 




More information about the sr-users mailing list