Brekeke SIP Server Wiki Brekeke SIP Server Basic InfoSecurityUpdate & UpgradeConfigurationInstallationBasic SetupBSS Administration ToolNetwork ConfigurationDial PlanDial Plan BasicsDial Plan ReferenceMatching Patterns functions$addr$addrPort$addrPrefix$addrRange$addrType$alias$and$body$date$db$dispatcher$eval and $e$evalRule$exist$getDisplayName$getHost$getSIPuser$getUri$getUriAndParam$globalAddr$header$headerParam$hop$if$ifAddr$ipv6$isNull$isReachable$isTalking$localhost$math$mirroring$mydomain$not$nslookup$nsreverse$or$outbound$param$pb$pbx$pn$port$primary$radius$regAddr$regdb$registered$registeredSender$regUa$regUri$removeParam$request$rule$route$sameAddr$sdp$servertime$sessionNum$sid$soapGet$sps$stackSize$str$subParam$threadNum$time$timeRange$transport$uriParam$url$usrdir.lookup$web.soapGet$web.webGet$webGet$wsDeploy Patterns functionsDeploy Patterns variablesDial Plan TutorialDial Plan ExamplesDial Plan FAQBlock ListProvisioningPush NotificationSDNSTIR/SHAKENAdvanced EditionOther FunctionsThird-Party DatabaseEnvironment VariablesTroubleshootingDeveloper's GuideVersion History 4.5.2.1.23.$hop Get the number of spiraled hops from the incoming SIP packet. Syntax: $hop Returns: the number of spiraled hops. If there is no spiral, it returns 1. Version Since: 3.1 Where the function can be used: Preliminary rules Regular rules Was this helpful? Yes No « $headerParam$if » Suggest Edit Captcha : Submit