[Freeswitch-users] presence_id in dial-string is not behaving correctly
Michael Avers
michael at mailworks.org
Thu Nov 14 05:14:34 UTC 2019
Answering my own question -- oops, I overlooked the presence_id directory variable. Setting that to 3001 at domain for the 3005 user directory resolved the issue.
Mike
On Wed, Nov 13, 2019, at 9:31 PM, Michael Avers wrote:
> Hello,
>
> We have a need to set presence_id to an extension different than the one being dialed. We do this in the dial-string of the dialed extension:
>
> Say dialed_user is 3005, we set presence_id to be for 3001 with this dial-string:
>
> {presence_id=3001@${dialed_domain}}${sofia_contact(${dialed_user}@${dialed_domain})}
>
> When 3005 is dialed, 3001's presence indicator on the phones (in this case Yealink) does indeed behave correctly, that is until an answered call is hung up - in that case the presence is not cleared and the BLF subscription for 3001 at domain remains lit up.
>
> Anyone seen this behavior before? Is there a better way to set a custom presence_id for extensions?
>
> This was tested on FS 1.6.20 as well as latest master just now.
>
> Thank you,
> Mike
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time https://signalwire.community
>
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20191113/69d66962/attachment-0001.html>
More information about the FreeSWITCH-users
mailing list