Browse Source

*** empty log message ***

Bogdan-Andrei Iancu 23 years ago
parent
commit
7a3fd97c46
1 changed files with 8 additions and 2 deletions
  1. 8 2
      test/th-uri.cfg

+ 8 - 2
test/th-uri.cfg

@@ -35,6 +35,12 @@ loadmodule "modules/cpl/cpl.so"
 route{
 route{
              sl_filter_ACK();
              sl_filter_ACK();
 
 
+             if ( !mf_process_maxfwd_header("10") )
+             {
+                     sl_send_reply("483","To Many Hops");
+                     drop();
+             };
+             /*
              if ( mf_is_maxfwd_present() )
              if ( mf_is_maxfwd_present() )
              {
              {
                    if ( !mf_decrement_maxfwd() )
                    if ( !mf_decrement_maxfwd() )
@@ -48,8 +54,8 @@ route{
                    };
                    };
              }else{
              }else{
                    mf_add_maxfwd_header( "10" );
                    mf_add_maxfwd_header( "10" );
-             };
-                 
+             }; */
+
 
 
              /*
              /*
              if (method=="INVITE")
              if (method=="INVITE")