On Sat, Aug 20, 2011 at 6:59 PM, Ben Naylor <bnaylor@sirran.com> wrote:
I’m not 100% sure, but it would appear that whenever I try and edit default.xml dialplan, the SMG changes status to ‘down’ in the webgui. I then change it straight back again and it comes back up briefly.
The only reason I can think of for such behavior is that you have some syntax error in the XML and the gateway fails to start. See the logs /usr/local/smg/log/sangomagw.log to find out why the gateway fails to start.
However, I’ve got to the point now where I can’t seem to get the SMG to work again, the TDM drivers start fine, but the SMG just does not want to start.
I have also check the sangomagw log file in /usr/local/smg/log/ but this seems to stop logging anything once the SMG goes down.
Do you know of any other log files I could check?
Depending on the version of SMG (can't remember the details), you have /usr/local/smg/init.log or /usr/local/smg/log/init.log
Also, if I were to re-install the SMG, would re-running the make/install commands just re-install over the top? As a newbie to linux I am still not sure if this is the case! J
Latest version of smg will backup the auto-generated configuration (freetdm.conf, wanpipe etc), but will NOT backup your dialplan, that is up to you. In general I recommend you to backup your whole conf/ directory before upgrading. Moises Silva Senior Software Engineer, Software Development Manager Sangoma Technologies Inc. | 100 Renfrew Drive, Suite 100, Markham ON L3R 9R6 Canada t. 1 905 474 1990 x128 | e. moy@sangoma.com