Re: [SR-Users] Meaning of empty body in NOTIFY

2011-06-13 Thread Daniel-Constantin Mierla
Hello, On 6/11/11 6:54 AM, Iñaki Baz Castillo wrote: 2011/6/10 Daniel-Constantin Mierla: have you spotted in SIP/SIMPLE specs what has to be sent when the presentity is offline? My quick google was not that succesful. Maybe Inaki has the specs more fresh indexed in memory and can help. If the

Re: [SR-Users] Meaning of empty body in NOTIFY

2011-06-12 Thread Robert Jongbloed
On 11/06/2011, at 2:54 PM, Iñaki Baz Castillo wrote: >> I based my assumption that the sip/simple presence server should not >> generate itself a presence/pidf document with status closed/offline since >> the pidf has a node that is generated by presentity device. > > Right. The presence server

Re: [SR-Users] Meaning of empty body in NOTIFY

2011-06-12 Thread Craig Southeren
On 10/06/2011 9:55 PM, Iñaki Baz Castillo wrote: 2011/6/10 Daniel-Constantin Mierla: Specifically, the RFC says: "During composition, a presence agent (PA) may encounter a stored element that covers the present time. The PA MAY either discard that element or MAY convert it to a regular

Re: [SR-Users] Meaning of empty body in NOTIFY

2011-06-12 Thread Craig Southeren
On 10/06/2011 1:22 PM, Daniel-Constantin Mierla wrote: On 6/10/11 10:07 PM, Craig Southeren wrote: On 10/06/2011 1:01 PM, Daniel-Constantin Mierla wrote:..deleted So, if a client uploads a presence document that contains a element, that element could be sent by the PA when the client goes

Re: [SR-Users] Meaning of empty body in NOTIFY

2011-06-10 Thread Iñaki Baz Castillo
2011/6/10 Daniel-Constantin Mierla : >> Specifically, the RFC says: >> >>  "During composition, a presence agent (PA) may encounter a stored >> element that covers the present time.  The PA MAY either >> discard that element or MAY >>   convert it to a regular element if it considers that >> info

Re: [SR-Users] Meaning of empty body in NOTIFY

2011-06-10 Thread Iñaki Baz Castillo
2011/6/10 Daniel-Constantin Mierla : > have you spotted in SIP/SIMPLE specs what has to be sent when the presentity > is offline? My quick google was not that succesful. Maybe Inaki has the > specs more fresh indexed in memory and can help. If the user has not published a "offline" presentity, the

Re: [SR-Users] Meaning of empty body in NOTIFY

2011-06-10 Thread Daniel-Constantin Mierla
On 6/10/11 10:07 PM, Craig Southeren wrote: On 10/06/2011 1:01 PM, Daniel-Constantin Mierla wrote:..deleted So, if a client uploads a presence document that contains a element, that element could be sent by the PA when the client goes offline, rather than the entire document being discard

Re: [SR-Users] Meaning of empty body in NOTIFY

2011-06-10 Thread Eugen Dedu
On 10/06/11 21:58, Daniel-Constantin Mierla wrote: On 6/10/11 8:17 PM, Craig Southeren wrote: On 10/06/2011 3:49 AM, Daniel-Constantin Mierla wrote: ..deleted Ok. But this happens when I start my application, so it does not know anything about the contacts, and it receives empty body. So, ev

Re: [SR-Users] Meaning of empty body in NOTIFY

2011-06-10 Thread Craig Southeren
On 10/06/2011 11:20 AM, Daniel-Constantin Mierla wrote: ...deleted Thank you so far for your explanations. have you spotted in SIP/SIMPLE specs what has to be sent when the presentity is offline? My quick google was not that succesful. Maybe Inaki has the specs more fresh indexed in memory a

Re: [SR-Users] Meaning of empty body in NOTIFY

2011-06-10 Thread Craig Southeren
On 10/06/2011 3:49 AM, Daniel-Constantin Mierla wrote: ..deleted Ok. But this happens when I start my application, so it does not know anything about the contacts, and it receives empty body. So, even after this notify, it still does not know anything about that contact, is that right? Any

Re: [SR-Users] Meaning of empty body in NOTIFY

2011-06-10 Thread Daniel-Constantin Mierla
On 6/10/11 8:49 PM, Craig Southeren wrote: On 10/06/2011 11:20 AM, Daniel-Constantin Mierla wrote: ...deleted Thank you so far for your explanations. have you spotted in SIP/SIMPLE specs what has to be sent when the presentity is offline? My quick google was not that succesful. Maybe Inak

Re: [SR-Users] Meaning of empty body in NOTIFY

2011-06-10 Thread Daniel-Constantin Mierla
On 6/10/11 8:17 PM, Craig Southeren wrote: On 10/06/2011 3:49 AM, Daniel-Constantin Mierla wrote: ..deleted Ok. But this happens when I start my application, so it does not know anything about the contacts, and it receives empty body. So, even after this notify, it still does not know anyt

Re: [SR-Users] Meaning of empty body in NOTIFY

2011-06-10 Thread Daniel-Constantin Mierla
On 6/10/11 7:58 PM, Eugen Dedu wrote: [...] If the application starts by putting each contact as offline, there will be no difference between no information known (while waiting a notify) and offline. Moreover, no reply to subscribe could be another status: presence error. So I would say

Re: [SR-Users] Meaning of empty body in NOTIFY

2011-06-10 Thread Eugen Dedu
On 10/06/11 16:07, Daniel-Constantine Mierla wrote: On Jun 10, 2011, at 12:27 PM, Eugen Dedu wrote: On 10/06/11 12:18, Daniel-Constantin Mierla wrote: Hello, On 6/10/11 12:04 PM, Eugen Dedu wrote: Thank you very much for your answer. Do you confirm that for kamailio, when a user has not

Re: [SR-Users] Meaning of empty body in NOTIFY

2011-06-10 Thread Daniel-Constantine Mierla
On Jun 10, 2011, at 12:27 PM, Eugen Dedu wrote: > On 10/06/11 12:18, Daniel-Constantin Mierla wrote: >> Hello, >> >> On 6/10/11 12:04 PM, Eugen Dedu wrote: >>> Thank you very much for your answer. >>> >>> Do you confirm that for kamailio, when a user has not been online >>> since a long time

Re: [SR-Users] Meaning of empty body in NOTIFY

2011-06-10 Thread Daniel-Constantin Mierla
On 6/10/11 12:27 PM, Eugen Dedu wrote: On 10/06/11 12:18, Daniel-Constantin Mierla wrote: Hello, On 6/10/11 12:04 PM, Eugen Dedu wrote: Thank you very much for your answer. Do you confirm that for kamailio, when a user has not been online since a long time ago, (1) it answers with an empty

Re: [SR-Users] Meaning of empty body in NOTIFY

2011-06-10 Thread Eugen Dedu
On 10/06/11 12:18, Daniel-Constantin Mierla wrote: Hello, On 6/10/11 12:04 PM, Eugen Dedu wrote: Thank you very much for your answer. Do you confirm that for kamailio, when a user has not been online since a long time ago, (1) it answers with an empty body notify (and not with a body with Offl

Re: [SR-Users] Meaning of empty body in NOTIFY

2011-06-10 Thread Daniel-Constantin Mierla
Hello, On 6/10/11 12:04 PM, Eugen Dedu wrote: Thank you very much for your answer. Do you confirm that for kamailio, when a user has not been online since a long time ago, (1) it answers with an empty body notify (and not with a body with Offline status), and more importantly (2) that this m

Re: [SR-Users] Meaning of empty body in NOTIFY

2011-06-10 Thread Eugen Dedu
Thank you very much for your answer. Do you confirm that for kamailio, when a user has not been online since a long time ago, (1) it answers with an empty body notify (and not with a body with Offline status), and more importantly (2) that this means the user is offline? I ask this because t

Re: [SR-Users] Meaning of empty body in NOTIFY

2011-06-09 Thread Daniel-Constantin Mierla
Hello, the notify is sent to inform about the state of the subscription, which is active in this case. If it would the first subscription to that user and force_active will not be set, then should be subscription state pending, iirc. The empty body does not change anything to the phone infor

Re: [SR-Users] Meaning of empty body in NOTIFY

2011-06-08 Thread Eugen Dedu
No idea? On 05/06/11 22:31, Eugen Dedu wrote: Hi, ekiga.net registrar uses kamailio 1.5.3 (yes, a bit old...) and for users who are not registered an empty NOTIFY body is returned when asked by a SUBSCRIBE. What does this mean from SIP standard point of view, and from kamailio point of view (ar

Re: [SR-Users] Meaning of empty body in NOTIFY

2011-06-06 Thread Robert Jongbloed
> -Original Message- > From: Craig Southeren [mailto:cr...@southeren.com] > Sent: Monday, 6 June 2011 7:22 AM ... > > To resume: What does SIP standard say about this NOTIFY with empty > > body? Does this mean that the user xyz is offline? The specification gives no meaning to an empty bo

Re: [SR-Users] Meaning of empty body in NOTIFY

2011-06-06 Thread Craig Southeren
On 5/06/2011 1:31 PM, Eugen Dedu wrote: Hi, ekiga.net registrar uses kamailio 1.5.3 (yes, a bit old...) and for users who are not registered an empty NOTIFY body is returned when asked by a SUBSCRIBE. What does this mean from SIP standard point of view, and from kamailio point of view (are t

[SR-Users] Meaning of empty body in NOTIFY

2011-06-05 Thread Eugen Dedu
Hi, ekiga.net registrar uses kamailio 1.5.3 (yes, a bit old...) and for users who are not registered an empty NOTIFY body is returned when asked by a SUBSCRIBE. What does this mean from SIP standard point of view, and from kamailio point of view (are they identical?) I see in RFC3265/3.1.6.