Manager api's updateConfig is better than Realtime?


#1

I need dynamic configuration for sip.conf, dialplan.conf etc.
Here I have two option

  1. Use Realtime with database
  2. Use Manager api’s getConfig & UpdateConfig

I prefer getConfig & UpdateConfig. But I don’t know that it slow down the system when frequently need update configuration and reload that module.

So is it safe to use UpdateConfig to update & reload configuration. Or better to go with Realtime.


#2

I havent use getConfig & UpdateConfig, Anyway you have to benchmark it, and that is the best way to get an accurate result which is more effective