[Serusers] Does loose_route ignore REGISTER messages with <Route> Headers?
Jan Janak
jan at iptel.org
Tue Mar 8 14:36:15 CET 2005
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 at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
More information about the sr-users
mailing list