[Serusers] Does loose_route ignore REGISTER messages with <Route> Headers?

Java Rockx javarockx at gmail.com
Thu Mar 3 16:07:14 CET 2005


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




More information about the sr-users mailing list