|
@@ -59,14 +59,14 @@ sipt_destination($rU, 31, 4);
|
|
|
<section>
|
|
|
<title><function moreinfo="none">sipt_get_hop_count()</function></title>
|
|
|
<para>
|
|
|
- Returns the value of the Hop Coutner for the IAM message if it exists.
|
|
|
+ Returns the value of the Hop Counter for the IAM message if it exists.
|
|
|
Returns -1 if there isn't a hop counter.
|
|
|
</para>
|
|
|
<example>
|
|
|
<title><function moreinfo="none">sipt_get_hop_counter()</function> usage</title>
|
|
|
<programlisting format="linespecific">
|
|
|
...
|
|
|
-# get the hop couter and update the Max-Forwards header if it exists
|
|
|
+# get the hop counter and update the Max-Forwards header if it exists
|
|
|
$avp(s:hop) = sipt_get_hop_counter();
|
|
|
if($avp(s:hop) > 0)
|
|
|
{
|