Re: [OpenSIPS-Users] routing function variable scope

2021-05-09 Thread John Quick
Kingsley, I hope you won't be offended, but in my opinion you are at risk of sacrificing code readability in the pursuit of code re-usability. If you accept that variables are in-scope both within the route and the sub-route, then why not just have one variable for the result - set it inside the

Re: [OpenSIPS-Users] bla_presentity_spec variable seems to not work?

2021-05-09 Thread Andrew Yager
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. Hope this helps someone else trying to find this in the