After having some troubles yesterday I decided to
start over with my installation. I am following the
ser-HowTo.pdf and I have run into a problem.
I installed the rpm file (rpm -i
ser-0.8.12-0.i386.rpm) and ran (/etc/init.d/ser start)
I also installed the mysql module, created the
database and added an administrative user.
In ser.cfg I have the following:
if (uri=~"serIPaddress") {
if (method=="REGISTER") {
if (!www_authorize("serIPaddress",
"subscriber")) {
www_challenge("serIPaddress", "0");
break;
};
save("location");
break;
};
I have attached the output from ngrep (ngrep -n 5060
-d eth0 myAccount)
Any help is appreciated.
__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
NOTE: I have removed my ipaddress from this file:
serIPaddress = the IP address of my ser server
myAccount = my account name
usersExtIP = the external ip address of my SIP client
U usersExtIP:1279 -> serIPaddress:5060
REGISTER sip:serIPaddress SIP/2.0..Via: SIP/2.0/UDP 192.168.10.16:5060..From: myAccount
<sip:myAccount@serIPaddress>;tag=1679191039..To: myAccount
<sip:myAccount@serIPaddress>..Call-ID: 1978684008@19
2.168.10.16..CSeq: 1 REGISTER..Contact:
<sip:myAccount@192.168.10.16:5060>..max-forwards: 70..expires
: 60..Content-Length: 0....
U serIPaddress:5060 -> usersExtIP:5060
SIP/2.0 401 Unauthorized..Via: SIP/2.0/UDP 192.168.10.16:5060;received=usersExtIP..From:
myAccount
<sip:myAccount@serIPaddress>;tag=1679191039..To: myAccount
<sip:myAccount@serIPaddress>;tag=b27e1a
1d33761e85846fc98f5f3a7e58.4d90..Call-ID: 1978684008@192.168.10.16..CSeq: 1
REGISTER..WWW-Authenticat
e: Digest realm="serIPaddress",
nonce="3fe0a0d1c1dbb533ad4f417865cc2a7979ea55be"..Server: Sip EXpres
s router (0.8.12 (i386/linux))..Content-Length: 0..Warning: 392 serIPaddress:5060
"Noisy feedback te
lls: pid=13005 req_src_ip=usersExtIP req_src_port=1279 in_uri=sip:serIPaddress
out_uri=sip:serIPaddress via_cnt==1"....
I usersExtIP -> serIPaddress 3:3
....E.....@.@...CF..CF.......~..SIP/2.0 401 Unauthorized..Via: SIP/2.0/UDP
192.168.10.16:5060;receive
d=usersExtIP..From: myAccount <sip:myAccount@67.
U usersExtIP:1279 -> serIPaddress:5060
REGISTER sip:serIPaddress SIP/2.0..Via: SIP/2.0/UDP 192.168.10.16:5060..From: myAccount
<sip:myAccount@serIPaddress>;tag=1679191039..To: myAccount
<sip:myAccount@serIPaddress>..Call-ID: 1978684008@19
2.168.10.16..CSeq: 1 REGISTER..Contact:
<sip:myAccount@192.168.10.16:5060>..max-forwards: 70..expires
: 60..Content-Length: 0....
U serIPaddress:5060 -> usersExtIP:5060
SIP/2.0 401 Unauthorized..Via: SIP/2.0/UDP 192.168.10.16:5060;received=usersExtIP..From:
myAccount
<sip:myAccount@serIPaddress>;tag=1679191039..To: myAccount
<sip:myAccount@serIPaddress>;tag=b27e1a
1d33761e85846fc98f5f3a7e58.4d90..Call-ID: 1978684008@192.168.10.16..CSeq: 1
REGISTER..WWW-Authenticat
e: Digest realm="serIPaddress",
nonce="3fe0a0d27c13885ef7946e9162e7375e0b780744"..Server: Sip EXpres
s router (0.8.12 (i386/linux))..Content-Length: 0..Warning: 392 serIPaddress:5060
"Noisy feedback te
lls: pid=12987 req_src_ip=usersExtIP req_src_port=1279 in_uri=sip:serIPaddress
out_uri=sip:serIPaddress via_cnt==1"....
I usersExtIP -> serIPaddress 3:3
....E.....@.@...CF..CF.......~..SIP/2.0 401 Unauthorized..Via: SIP/2.0/UDP
192.168.10.16:5060;receive
d=usersExtIP..From: myAccount <sip:myAccount@67.
U usersExtIP:1279 -> serIPaddress:5060
REGISTER sip:serIPaddress SIP/2.0..Via: SIP/2.0/UDP 192.168.10.16:5060..From: myAccount
<sip:myAccount@serIPaddress>;tag=1679191039..To: myAccount
<sip:myAccount@serIPaddress>..Call-ID: 1978684008@19
2.168.10.16..CSeq: 1 REGISTER..Contact:
<sip:myAccount@192.168.10.16:5060>..max-forwards: 70..expires
: 60..Content-Length: 0....
U serIPaddress:5060 -> usersExtIP:5060
SIP/2.0 401 Unauthorized..Via: SIP/2.0/UDP 192.168.10.16:5060;received=usersExtIP..From:
myAccount
<sip:myAccount@serIPaddress>;tag=1679191039..To: myAccount
<sip:myAccount@serIPaddress>;tag=b27e1a
1d33761e85846fc98f5f3a7e58.4d90..Call-ID: 1978684008@192.168.10.16..CSeq: 1
REGISTER..WWW-Authenticat
e: Digest realm="serIPaddress",
nonce="3fe0a0d5405b70ebb4730d4d4e03f32b87c756c1"..Server: Sip EXpres
s router (0.8.12 (i386/linux))..Content-Length: 0..Warning: 392 serIPaddress:5060
"Noisy feedback te
lls: pid=12993 req_src_ip=usersExtIP req_src_port=1279 in_uri=sip:serIPaddress
out_uri=sip:serIPaddress via_cnt==1"....
I usersExtIP -> serIPaddress 3:3
....E.....@.@...CF..CF.......~.pSIP/2.0 401 Unauthorized..Via: SIP/2.0/UDP
192.168.10.16:5060;receive
d=usersExtIP..From: myAccount <sip:myAccount@67.
U usersExtIP:1279 -> serIPaddress:5060
REGISTER sip:serIPaddress SIP/2.0..Via: SIP/2.0/UDP 192.168.10.16:5060..From: myAccount
<sip:myAccount@serIPaddress>;tag=1679191039..To: myAccount
<sip:myAccount@serIPaddress>..Call-ID: 1978684008@19
2.168.10.16..CSeq: 1 REGISTER..Contact:
<sip:myAccount@192.168.10.16:5060>..max-forwards: 70..expires
: 60..Content-Length: 0....
U serIPaddress:5060 -> usersExtIP:5060
SIP/2.0 401 Unauthorized..Via: SIP/2.0/UDP 192.168.10.16:5060;received=usersExtIP..From:
myAccount
<sip:myAccount@serIPaddress>;tag=1679191039..To: myAccount
<sip:myAccount@serIPaddress>;tag=b27e1a
1d33761e85846fc98f5f3a7e58.4d90..Call-ID: 1978684008@192.168.10.16..CSeq: 1
REGISTER..WWW-Authenticat
e: Digest realm="serIPaddress",
nonce="3fe0a0d93c85c56d4e41c55d53ffd5216cd23860"..Server: Sip EXpres
s router (0.8.12 (i386/linux))..Content-Length: 0..Warning: 392 serIPaddress:5060
"Noisy feedback te
lls: pid=13002 req_src_ip=usersExtIP req_src_port=1279 in_uri=sip:serIPaddress
out_uri=sip:serIPaddress via_cnt==1"....
I usersExtIP -> serIPaddress 3:3
....E.....@.@...CF..CF.......~.sSIP/2.0 401 Unauthorized..Via: SIP/2.0/UDP
192.168.10.16:5060;receive
d=usersExtIP..From: myAccount <sip:myAccount@67.