<!DOCTYPE html><html><head><title></title><style type="text/css">
p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div style="font-family:Arial;">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.<br></div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">Mike</div><div style="font-family:Arial;"><br></div><div>On Wed, Nov 13, 2019, at 9:31 PM, Michael Avers wrote:<br></div><blockquote type="cite" id="qt"><div style="font-family:Arial;">Hello,<br></div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">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:<br></div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">Say dialed_user is 3005, we set presence_id to be for 3001 with this dial-string:<br></div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">{presence_id=3001@${dialed_domain}}${sofia_contact(${dialed_user}@${dialed_domain})}<br></div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">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.<br></div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">Anyone seen this behavior before? Is there a better way to set a custom presence_id for extensions?<br></div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">This was tested on FS 1.6.20 as well as latest master just now.<br></div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">Thank you,<br></div><div style="font-family:Arial;">Mike<br></div><div>_________________________________________________________________________<br></div><div><br></div><div>The FreeSWITCH project is sponsored by SignalWire https://signalwire.com<br></div><div>Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br></div><div>Build your next product on our scalable cloud platform.<br></div><div><br></div><div>Join our online community to chat in real time https://signalwire.community<br></div><div><br></div><div>Professional FreeSWITCH Services<br></div><div>sales@freeswitch.com<br></div><div>https://freeswitch.com<br></div><div><br></div><div>Official FreeSWITCH Sites<br></div><div>https://freeswitch.com/oss<br></div><div>https://freeswitch.org/confluence<br></div><div>https://cluecon.com<br></div><div><br></div><div>FreeSWITCH-users mailing list<br></div><div>FreeSWITCH-users@lists.freeswitch.org<br></div><div>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br></div><div>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br></div><div>https://freeswitch.com<br></div></blockquote><div style="font-family:Arial;"><br></div></body></html>