Answering my own question -- oops, I overlooked the presence_id directory variable. Setting that to 3001@domain for the 3005 user directory resolved the issue.
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@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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com