Realtime Contexts (in addition to extensions)

Hi All,

I am trying to use Realtime with mysql to generate some IVR menus on the fly.

I have all the menus in their different contexts setup in the mysql extensions database but I have just come across a problem where for each of the contexts I have in the database I have to use

switch => realtime/@extensions

in my extensions.conf file. This is causing an issue as I can’t just generate these on the fly in the database but have to go in and manually add the switch statement for each new context.

I have seen
but can’t seem to get any of it to work to load my contexts from the extensions database dynamically

Any help would be great.