# Publish presence by softphones

**URL:** <https://community.asterisk.org/t/publish-presence-by-softphones/84518>\
**Category:** Asterisk SIP\
**Created:** [June 10, 2020, 7:11pm UTC](https://community.asterisk.org/t/publish-presence-by-softphones/84518 "2020-06-10T19:11:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dux](https://avatars.discourse-cdn.com/v4/letter/d/919ad9/32.png) [@dux](https://community.asterisk.org/u/dux)\
**Post date:** [June 10, 2020, 7:11pm UTC](https://community.asterisk.org/t/publish-presence-by-softphones/84518/1 "2020-06-10T19:11:52Z")

</div>

Hello, all. I have difficulty in publishing presence from my softphones. When I check the publish presence option, I see the following message: res\_pjsip\_pubsub.c:3350 pubsub\_on\_rx\_publish\_request: No registered publish handler for event presence from… If I check hints, I see that the needed extension is idle and presence not set. How should I configure presence publishing within one Asterisk server?

---

<div class="post-metadata">

**Author:** ![jcolp](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/jcolp/32/8848_2.png) [@jcolp](https://community.asterisk.org/u/jcolp)\
**Post date:** [June 10, 2020, 7:13pm UTC](https://community.asterisk.org/t/publish-presence-by-softphones/84518/2 "2020-06-10T19:13:05Z")

</div>

Asterisk does not support the reception and handling of such PUBLISH messages. They will be ignored.

---

<div class="post-metadata">

**Author:** ![dux](https://avatars.discourse-cdn.com/v4/letter/d/919ad9/32.png) [@dux](https://community.asterisk.org/u/dux)\
**Post date:** [June 11, 2020, 12:36am UTC](https://community.asterisk.org/t/publish-presence-by-softphones/84518/3 "2020-06-11T00:36:08Z")

</div>

If I type “core show hints”, I see the presence column, but it is not set. So, how can I learn if a user, for example, has taken a break or changed status to “Away”? I have seen in the documentation, that presence state can be set in the dialplan, but that means that users must enter it to change status (call somewhere, for instance, \*30# for break).

---

<div class="post-metadata">

**Author:** ![jcolp](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/jcolp/32/8848_2.png) [@jcolp](https://community.asterisk.org/u/jcolp)\
**Post date:** [June 11, 2020, 8:34am UTC](https://community.asterisk.org/t/publish-presence-by-softphones/84518/4 "2020-06-11T08:34:59Z")

</div>

Except for Sangoma D series phones, there’s nothing built in to support doing such a thing except as you mention. It’s also not communicated to devices, except for the D series phones.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/asterisk/original/2X/4/475d0c889911cfb84ac4881ad6df8b523e3f9105.png) [@system](https://community.asterisk.org/u/system)\
**Post date:** [July 11, 2020, 8:35am UTC](https://community.asterisk.org/t/publish-presence-by-softphones/84518/5 "2020-07-11T08:35:06Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
