[SR-Users] Presence Subscription / Subscription-State: pending

Daniel-Constantin Mierla miconda at gmail.com
Thu Jul 19 15:34:04 CEST 2012


Hello,

On 7/19/12 1:01 PM, Durmuş Ali Öztürk wrote:
> Hi Daniel,
>
> Not mwi, presence.winfo I have mean.

winfo is to watch the state of your watchers in regard to the relation 
with you as presentity. presence event is to watch the states of your 
buddy list contacts.

Usually, you have to watch both, first to know when someone wants to 
watch you, second to see what your contacts are doing.

Cheers,
Daniel
>
> Thank you.
>
> 2012/7/19 Jason Penton <jason.penton at smilecoms.com 
> <mailto:jason.penton at smilecoms.com>>
>
>     ok cool
>
>
>     On Thu, Jul 19, 2012 at 9:15 AM, Daniel-Constantin Mierla
>     <miconda at gmail.com <mailto:miconda at gmail.com>> wrote:
>
>         Hello,
>
>         please keep the mailing list cc-ed, private emails from
>         mailing list discussions will be ignored.
>
>         On 7/19/12 8:28 AM, Durmuş Ali Öztürk wrote:
>>         Hi Daniel,
>>
>>         Thank you for your advise. I have found the problem, I
>>         thought it is enough to subscribe with my own ID but fact is
>>         I have to subscribe to the buddies of my contact list.This
>>         was not clear for me at the beginning.
>         ok, great you found it.
>
>>
>>         It is better to subscribe only to the presence.wmi? Or should
>>         I susbcribe to presence and presence.wmi?
>
>         Do you mean presence mwi? mwi is for message waiting
>         indication, like voicemail, so you get notifications when
>         someone leaves you a message on the media server.
>
>         Cheers,
>         Daniel
>>
>>         Best Regards,
>>         Ali
>>
>>
>>         2012/7/18 Daniel-Constantin Mierla <miconda at gmail.com
>>         <mailto:miconda at gmail.com>>
>>
>>             Hello,
>>
>>             when you updated the presence rules via xcap, did you
>>             executed the function to update the notifiers as well? I
>>             mean the two function at:
>>
>>             http://kamailio.org/docs/modules/stable/modules_k/presence.html#id2496049
>>
>>             Cheers,
>>             Daniel
>>
>>
>>
>>             On 7/18/12 9:29 AM, Durmuş Ali Öztürk wrote:
>>>             Hi All,
>>>
>>>             I am trying to subscribe to the presence event but
>>>             unfortunaly I am getting following Notify with the
>>>             "Subscription-State: pending" status.
>>>
>>>             NOTIFY sip:5000 at 192.168.127.138:55583
>>>             <http://sip:5000@192.168.127.138:55583> SIP/2.0
>>>             Via: SIP/2.0/UDP
>>>             192.168.127.230;branch=z9hG4bK6a8e.19cd7bb7.0
>>>             To: sip:5000 at 192.168.127.230
>>>             <mailto:sip%3A5000 at 192.168.127.230>;tag=2786be25cb234561b8dea2e067fd769c-5000
>>>             From: sip:5000 at 192.168.127.230
>>>             <mailto:sip%3A5000 at 192.168.127.230>;tag=a6a1c5f60faecf035a1ae5b6e96e979a-6a8e
>>>             CSeq: 2 NOTIFY
>>>             Call-ID: e4ec6031-99e1-de11-8845-5000 at vvt-laptop
>>>             Content-Length: 0
>>>             User-Agent: kamailio (3.2.3 (i386/linux))
>>>             Max-Forwards: 70
>>>             Event: presence
>>>             Contact: <sip:192.168.127.230:5060;transport=udp>
>>>             Subscription-State: pending;expires=3670
>>>
>>>
>>>             For the implemantation I followed the guide from
>>>             http://kb.asipto.com/kamailio:presence:k31-made-simple
>>>
>>>             The xcap table has already the needed resource-lists
>>>             and pres-rules record.
>>>
>>>             Is there another guide exists for the presence module
>>>             which can be helpfully for me?
>>>
>>>             Thank you in advance
>>>             ali
>>>
>>>
>>>
>>>
>>>             _______________________________________________
>>>             SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>>             sr-users at lists.sip-router.org  <mailto:sr-users at lists.sip-router.org>
>>>             http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>>             -- 
>>             Daniel-Constantin Mierla -http://www.asipto.com
>>             http://twitter.com/#!/miconda  <http://twitter.com/#%21/miconda>  -http://www.linkedin.com/in/miconda
>>             Kamailio Advanced Training, Seattle, USA, Sep 23-26, 2012 -http://asipto.com/u/katu
>>             Kamailio Practical Workshop, Netherlands, Sep 10-12, 2012 -http://asipto.com/u/kpw
>>
>>
>
>         -- 
>         Daniel-Constantin Mierla -http://www.asipto.com
>         http://twitter.com/#!/miconda  <http://twitter.com/#%21/miconda>  -http://www.linkedin.com/in/miconda
>         Kamailio Advanced Training, Seattle, USA, Sep 23-26, 2012 -http://asipto.com/u/katu
>         Kamailio Practical Workshop, Netherlands, Sep 10-12, 2012 -http://asipto.com/u/kpw
>
>
>         _______________________________________________
>         SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
>         mailing list
>         sr-users at lists.sip-router.org
>         <mailto:sr-users at lists.sip-router.org>
>         http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
>     This email is subject to the disclaimer of Smile Communications (PTY) Ltd. athttp://www.smilecoms.com/disclaimer
>
>
>     _______________________________________________
>     SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
>     list
>     sr-users at lists.sip-router.org <mailto:sr-users at lists.sip-router.org>
>     http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Seattle, USA, Sep 23-26, 2012 - http://asipto.com/u/katu
Kamailio Practical Workshop, Netherlands, Sep 10-12, 2012 - http://asipto.com/u/kpw

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20120719/a60b0d64/attachment-0001.htm>


More information about the sr-users mailing list