Browse Source

*** empty log message ***

Bogdan-Andrei Iancu 23 năm trước cách đây
mục cha
commit
7a3fd97c46
1 tập tin đã thay đổi với 8 bổ sung2 xóa
  1. 8 2
      test/th-uri.cfg

+ 8 - 2
test/th-uri.cfg

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