# \[HELP\]: Implement PUBLISH (for presence) on behalf of phones

**URL:** <https://community.asterisk.org/t/help-implement-publish-for-presence-on-behalf-of-phones/22518>\
**Category:** Asterisk Support\
**Created:** [August 12, 2008, 4:22pm UTC](https://community.asterisk.org/t/help-implement-publish-for-presence-on-behalf-of-phones/22518 "2008-08-12T16:22:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![chaitra](https://avatars.discourse-cdn.com/v4/letter/c/7feea3/32.png) [@chaitra](https://community.asterisk.org/u/chaitra)\
**Post date:** [August 12, 2008, 4:22pm UTC](https://community.asterisk.org/t/help-implement-publish-for-presence-on-behalf-of-phones/22518/1 "2008-08-12T16:22:26Z")

</div>

Hi Asterisk Gurus,

I have few IP phones registering to my Asterisk proxy. These in-turn will register as trunks to an external SIP proxy. There is an external Presence server to which these IP phones need to send their presence information to. But unfortunately, these phones do not support these SIP based presence methods like PUBLISH or SUBSCRIBE.

Adding this functionality in the phones is not an option. In that case, is it possible to provide this presence support in Asterisk on behalf of these phones? Asterisk should send PUBLISH with appropriate status to the presence server after registering to external proxy, in-call, un-register etc on behalf of the phones.

Is this do-able on Asterisk 1.4?

Thanks in advance

Chaitra

(Hope this is the correct forum for this post)

---

<div class="post-metadata">

**Author:** ![ragu\_nm](https://avatars.discourse-cdn.com/v4/letter/r/ba8739/32.png) [@ragu\_nm](https://community.asterisk.org/u/ragu_nm)\
**Post date:** [December 18, 2008, 4:31am UTC](https://community.asterisk.org/t/help-implement-publish-for-presence-on-behalf-of-phones/22518/2 "2008-12-18T04:31:15Z")

</div>

Hi, I am newbie to asterisk,  
Did u find the solution?  
Does asterisk support PUBLISH and SUBSCRIBE?  
Pls help me…

Thanks,

---

<div class="post-metadata">

**Author:** ![david55](https://avatars.discourse-cdn.com/v4/letter/d/e19adc/32.png) [@david55](https://community.asterisk.org/u/david55)\
**Post date:** [December 18, 2008, 12:57pm UTC](https://community.asterisk.org/t/help-implement-publish-for-presence-on-behalf-of-phones/22518/3 "2008-12-18T12:57:09Z")

</div>

I think what you want to do is to use hint entries in the dialplan. See the sample extensions.conf.

---

<div class="post-metadata">

**Author:** ![ragu\_nm](https://avatars.discourse-cdn.com/v4/letter/r/ba8739/32.png) [@ragu\_nm](https://community.asterisk.org/u/ragu_nm)\
**Post date:** [December 19, 2008, 10:16am UTC](https://community.asterisk.org/t/help-implement-publish-for-presence-on-behalf-of-phones/22518/4 "2008-12-19T10:16:29Z")

</div>

> [@david55](#):
>
> I think what you want to do is to use hint entries in the dialplan. See the sample extensions.conf.

Thank u ,
