[asterisk-dev] SIP Presence using SIP SIMPLE: How?

Olle E. Johansson oej at edvina.net
Sun Apr 27 13:50:22 CDT 2014


On 27 Apr 2014, at 20:01, Dennis Guse <dennis.guse at qu.tu-berlin.de> wrote:

> Hallo,
> 
> I have successfully activated hints and those are working (NOTIFY is send by Asterisk on (un)-register to the subscribed clients). And the presence state can be set using CustomPresence, by calling the dialplan function PRESENCE_STATE [1].
> 
> However, I have some trouble, if clients are setting there presence state the sip way [2], but using Asterisk as proxy (no P2P presence). The clients do not send there presence updates to Asterisk, because is not subscribing on them (there is no SUBSCRIBE-message from Asterisk to a "hinted" client).
> 
> How do I get Asterisk to subscribe on the clients, so Asterisk can the presence update and can relay it? Or is this not implemented?
It is not implemented and Asterisk is not a proxy.

Use Kamailio if you want full presence.

/O
> 
> Software:
> Asterisk is 11.7 on an Ubuntu 14.04
> The clients we use are based upon PJSIP 2.1.
> 
> [1] https://wiki.asterisk.org/wiki/display/AST/Presence+State
> [2] http://www.ietf.org/rfc/rfc3856.txt
> 
> ---
> Dennis Guse
> -- 
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140427/28e0c9fd/attachment.html>


More information about the asterisk-dev mailing list