[OpenSIPS-Devel] [OpenSIPS/opensips] 436dd6: Access the route's array after the IPC dispatch.
Bogdan Andrei IANCU
noreply at github.com
Thu Nov 7 11:28:24 EST 2019
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-11-07 (Thu, 07 Nov 2019)
Access the route's array after the IPC dispatch.
The array with the script routes is not available in all procs, so, if the event is triggered from a non-scripting proc (like MI), the array will be empty.
As a fix, use the array (get the action list based on route ID) only via IPC dispatching, when we know for sure that we are in a process with the valid array of routes.
More information about the Devel