[Serdev] SER's core design features(process
model/parser/lumps/script) - was: So who/what is SER for, anyway?
Martin Hoffmann
hn at nvnc.de
Thu Jan 25 16:18:55 UTC 2007
Klaus Darilion wrote:
> Martin Hoffmann wrote:
> >
> >Consider an INVITE request spiraling through your proxy for whatever
> >reason. Do I need to see the BYE six times? No. But I want see it once.
> >
> > if (method != "REGISTER && src_ip != myself) {
> > record_route ();
> > }
>
> Does this works also for all accounting things? If you spiral through
> the proxy then you have different transactions, thus having different
> accounting logs. Wouldn't you like to have a BYE for each INIVTE?
Accounting is done on the basis of dialogs. Seeing the BYE once is enough.
(Incidentally, you are likely to see two BYEs anyways, since people
often hang up at the same time.)
Regards,
Martin
More information about the Serdev
mailing list