Differences

This shows you the differences between two versions of the page.

Link to this comparison view

tutorials:alias-example [2012/04/19 08:52]
jh [Introduction]
tutorials:alias-example [2013/06/08 08:42] (current)
jh [In-Dialog Requests]
Line 71: Line 71:
 route [IN_DIALOG_REQUESTS] { route [IN_DIALOG_REQUESTS] {
  
-    if (REQUEST_COMES_FROM_BEHIND_NAT || ((@via[2] == "") && (proto != UDP))) {+    if (REQUEST_COMES_FROM_BEHIND_NAT || (is_first_hop() && (proto != UDP))) {
         route(ADD_CONTACT_ALIAS);         route(ADD_CONTACT_ALIAS);
     }     }

Navigation

Wiki

Other

Personal Tools