This might be a really silly question so I apologise in advance, I was hoping to connect my asterisk install to multiple databases to pull config for sip peers in.
Doing a bunch of searching doesnt yield anything that says I can or cant do this (only how to setup one connection).
Essentially I have a test environment setup using asterisk 16, i have configured the ODBC connections and I can connect to either database (on load both databases connect).
However asterisk only seems to read the sip peers defined last in the ExtConfig file.
If I switch them around it indeed reverses.
Does anyone know if this is even possible or if there is a better way to do this?
Cheers in advance,
p.s. not sure if any of the config is needed but the extconfig file looks like this currently (and the system will connect to ast_test1) :
sippeers => odbc,ast_test2,extension
sippeers => odbc,ast_test1,extension