<div dir="ltr"><div>I think I had bridge line appearances and BLF state confused, but regardless the correct way to do what I was trying to do was to update the $ru variable. This updates the presentity_uri value as I expected, and handsets can work correctly.</div><div><br></div><div>Hope this helps someone else trying to find this in the future.</div><div><br></div><div>Thanks,</div><div>Andrew</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 6 May 2021 at 11:01, Andrew Yager <<a href="mailto:andrew@rwts.com.au">andrew@rwts.com.au</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
Hoping someone can give me a pointer on using the bla_presentity_spec<br>
setting. I can't seem to get it to have any affect on the subscription<br>
as it's reported in the watchers table.<br>
<br>
loadmodule "presence.so"<br>
modparam("presence", "db_url",<br>
"mysql://<a href="http://opensips:opensipsrw@127.0.0.1:3306/opensips" rel="noreferrer" target="_blank">opensips:opensipsrw@127.0.0.1:3306/opensips</a>")<br>
modparam("presence", "fallback2db", 1)<br>
modparam("presence", "cluster_pres_events" ,"presence, dialog;sla,<br>
message-summary")<br>
modparam("presence", "bla_presentity_spec", "$var(bla_pres)")<br>
<br>
loadmodule "presence_dialoginfo.so"<br>
loadmodule "presence_mwi.so"<br>
<br>
route {<br>
    if(is_method("SUBSCRIBE"))<br>
    {<br>
        xlog("SUBSCRIBE from $si to $ru");<br>
       $var(bla_pres)="<a href="mailto:sip%3Afoo@bar.com" target="_blank">sip:foo@bar.com</a>"<br>
        handle_subscribe();<br>
        exit;<br>
    }<br>
}<br>
<br>
… but the active_watcher table has no record anywhere of "<a href="mailto:foo@bar.com" target="_blank">foo@bar.com</a>"<br>
<br>
What I was expecting to be able to do was to modify the presentity_uri<br>
or to_user or to_domain, but none of these seem to happen.<br>
<br>
Running 3.1.1-1 apt package on Ubuntu 20 for this test.<br>
<br>
Thanks,<br>
Andrew<br>
</blockquote></div>