Elastix

asterisk -vrrrrr
sip show peers
sip show settings
sip reload

vi /etc/asterisk/sip_general_custom.conf
allow=g729
videosupport=yes
allow=h261
allow=h263
allow=h263p
allow=h264
allow=g723
bindport=5060

:nat
externip=xxx.xxx.xxx.xxx
localnet=192.168.0.0/24

maxexpiry=300

vi /etc/asterisk/chan_dahdi.conf
callerid=asreceived
cidsignalling=dtmf
cidstart=dtmf

busydetect=yes
busycount=3
busypattern=500,500

or
cidsignalling=v23
cidstart=polarity

amportal restart

Peer ‘888’ is now UNREACHABLE
If it is mobile device and always show UNREACHABLE, this account set to Unmonitored should be better
qualify no

啟動Database Mail Error

無法在資料庫 msdb 中啟用 Service Broker,因為資料庫 (x) 中的 Service Broker GUID 與 sys.databases (x) 中的不相符。

use master
go
alter database msdb set single_user with rollback immediate
go
alter database msdb set single_user
go
alter database msdb set new_broker
go
alter database msdb set multi_user
go

SQL 2008 還原Master

cd C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Release
Setup /QUIET /ACTION=REBUILDDATABASE /INSTANCENAME=MSSQLSERVER /SQLSYSADMINACCOUNTS=administrator /SAPWD=xxxxxxxx

cd C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\Binn
sqlservr.exe -m

sqlcmd
USE MSDB
GO
RESTORE DATABASE master
FROM disk=’C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\Backup\master.bak’
GO