Loose_route in my understanding of the man who too lazy to read RFC is just
look at SIP header and if it see that request belong to already established
dialog (if there Route inside) send it straight to the destination without
further processing. I do not use ACC but I remember when I tried it there
was CDRs for ACK. Means it do account it right.
That why you do not need to worry that other messages then register and
invite will do lookup.. they will not because they simply will be routed
before, and if not - mistake.
Juts make sure REGISTER will never go there
-----Original Message-----
From: Andreas Granig [mailto:andreas.granig@inode.info]
Sent: Thursday, February 24, 2005 4:46 AM
To: Vitaly Nikolaev
Cc: 'Java Rockx'; serusers(a)lists.iptel.org
Subject: Re: [Serusers] Which SIP messages types use lookup("location")?
Vitaly Nikolaev wrote:
All other should go by loose route or another method
(strict?).
Maybe often answerd, but I still haven't got it:
How exactly should loose_route() be used? Can I in any case do
setflag(1); # account the message
if(loose_route()) { t_relay(); break; }
# messages without route headers go here and have to be lookup()-ed
or are there some exceptions? Are the loose-routed messages accounted
correctly?
Thanks,
Andy