[Serusers] 483 - too many hops error -

Morris, Scott MorrisS at orau.gov
Tue Aug 10 20:29:08 CEST 2004


I found documentation on the 483 - too many hops error and what to do about
it, but I guess I don't have a handle one the concept, just like many others
I guess.  Here is the information I am using.

	Sign-in name - morriss at orau.net
	username	 - morriss
	password	 - xxxx
	
	my workstation is 10.5.10.1
	SER server is 10.0.2.1 (comm01.orau.gov)

	the sip service records for dns are comm01.orau.gov
	
	SER version - 8.12 running on Redhat 3.0 ES
	workstation software - Windows Messenger 4.7.2009

Please take a look at the ser.cfg and ngrep below and see where I have the
uri not set properly.  And can more detail be provided on the aliases
command?

Thanks.

Scott Morris
Enterprise Network Engineer
DOE - ORAU / ORISE
865-576-4672

Ser.cfg
=====================================================

# $Id: ser.cfg,v 1.21.4.1 2003/11/10 15:35:15 andrei Exp $
#
# simple quick-start config script
#

# ----------- global configuration parameters ------------------------

#debug=3         # debug level (cmd line: -dddddddddd)
#fork=yes
#log_stderror=no        # (cmd line: -E)

/* Uncomment these lines to enter debugging mode 

debug=7
fork=no
log_stderror=yes
*/

check_via=no    # (cmd. line: -v)
dns=no           # (cmd. line: -r)
rev_dns=no      # (cmd. line: -R)
#port=5060
#children=4
fifo="/tmp/ser_fifo"

# ------------------ module loading ----------------------------------

# Uncomment this if you want to use SQL database
#loadmodule "/usr/lib/ser/modules/mysql.so"

loadmodule "/usr/lib/ser/modules/sl.so"
loadmodule "/usr/lib/ser/modules/tm.so"
loadmodule "/usr/lib/ser/modules/rr.so"
loadmodule "/usr/lib/ser/modules/maxfwd.so"
loadmodule "/usr/lib/ser/modules/usrloc.so"
loadmodule "/usr/lib/ser/modules/registrar.so"

loadmodule "/usr/lib/ser/modules/auth_radius.so"

# Uncomment this if you want digest authentication
# mysql.so must be loaded !
loadmodule "/usr/lib/ser/modules/auth.so"
#loadmodule "/usr/lib/ser/modules/auth_db.so"

# ----------------- setting module-specific parameters ---------------

# -- usrloc params --

modparam("usrloc", "db_mode",   0)

# Uncomment this if you want to use SQL database 
# for persistent storage and comment the previous line
#modparam("usrloc", "db_mode", 2)

# -- auth params --
# Uncomment if you are using auth module
#
# modparam("auth_db", "calculate_ha1", yes)
#
# If you set "calculate_ha1" parameter to yes (which true in this config), 
# uncomment also the following parameter)
#
# modparam("auth_db", "password_column", "password")

# -- rr params --
# add value to ;lr param to make some broken UAs happy
modparam("rr", "enable_full_lr", 1)

# radius
modparam("auth_radius", "service_type", 15 )
modparam("auth_radius", "radius_config",
"/etc/radiusclient/radiusclient.conf")

# -------------------------  request routing logic -------------------

# main routing logic

route{

        # initial sanity checks -- messages with
        # max_forwards==0, or excessively long requests
        if (!mf_process_maxfwd_header("10")) {
                sl_send_reply("483","Too Many Hops");
                break;
        };
        if ( msg:len > max_len ) {
                sl_send_reply("513", "Message too big");
                break;
        };

        # we record-route all messages -- to make sure that
        # subsequent messages will go through our proxy; that's
        # particularly good if upstream and downstream entities
        # use different transport protocol
        record_route();
        # loose-route processing
        if (loose_route()) {
                t_relay();
                break;
        };

        # if the request is for other domain use UsrLoc
        # (in case, it does not work, use the following command
        # with proper names and addresses in it)
        if (uri==myself) {

                if (method=="REGISTER") {

# Uncomment this if you want to use digest authentication
                        if (!radius_www_authorize("orau.net")) {
                                www_challenge("orau.net", "1");
                                break;
                        };

                        save("location");
                        break;
                };

                # native SIP destinations are handled using our USRLOC DB
                if (!lookup("location")) {
                        sl_send_reply("404", "Not Found");
                        break;
                };
        };
        # forward to current uri now; use stateful forwarding; that
        # works reliably even if we forward from TCP to UDP
        if (!t_relay()) {
                sl_reply_error();
        };

}

 

Grep
=====================================================
interface: eth0 (10.0.0.0/255.255.0.0)
#
#
U 10.5.10.1:1759 -> 10.0.2.1:5060
  REGISTER sip:comm01.orau.net SIP/2.0..Via: SIP/2.0/UDP
10.5.10.1:11478..Fro
  m:
<sip:morriss at comm01.orau.net>;tag=d2ccaa85-ce19-4999-9c66-8dc83d6338bd..
  To: <sip:morriss at comm01.orau.net>..Call-ID:
477cccac-37ac-439f-875a-df33542
  05d82 at 10.5.10.1..CSeq: 1 REGISTER..Contact:
<sip:10.5.10.1:11478>;methods="
  INVITE, MESSAGE, INFO, SUBSCRIBE, OPTIONS, BYE, CANCEL, NOTIFY,
ACK"..User-
  Agent: Windows RTC/1.0..Expires: 1200..Event: registration..Allow-Events:
p
  resence..Content-Length: 0....
#
T 143.126.10.0 -> 2.1.0.0 +1540 at 8:28
  ..........[..~..............
#
U 10.0.2.1:33128 -> 10.0.2.253:53
  nW..........._sip._udp.comm01.orau.net..!..
#
U 10.0.2.253:53 -> 10.0.2.1:33128
 
nW..........._sip._udp.comm01.orau.net..!...orau.net..........&.lithium.+.a
  dmin.+..  .......X..Q.....
#
U 10.0.2.1:33128 -> 10.0.2.253:53
  nX..........._sip._udp.comm01.orau.net..!..
#
U 10.0.2.253:53 -> 10.0.2.1:33128
 
nX..........._sip._udp.comm01.orau.net..!...orau.net..........&.lithium.+.a
  dmin.+..  .......X..Q.....
#
U 10.0.2.1:33128 -> 10.0.2.253:53
  nY...........comm01.orau.net.....
#
U 10.0.2.253:53 -> 10.0.2.1:33128
  nY...........comm01.orau.net.....................
#
U 10.0.2.1:33128 -> 10.0.2.253:53
  nZ..........._sip._udp.comm01.orau.net..!..
#
U 10.0.2.253:53 -> 10.0.2.1:33128
 
nZ..........._sip._udp.comm01.orau.net..!...orau.net..........&.lithium.+.a
  dmin.+..  .......X..Q.....
#
U 10.0.2.1:33128 -> 10.0.2.253:53
  n[..........._sip._udp.comm01.orau.net..!..
#
U 10.0.2.253:53 -> 10.0.2.1:33128
 
n[..........._sip._udp.comm01.orau.net..!...orau.net..........&.lithium.+.a
  dmin.+..  .......X..Q.....
#
U 10.0.2.1:33128 -> 10.0.2.253:53
  n\...........comm01.orau.net.....
#
U 10.0.2.253:53 -> 10.0.2.1:33128
  n\...........comm01.orau.net.....................
#
U 10.0.2.1:33128 -> 10.0.2.253:53
  n]..........._sip._udp.comm01.orau.net..!..
#
U 10.0.2.253:53 -> 10.0.2.1:33128
 
n]..........._sip._udp.comm01.orau.net..!...orau.net..........&.lithium.+.a
  dmin.+..  .......X..Q.....
#
U 10.0.2.1:33128 -> 10.0.2.253:53
  n^..........._sip._udp.comm01.orau.net..!..
#
U 10.0.2.253:53 -> 10.0.2.1:33128
 
n^..........._sip._udp.comm01.orau.net..!...orau.net..........&.lithium.+.a
  dmin.+..  .......X..Q.....
#
U 10.0.2.1:33128 -> 10.0.2.253:53
  n_...........comm01.orau.net.....
#
U 10.0.2.253:53 -> 10.0.2.1:33128
  n_...........comm01.orau.net.....................
#
U 10.0.2.1:33128 -> 10.0.2.253:53
  n^..........._sip._udp.comm01.orau.net..!..
#
U 10.0.2.253:53 -> 10.0.2.1:33128
 
n^..........._sip._udp.comm01.orau.net..!...orau.net..........&.lithium.+.a
  dmin.+..  .......X..Q.....
#
U 10.0.2.1:33128 -> 10.0.2.253:53
  n_..........._sip._udp.comm01.orau.net..!..
#
U 10.0.2.253:53 -> 10.0.2.1:33128
 
n_..........._sip._udp.comm01.orau.net..!...orau.net..........&.lithium.+.a
  dmin.+..  .......X..Q.....
#
U 10.0.2.1:33128 -> 10.0.2.253:53
  n`...........comm01.orau.net.....
#
U 10.0.2.253:53 -> 10.0.2.1:33128
  n`...........comm01.orau.net.....................
#
U 10.0.2.1:33128 -> 10.0.2.253:53
  nS..........._sip._udp.comm01.orau.net..!..
#
U 10.0.2.253:53 -> 10.0.2.1:33128
 
nS..........._sip._udp.comm01.orau.net..!...orau.net..........&.lithium.+.a
  dmin.+..  .......X..Q.....
#
U 10.0.2.1:33128 -> 10.0.2.253:53
  nT..........._sip._udp.comm01.orau.net..!..
#
U 10.0.2.253:53 -> 10.0.2.1:33128
 
nT..........._sip._udp.comm01.orau.net..!...orau.net..........&.lithium.+.a
  dmin.+..  .......X..Q.....
#
U 10.0.2.1:33128 -> 10.0.2.253:53
  nU...........comm01.orau.net.....
#
U 10.0.2.253:53 -> 10.0.2.1:33128
  nU...........comm01.orau.net.....................
#
U 10.0.2.1:33128 -> 10.0.2.253:53
  nV..........._sip._udp.comm01.orau.net..!..
#
U 10.0.2.253:53 -> 10.0.2.1:33128
 
nV..........._sip._udp.comm01.orau.net..!...orau.net..........&.lithium.+.a
  dmin.+..  .......X..Q.....
#
U 10.0.2.1:33128 -> 10.0.2.253:53
  nW..........._sip._udp.comm01.orau.net..!..
#
U 10.0.2.253:53 -> 10.0.2.1:33128
 
nW..........._sip._udp.comm01.orau.net..!...orau.net..........&.lithium.+.a
  dmin.+..  .......X..Q.....
#
U 10.0.2.1:33128 -> 10.0.2.253:53
  nX...........comm01.orau.net.....
#
U 10.0.2.253:53 -> 10.0.2.1:33128
  nX...........comm01.orau.net.....................
#
U 10.0.2.1:33128 -> 10.0.2.253:53
  nY..........._sip._udp.comm01.orau.net..!..
#
U 10.0.2.253:53 -> 10.0.2.1:33128
 
nY..........._sip._udp.comm01.orau.net..!...orau.net..........&.lithium.+.a
  dmin.+..  .......X..Q.....
#
U 10.0.2.1:33128 -> 10.0.2.253:53
  nZ..........._sip._udp.comm01.orau.net..!..
#
U 10.0.2.253:53 -> 10.0.2.1:33128
 
nZ..........._sip._udp.comm01.orau.net..!...orau.net..........&.lithium.+.a
  dmin.+..  .......X..Q.....
#
U 10.0.2.1:33128 -> 10.0.2.253:53
  n[...........comm01.orau.net.....
#
U 10.0.2.253:53 -> 10.0.2.1:33128
  n[...........comm01.orau.net.....................
#
U 10.0.2.1:33128 -> 10.0.2.253:53
  na..........._sip._udp.comm01.orau.net..!..
#
U 10.0.2.253:53 -> 10.0.2.1:33128
 
na..........._sip._udp.comm01.orau.net..!...orau.net..........&.lithium.+.a
  dmin.+..  .......X..Q.....
#
U 10.0.2.1:33128 -> 10.0.2.253:53
  nb..........._sip._udp.comm01.orau.net..!..
#
U 10.0.2.253:53 -> 10.0.2.1:33128
 
nb..........._sip._udp.comm01.orau.net..!...orau.net..........&.lithium.+.a
  dmin.+..  .......X..Q.....
#
U 10.0.2.1:33128 -> 10.0.2.253:53
  nc...........comm01.orau.net.....
#
U 10.0.2.253:53 -> 10.0.2.1:33128
  nc...........comm01.orau.net.....................
#
U 10.0.2.1:33128 -> 10.0.2.253:53
  na..........._sip._udp.comm01.orau.net..!..
#
U 10.0.2.253:53 -> 10.0.2.1:33128
 
na..........._sip._udp.comm01.orau.net..!...orau.net..........&.lithium.+.a
  dmin.+..  .......X..Q.....
#
U 10.0.2.1:33128 -> 10.0.2.253:53
  nb..........._sip._udp.comm01.orau.net..!..
#
U 10.0.2.253:53 -> 10.0.2.1:33128
 
nb..........._sip._udp.comm01.orau.net..!...orau.net..........&.lithium.+.a
  dmin.+..  .......X..Q.....
#
U 10.0.2.1:33128 -> 10.0.2.253:53
  nc...........comm01.orau.net.....
#
U 10.0.2.253:53 -> 10.0.2.1:33128
  nc...........comm01.orau.net.....................
#
U 10.0.2.1:33128 -> 10.0.2.253:53
  nd..........._sip._udp.comm01.orau.net..!..
#
U 10.0.2.253:53 -> 10.0.2.1:33128
 
nd..........._sip._udp.comm01.orau.net..!...orau.net..........&.lithium.+.a
  dmin.+..  .......X..Q.....
#
U 10.0.2.1:33128 -> 10.0.2.253:53
  ne..........._sip._udp.comm01.orau.net..!..
#
U 10.0.2.253:53 -> 10.0.2.1:33128
 
ne..........._sip._udp.comm01.orau.net..!...orau.net..........&.lithium.+.a
  dmin.+..  .......X..Q.....
#
U 10.0.2.1:33128 -> 10.0.2.253:53
  nf...........comm01.orau.net.....
#
U 10.0.2.253:53 -> 10.0.2.1:33128
  nf...........comm01.orau.net.....................
#
U 10.0.2.1:33128 -> 10.0.2.253:53
  ng..........._sip._udp.comm01.orau.net..!..
#
U 10.0.2.253:53 -> 10.0.2.1:33128
 
ng..........._sip._udp.comm01.orau.net..!...orau.net..........&.lithium.+.a
  dmin.+..  .......X..Q.....
#
U 10.0.2.1:33128 -> 10.0.2.253:53
  nh..........._sip._udp.comm01.orau.net..!..
#
U 10.0.2.253:53 -> 10.0.2.1:33128
 
nh..........._sip._udp.comm01.orau.net..!...orau.net..........&.lithium.+.a
  dmin.+..  .......X..Q.....
#
U 10.0.2.1:33128 -> 10.0.2.253:53
  ni...........comm01.orau.net.....
#
U 10.0.2.253:53 -> 10.0.2.1:33128
  ni...........comm01.orau.net.....................
#
T 143.126.10.0 -> 2.1.0.0 +1540 at 8:28
  ..........[..~..............
#
U 10.0.2.1:5060 -> 10.5.10.1:11478
  SIP/2.0 483 Too Many Hops..Via: SIP/2.0/UDP 10.5.10.1:11478..From:
<sip:mor
  riss at comm01.orau.net>;tag=d2ccaa85-ce19-4999-9c66-8dc83d6338bd..To:
<sip:mo
  rriss at comm01.orau.net>;tag=b27e1a1d33761e85846fc98f5f3a7e58.42f4..Call-ID:
  477cccac-37ac-439f-875a-df3354205d82 at 10.5.10.1..CSeq: 1 REGISTER..Server:
S
  ip EXpress router (0.8.12 (i386/linux))..Content-Length: 0..Warning: 392
10
  .0.2.1:5060 "Noisy feedback tells:  pid=11805 req_src_ip=10.0.2.1
req_src_p
  ort=5060 in_uri=sip:comm01.orau.net out_uri=sip:comm01.orau.net
via_cnt==12
  "....
#
U 10.0.2.253:68 -> 255.255.255.255:67
 
...........................................................................
 
...........................................................................
 
...........................................................................
  ...........c.Sc5..+.^..
#
U 10.0.2.253:67 -> 255.255.255.255:68
 
...........................................................................
 
...........................................................................
 
...........................................................................
 
...........c.Sc5..6...........+._.orau.net.................................
exit




More information about the sr-users mailing list