[Serusers] Presence client error

Jens-Martin Groenne dev at nullsec.net
Wed Jan 31 12:07:59 CET 2007


Vaclav Kubart wrote:
> According to messages it seems to me, that your client is not able to
> handle "list NOTIFY". Such notifications are sent from RLS module, if a
> client subscribes to a resource-list URI not to a "simple URI".
>
> This problem could cause that RLS was implemented according to an older
> draft version or because client simply doesn't support list
> notifications.
>
> Is it working with non-list notifications? I.e. try to subscribe to an
> existing user (for example to sip:tuser at test-domain.com) and see if
> everything is ok.
>
> 	Vaclav
Do you know any clients that handles list NOTIFY as they are in SER now?

When i try non-list notification I get the same error:
In /var/log/messages
/usr/local/sbin/ser[30885]: INFO: subscribe.c:603: handle_subscription 
about to send_reply and return -2
/usr/local/sbin/ser[30876]: Warning: run_failure_handlers: no UAC 
support (0, 256)
/usr/local/sbin/ser[30876]: WARN: rl_subscription.c:398: destroying 
subscription from callback due to 420 response on NOTIFY

In X-lite debug log:

--RewXdpxR455586034xA1690507469--

" |
[07-01-31]11:58:09.479 | Debug | RESIP | "SipMessage::getContents: 
multipart/related" |
[07-01-31]11:58:09.479 | Debug | RESIP:DUM | "Decrypted message:0280D230
" |
[07-01-31]11:58:09.480 | Info | RESIP:DUM | "Got: SipReq:  NOTIFY 
tuser at 192.168.1.71:54364 tid=d50c.16d08897.0 cseq=NOTIFY 
contact=192.168.1.1:5060 / 10 from(wire)" |
[07-01-31]11:58:09.480 | Info | RESIP:DUM | "Received an unsupported 
option tag(s): SipReq:  NOTIFY tuser at 192.168.1.71:54364 
tid=d50c.16d08897.0 cseq=NOTIFY contact=192.168.1.1:5060 / 10 from(wire)" |
[07-01-31]11:58:09.480 | Debug | RESIP | "Helper::makeResponse(SipReq:  
NOTIFY tuser at 192.168.1.71:54364 tid=d50c.16d08897.0 cseq=NOTIFY 
contact=192.168.1.1:5060 / 10 from(wire) code=420 reason=" |
[07-01-31]11:58:09.480 | Debug | RESIP | "SEND: SipResp: 420 
tid=d50c.16d08897.0 cseq=NOTIFY / 10 from(tu)" |
[07-01-31]11:58:09.480 | Debug | RESIP:DUM | "Failed required options 
validation NOTIFY sip:tuser at 192.168.1.71:54364 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.1;branch=z9hG4bKd50c.16d08897.0
Max-Forwards: 70
Require: eventlist
Contact: <sip:192.168.1.1:5060>
To: ""Jens""<sip:tuser at test-domain.com>;tag=5d062f5d
From: <sip:tuser2 at test-domain.com>;tag=a6a1c5f60faecf035a1ae5b6e96e979a-db3a
Call-ID: OTk2MjgzNjNiYTUzMzFiNDIxMjRlNzE2MDRhZTBhMzI.
CSeq: 10 NOTIFY
Content-Type: 
multipart/related;type=""application/rlmi+xml"";boundary=""RewXdpxR455586034xA1690507469"";start=""qwW388818348pPdxX2033088910""
User-Agent: Sip EXpress router(0.10.99-dev66 (i386/linux))
Subscription-State: active;expires=300
Event: presence
Content-Length: 336

--RewXdpxR455586034xA1690507469
Content-Type: application/rlmi+xml;charset=""UTF-8""
Content-Transfer-Encoding: binary
Content-Id: qwW388818348pPdxX2033088910

<?xml version=""1.0""?>
<list xmlns=""urn:ietf:params:xml:ns:rlmi"" 
uri=""sip:tuser2 at test-domain.com"" version=""0"" fullState=""true"">
</list>

--RewXdpxR455586034xA1690507469--" |
[07-01-31]11:58:09.581 | Debug | RESIP:TRANSACTION | "Adding timer: 
Timer J tid=d50c.16d08897.0 ms=32000" |
[07-01-31]11:58:09.581 | Debug | RESIP:TRANSPORT | "Looked up source for 
destination: [ V4 192.168.1.1:5060 UDP target domain=unspecified 
received on: Transport: [ V4 0.0.0.0:54364 UDP target domain=unspecified 
connectionId=0 ] connectionId=0 ] -> [ V4 192.168.1.71:0 UDP target 
domain=unspecified received on: Transport: [ V4 0.0.0.0:54364 UDP target 
domain=unspecified connectionId=0 ] connectionId=0 ] sent-by=192.168.1.1 
sent-port=0" |
[07-01-31]11:58:09.581 | Debug | RESIP:TRANSPORT | "Transmitting to [ V4 
192.168.1.1:5060 UDP target domain=unspecified received on: Transport: [ 
V4 0.0.0.0:54364 UDP target domain=unspecified connectionId=0 ] 
connectionId=0 ] tlsDomain= via [ V4 192.168.1.71:54364 UDP target 
domain=unspecified received on: Transport: [ V4 0.0.0.0:54364 UDP target 
domain=unspecified connectionId=0 ] connectionId=0 ]SIP/2.0 420 Bad 
Extension
Via: SIP/2.0/UDP 192.168.1.1;branch=z9hG4bKd50c.16d08897.0
To: ""Jens""<sip:tuser at test-domain.com>;tag=5d062f5d
From: <sip:tuser2 at test-domain.com>;tag=a6a1c5f60faecf035a1ae5b6e96e979a-db3a
Call-ID: OTk2MjgzNjNiYTUzMzFiNDIxMjRlNzE2MDRhZTBhMzI.
CSeq: 10 NOTIFY
Unsupported: eventlist
Content-Length: 0

Kind regards,
Jens-Martin Groenne




More information about the sr-users mailing list