[Serusers] about SER

송 미진 trytry02 at hotmail.com
Fri Sep 23 18:11:31 CEST 2005


confirm 83b7fb1612811c64f85f47a6046dd84dea286d15

Dear. All
Hi~  I was adviced many times by "seruser" but my problems has not been 
solved.
I,m afraid that I have many questions.
So I intend to specify my present situation.
 
Operating System: Linux Fedora 3

================================================================================


[root at cse3 ~]# serctl start

Starting SER : started pid(8370)


[root at cse3 ~]# serctl ps
0       8370    attendant
1       8375    fifo server
2       8377    receiver child=0 sock= 127.0.0.1:5060
3       8379    receiver child=1 sock= 127.0.0.1:5060
4       8384    receiver child=2 sock= 127.0.0.1:5060
5       8386    receiver child=3 sock= 127.0.0.1:5060
6       8387    receiver child=0 sock= 192.168.178.193:5060
7       8390    receiver child=1 sock= 192.168.178.193:5060
8       8393    receiver child=2 sock= 192.168.178.193:5060
9       8397    receiver child=3 sock= 192.168.178.193:5060
10      8401    timer
11      8403    tcp receiver
12      8406    tcp receiver
13      8410    tcp receiver
14      8412    tcp receiver
15      8415    tcp main process

==============================================================================


my_ip:  192.168.178.193
sip_uri:  sip:hjkim at 192.168.178.193

I added my hostname and my ip address in /etc/host file. 
And I added 
alias="hostname.myserver.sampro.cse" 
alias="192.168.178.193"   
in /usr/local/etc/ser/ser.cfg  file.

====================================        1        
============================================

[root at cse3 ~]# serctl ping sip:hjkim at 192.168.178.193
[1]+  Done                    cat <$path | filter_fl
483

===========================================================================================

====================================         2        
===========================================

 
I  received "SIP/2.0 483 Too Many Hops" .
but  I don't know the reason.

Well...My computer is connected other computers including computer  has 
192.168.178.194 as ip address. And my /etc/host file has 

127.0.0.1                cse4     localhost.localdomain localhost
192.168.178.194       kims     myserver.sampro.cse

Is there reason in here???  I don't know .

===========================================================================================


[root at cse3 ~]# sipsak -T -s sip:hjkim at 192.168.178.193
warning: IP extract from warning activated to be more informational
0: 192.168.178.193 (0.355 ms) SIP/2.0 483 Too Many Hops
1: 192.168.178.193 (0.982 ms) SIP/2.0 483 Too Many Hops
2: 192.168.178.193 (0.459 ms) SIP/2.0 483 Too Many Hops
3: 192.168.178.193 (0.520 ms) SIP/2.0 483 Too Many Hops
....................

177: timeout after 500 ms
177: timeout after 1000 ms
177: timeout after 2000 ms
177: 192.168.178.193 (3306.067 ms) SIP/2.0 483 Too Many Hops
178: 192.168.178.193 (3.073 ms) SIP/2.0 483 Too Many Hops
179: 192.168.178.193 (3.104 ms) SIP/2.0 483 Too Many Hops
..................

313: 192.168.178.193 (3.345 ms) SIP/2.0 483 Too Many Hops
314: 192.168.178.193 (3.494 ms) SIP/2.0 483 Too Many Hops
315: 192.168.178.193 (3.038 ms) SIP/2.0 483 Too Many Hops
316: 192.168.178.193 (3.518 ms) SIP/2.0 483 Too Many Hops
317: 192.168.178.193 (5.048 ms) SIP/2.0 500 I'm terribly sorry, server 
error occurred (1/SL)
       without Contact header



============================================================================================

========================================           3         
======================================


In response part,
I found the message "SIP/2.0 401 Unauthorized" and "authorization failed  
request already contains (Proxy-) Authorization, but received 40[1|7], see 
above"
What happened??

============================================================================================


[root at cse3 ~]# sipsak -U -vv -s sip:hjkim at 192.168.178.193
warning: ignoring -i option when in usrloc mode
registering user hjkim... authorizing
registering user hjkim...
request:
REGISTER sip:192.168.178.193 SIP/2.0
Authorization: Digest username="hjkim", uri="sip:192.168.178.193", 
algorithm=MD5, realm="myserver.sampro.cse", 
nonce="4333e4b8b0199c2d9c0f8bd249bedc3b8b20bf87", 
response="f58e11aff01e5123bcf5010405e91278"
Via: SIP/2.0/UDP 127.0.0.1:32860;branch=z9hG4bK.4f28e7fb;rport
From: sip:hjkim at 192.168.178.193;tag=4de59540
To: sip:hjkim at 192.168.178.193
Call-ID: 1306891584 at 127.0.0.1
CSeq: 2 REGISTER
Content-Length: 0
Max-Forwards: 70
User-Agent: sipsak 0.9.1
Expires: 15
Contact: sip:hjkim at 127.0.0.1:32860


response:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 
127.0.0.1:32860;branch=z9hG4bK.4f28e7fb;rport=32860;received=192.168.178.193

From: sip:hjkim at 192.168.178.193;tag=4de59540
To: sip:hjkim at 192.168.178.193;tag=b27e1a1d33761e85846fc98f5f3a7e58.ad3a
Call-ID: 1306891584 at 127.0.0.1
CSeq: 2 REGISTER
WWW-Authenticate: Digest realm="myserver.sampro.cse", 
nonce="4333e4b8b0199c2d9c0f8bd249bedc3b8b20bf87"
Server: Sip EXpress router (0.9.4 (i386/linux))
Content-Length: 0
Warning: 392 192.168.178.193:5060 "Noisy feedback tells:  pid=8397 
req_src_ip=192.168.178.193 req_src_port=32860 in_uri=sip:192.168.178.193 
out_uri=sip:192.168.178.193 via_cnt==1"


error: authorization failed
      request already contains (Proxy-) Authorization, but received 
40[1|7], see above


============================================================================================



[root at cse3 ~]# serctl ul show
Dumping all contacts may take long: are you sure you want to proceed? [Y|N] 
y
===Domain list===
---Domain---
name : 'aliases'
size : 512
table: 0xf50b44c8
d_ll {
   n    : 0
   first: (nil)
   last : (nil)
}
---/Domain---
---Domain---
name : 'location'
size : 512
table: 0xf50b2218
d_ll {
   n    : 2
   first: 0xf50b4220
   last : 0xf50b4348
}

...Record(0xf50b4220)...
domain: 'location'
aor   : 'kim'
~~~Contact(0xf50b4260)~~~
domain    : 'location'
aor       : 'kim'
Contact   : 'sip:hjkim at myserver.sampro.cse'
Expires   : Permanent
q         : 1
Call-ID   : 
'The-Answer-To-The-Ultimate-Question-Of-Life-Universe-And-Everything'
CSeq      : 42
User-Agent: 'SIP Express Router FIFO'
received  : ''
State     : CS_SYNC
Flags     : 128
next      : (nil)
prev      : (nil)
~~~/Contact~~~~
.../Record...
...Record(0xf50b4348)...
domain: 'location'
aor   : 'mj'
~~~Contact(0xf50b4388)~~~
domain    : 'location'
aor       : 'mj'
Contact   : 'sip:mj at myserver.sampro.cse'
Expires   : Permanent
q         : 1
Call-ID   : 
'The-Answer-To-The-Ultimate-Question-Of-Life-Universe-And-Everything'
CSeq      : 42
User-Agent: 'SIP Express Router FIFO'
received  : ''
State     : CS_SYNC
Flags     : 128
next      : (nil)
prev      : (nil)
~~~/Contact~~~~
.../Record...

---/Domain---
===/Domain list===


==================================================================================================================================== 
          4          =====================================

I received the message "received ICMP packet (type: 3, code: 10): from 
192.168.178.194"
What does means this message??


============================================================================================


[root at cse3 ~]# sipsak -T -vv -s sip:iptel at 192.168.178.194
warning: IP extract from warning activated to be more informational
Max-Forwards set to 0

received ICMP packet (type: 3, code: 10): from 192.168.178.194 







######################################################################################



I’d appreciate it if you would give me some solutions.
Thank you in advance.....

mi-jin Song

_________________________________________________________________
행운의 주인공이 이번엔 나일꺼야, 진짜루... 인터넷 복권   
http://www.msn.co.kr/money/interlotto/  




More information about the sr-users mailing list