Hi Guys,

I have an interesting issue and wondered if anyone else has seen this issue.

We have a user who is registered with the platform and can make and receive 
calls, however the registration is only ever in the cache, it is not being 
populated in the location table.

When I check its state I can see it registered, and I see its state go from 
CS_DIRTY, to CS_SYNC as it re-registers;

opensipsctl ul show [email protected]
AOR:: 02033279460
        Contact:: sip:02033279460@WANIP:5060 Q=
                Expires:: 266
                Callid:: [email protected]
                Cseq:: 11070
                User-agent:: Asterisk PBX
                State:: CS_DIRTY
                Flags:: 0
                Cflags::
                Socket:: udp:91.X.X.X:5060
                Methods:: 4294967295

opensipsctl ul show [email protected]
AOR:: 02033279460
        Contact:: sip:02033279460@WANIP:5060 Q=
                Expires:: 224
                Callid:: [email protected]
                Cseq:: 11070
                User-agent:: Asterisk PBX
                State:: CS_SYNC
                Flags:: 0
                Cflags::
                Socket:: udp:91.X.X.X:5060
                Methods:: 4294967295


However it isn't contained within the location table, even though other 
registrations are contained in both, as we have the following set;

modparam("usrloc", "db_url", "DBURL")
modparam("usrloc", "db_mode",   2)
modparam("usrloc", "timer_interval", 60)

I have tried to reproduce the issue but cant seem to, the REGISTER message 
being sent looks like the below;



Request-Line: REGISTER sip:sip.provider SIP/2.0
    Message Header
        Via: SIP/2.0/UDP 91.X.X.X:5060;branch=z9hG4bK-25033-1-3
        Max-Forwards: 70
        From: <sip:[email protected]>;tag=1
        To: <sip:[email protected]>
        Call-ID: [email protected]
        CSeq: 8 REGISTER
        Supported: replaces, timer
        User-Agent: Asterisk PBX
        Authorization: Digest 
username="02033279460",realm="sip.provider",uri="sip:91.X.X.X:5060",nonce="59e4d0ae000000019388ae5161ff1f5d2666a1d2adb6e77d",response="e2f9ffb2ccf33c864adb76c950c2221c",algorithm=MD5
        Expires: 120
        Contact: sip:[email protected]:5060
        Content-Length: 0

Note its send the Auth header in initial REGISTER before the 401 challenge.

Does anyone have any tips please on where the issue might be or how best to 
trouble-shoot on a busy live platform?

Many thanks!

Jon

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to