Hi,
I am sending SUBSCRIBE requests to users registered to the Mobicents
Presence server which is deployed using mobicents-sip-presence-
integrated-1.0.0.BETA5.
After the registration is successful, I am sending a SUBSCRIBE from
one user "user3" to another user "user1".
My client application is receiving 489 BAD EVENT instead of a NOTIFY
message.
Can someone please let me know if there is something wrong with my
client application or the Server?
Here is the wireshark trace for the messages:
Frame 11 (481 bytes on wire, 481 bytes captured)
Ethernet II, Src: 00:00:00_00:00:00 (00:00:00:00:00:00), Dst:
00:00:00_00:00:00 (00:00:00:00:00:00)
Internet Protocol, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1
(127.0.0.1)
User Datagram Protocol, Src Port: 5075 (5075), Dst Port: sip (5060)
Session Initiation Protocol
Request-Line: SUBSCRIBE sip:user1@localhost SIP/2.0
Message Header
Call-ID:
cc6e7e6d2cc92249...@127.0.0.1
CSeq: 1 SUBSCRIBE
From: <sip:user3@localhost>;tag=1234
To: "user1" <sip:user1@localhost>;tag=1234
Via: SIP/2.0/UDP localhost:
5075;branch=z9hG4bK1390ecc2abc2641d40689913ce8f54c2323438
Max-Forwards: 70
Accept: application/pidf+xml
Expires: 3600
Contact: "user3" <sip:us...@127.0.0.1:5075;transport=udp>
Event: Presence
Content-Length: 0
No. Time Source Destination
Protocol Info
12 20.587816 127.0.0.1 127.0.0.1
SIP Status: 489 Bad Event
Frame 12 (470 bytes on wire, 470 bytes captured)
Ethernet II, Src: 00:00:00_00:00:00 (00:00:00:00:00:00), Dst:
00:00:00_00:00:00 (00:00:00:00:00:00)
Internet Protocol, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1
(127.0.0.1)
User Datagram Protocol, Src Port: sip (5060), Dst Port: 5075 (5075)
Session Initiation Protocol
Status-Line: SIP/2.0 489 Bad Event
Message Header
Call-ID:
cc6e7e6d2cc92249...@127.0.0.1
CSeq: 1 SUBSCRIBE
From: <sip:user3@localhost>;tag=1234
To: "user1" <sip:user1@localhost>;tag=1234
Via: SIP/2.0/UDP localhost:
5075;branch=z9hG4bK1390ecc2abc2641d40689913ce8f54c2323438;received=127.0.0.1
Allow-Events: presence,presence.winfo,xcap-diff,xcap-
diff.winfo
Contact: "Mobicents SIP Event Server" <sip:
127.0.0.1:5060>
Content-Length: 0
Thanks for your help,
Jaya