No, there is no special case for REGISTER messages in loose_route. If you want to ignore Route header fields in REGISTER messages then do not call loose_route function.
Jan.
On 03-03 10:07, Java Rockx wrote:
Hi all.
Does anyone know if the loose_route() function returns FALSE for REGISTER messages that erroneously happen to contain Route headers?
In other words, do I have to do this:
route {
# sanity checks
if (method!="REGISTER") record_route();
if (loose_route() && method!="REGISTER") { <-------Is This Necessary??? # handle loose routing break; }
# Normal processing }
Regards, Paul
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers