[Serusers] Please help : how to disable losse routing ???

Jan Janak jan at iptel.org
Thu Sep 9 13:59:48 UTC 2004


Use record_route_strict instead of record_route.

  Jan.

On 08-09 21:09, RUIZ Nicolas wrote:
> Thanks for your reply !
> 
> When I put strict_route at the place of loose_route, i have an error. (Module
> missing).
> 
> Ser version is : 0.8.12.
> 
> What can i modifie to apply strict routing only?
> 
> HELP MEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
> 
> :0)
> 
> modparam("rr", "enable_full_lr", 1)
> # -------------------------  request routing logic -------------------
> # main routing logic
> route{
>         # initial sanity checks -- messages with
>         # max_forwards==0, or excessively long requests
>         if (!mf_process_maxfwd_header("10")) {
>                 sl_send_reply("483","Too Many Hops");
>                 break;
>         };
>         if ( msg:len > max_len ) {
>                 sl_send_reply("513", "Message too big");
>                 break;
>         };
>         # we record-route all messages -- to make sure that
>         # subsequent messages will go through our proxy; that's
>         # particularly good if upstream and downstream entities
>         # use different transport protocol
>         record_route();
> 
>         if (loose_route()) {
>                 t_relay();
>                 break;
>         };
>         /* record-route INVITEs -- all subsequent requests must visit us */
> 
>        if (method=="INVITE") {
>                 record_route();
>         };
> 
> Selon Franz Edler <franz.edler at utanet.at>:
> > From: Nicolas RUIZ Sent: Wednesday, September 08, 2004 6:14 PM
> > 
> > > I want to disable "loose routing" on IPTEL.
> > > What can I write in my configuration file to stop loose routing?
> > 
> > I assume you have to exchange the function "loose_route()"with
> > "strict_route()" in you ser.cfg.
> > 
> > > I have disable this line: modparam("rr", "enable_full_lr", 1) but the
> > > UA(With RFC 3261) use always loose routing.
> > 
> > Of course, this only modifies the "lr"-parameter in the routing header.
> > 
> > Franz
> > 
> > 
> 
> 
> 
> 
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
> 
> 
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers




More information about the Serusers mailing list