[OpenSIPS-Devel] [OpenSIPS/opensips] 9bb0fc: Access the route's array after the IPC dispatch.
Bogdan Andrei IANCU
noreply at github.com
Thu Nov 7 11:29:04 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.
(cherry picked from commit 436dd69da5fcdb6fbb42a57e758c9696b662d0ef)
More information about the Devel