I need some help and guidance here as I am fairly new
to openser but have made some progress....
Can some one throw some light on this issue. I am
using a standard openser script from
sipwise.com. I
have several ATA or UAC registered with
openser-1.1.1-tls. THe registration process works just
fine. I can make calls etc. no issues. I am using
Mediaproxy for nat traversal and no issues there too.
Since I am using the internet (not private LAN) to
connect these devices, I have set my register
expiration time to 1200 seconds.
Now after a few hours of operation, I see that some of
the ATA or UAC (HT486) deregister. I have used "ngrep"
and I can see:
1. UAC sends REGISTER request
2. openser responds by saying "100" "Trying"
2. Openser generates a 401 unauthorized
3. UAC once again generates REGISTER request
and this goes on. The only way to correct this issue
is to reboot the ATA by powering it off and on. Any
ideas why this may happen?
When I run the same devices using Asterisk I dont see
the devices deregister but I would like to use
Asterisk only a PSTN gateway.
I have included a trace of this below
Thanks in advance
Raju
====================================================
From: <sip:88@lmnopq.com>;tag=ed8cb29199123c47.
To: <sip:88@lmnopq.com>.
Contact: <sip:88@YY.YYY.YYY.YY:50826>.
Supported: replaces, timer.
Call-ID: a679dcef0eebdbec(a)192.168.1.5.
CSeq: 100 REGISTER.
Expires: 60.
User-Agent: TigerNetCom 1.02.12.0.9.11.
Max-Forwards: 70.
Allow:
INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE.
Content-Length: 0.
.
U 2008/01/03 13:42:29.518524 XXX.XX.XXX.XXX:5060 ->
YY.YYY.YYY.YY:50825
SIP/2.0 100 Trying.
Via: SIP/2.0/UDP
YY.YYY.YYY.YY:50826;branch=z9hG4bK0826bc66f89e21de;rport=50825.
From: <sip:88@lmnopq.com>;tag=ed8cb29199123c47.
To: <sip:88@lmnopq.com>.
Call-ID: a679dcef0eebdbec(a)192.168.1.5.
CSeq: 100 REGISTER.
Server: OpenSer (1.1.1-tls (i386/linux)).
Content-Length: 0.
.
U 2008/01/03 13:42:29.518566 XXX.XX.XXX.XXX:5060 ->
YY.YYY.YYY.YY:50825
SIP/2.0 401 Unauthorized.
Via: SIP/2.0/UDP
YY.YYY.YYY.YY:50826;branch=z9hG4bK0826bc66f89e21de;rport=50825.
From: <sip:88@lmnopq.com>;tag=ed8cb29199123c47.
To:<sip:88@lmnopq.com>;tag=5cc123387d097550f225581b658b043b.4f69.
Call-ID: a679dcef0eebdbec(a)192.168.1.5.
CSeq: 100 REGISTER.
WWW-Authenticate: Digest realm="lmnopq.com",
nonce="477d57f148e6dc9dd21502b6c60d4bfe9d061657".
Server: OpenSer (1.1.1-tls (i386/linux)).
Content-Length: 0.
After this the register with same cseq shows up and
the device does not register....