[OpenSIPS-Users] routing function variable scope

Liviu Chircu liviu at opensips.org
Wed Apr 28 12:27:40 EST 2021


On 28.04.2021 15:19, Kingsley Tart wrote:
> Is there a better way, apart from trying to make sure that variables in
> each function don't share names with variables in other functions?

No, you have to manage those iterator names and make sure the logic 
still holds during nested calls.

Best,

-- 
Liviu Chircu
www.twitter.com/liviuchircu | www.opensips-solutions.com
OpenSIPS eBootcamp 2021 | www.opensips.org/training




More information about the Users mailing list