[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] hi again :)

From: Ivica Babarovic
Subject: Re: [Linphone-developers] hi again :)
Date: Wed, 23 Jul 2003 13:25:30 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003

Klaus Darilion wrote:
The event header is missing, in your case:

Event: presence


Well I managed to come to the stage when I send NOTIFY packet but I get respond from MSN that I'm sending a >>bad request<<. So, I managed to get ...

Thank you for your response Klaus. I added the Event header and still got a bad 
request responce from
windows messenger. The last two packets look like this: = Linphone = Messenger

U ->
  NOTIFY sip: SIP/2.0..Via: SIP/2.0/UDP;branch=2930826916..From: 
<sip:address@hidden>;tag=42013..To: "kvasenica" <sip:address@hidden>
  ;tag=3420d618-8da2-4f37-b1b5-42873a310a34..Call-ID: address@hidden: 1 
NOTIFY..Contact: <sip:address@hidden>..Event: presence..user-agent: oSI
  P/Linphone-0.8.0..Content-Length: 0....
U ->
  SIP/2.0 400 Bad Request..Via: SIP/2.0/UDP;branch=2930826916..From: 
<sip:address@hidden>;tag=42013..To: "kvasenica" <sip:address@hidden>;tag=3420d6
  18-8da2-4f37-b1b5-42873a310a34..Call-ID: address@hidden: 1 
NOTIFY..User-Agent: Windows RTC/1.0..Content-Length: 0....

I observed this process betwen two messengers and I noticed that they dont use 
event header. They add an XML message to the
body of a packet and thats how they achieve event notification. Here is how it 
looks NOTIFY from one messenger to another:     1. messenger    2. messenger

U ->
NOTIFY sip: SIP/2.0..Via: SIP/2.0/UDP <sip:address@hidden>;tag=edcda7b2-41d6-4cba-a8c9-d40f73e9860e..To: "emsy" <sip:address@hidden>;tag=0285094 e-06f7-43a9-9cbe-f3914b428122..Call-ID: address@hidden: 1 NOTIFY..Contact: <sip:>..User-Agent: Windows RTC/1.0..Content-Type: application/xpidf+xml ..Content-Length: 346....<?xml version="1.0"?>.<!DOCTYPE presence.PUBLIC "-//IETF//DTD RFCxxxx XPIDF 1.0//EN" "xpidf.dtd">.<presence>.<presentity uri="sip:address@hidden;method=SUBSCRIBE" />.<ato m id="1003">.<address uri="sip:;user=ip" priority="0.800000">.<status status="open" />.<msnsubstatus substatus="online" />.</address>.</atom>.</presence>.

Naturaly, :) I tried to emulate this and added a simmilar body to my NOTIFY 
packet on linphone.
Of course nothing happened .. bad request again.
Any ideas?

Babarovic Ivica

reply via email to

[Prev in Thread] Current Thread [Next in Thread]