Show phone as online/offline

I am using linphone on my laptop with asterisk set as a proxy and I would like that other users can see my online/offline status. Internal and external.

Currently I show as offline permanently, even though you can dial in to me.

Any ideas?

Er I guess I mean prescence

I tried this: voip-info.org/wiki/view/Asterisk+presence

For asterisk 1.6.x.x but it doesn’t seem to work.