Asterisk
Info
YUM instalace
nainstalovat CentOS 5 32bit
-
-
yum install asterisk18 nebo
yum install asterisk18-core asterisk18-voicemail asterisk18-snmp asterisk18-sqlite3 astee asterisk18-ogg asterisk18-doc asterisk18-curl asterisk18-configs asterisk18-alsa asterisk18-addons-ooh323 asterisk18-addons-core
Download
spustit konfigurace
make clean
./configure --prefix=/usr/local/asterisk/1.6.x --with-sqlite --with-postgresql
make menuselect
make
make install
make samples
make progdocs
make config
/etc/asterisk
sip.conf
[general]
port = 5060 ; Port to bind to
context = svarov ; Default context for incoming calls
disallow=all ; need to disallow=all before we can use allow=
allow=gsm ; Note: In user sections the order of codecs
allow=ulaw
tos=lowdelay
dtmfmode=auto ; Set default dtmfmode for sending DTMF. Default: rfc2833
bindaddr=0.0.0.0 ; IP address to bind to (0.0.0.0 binds to all)
srvlookup=yes ; Enable DNS SRV lookups on outbound calls
; Note: Asterisk only uses the first host
; in SRV records
; Disabling DNS SRV lookups disables the
; ability to place SIP calls based on domain
; names to some other SIP users on the Internet
register => 245001001:h45bb1j25l@test.ha-loo.cz/245001001
[1000]
# type: peer: pro použití ve funkci Dial() - user - friend: peer a user
type=friend
context=phones
# IP adresa klienta nebo dynamic
host=dynamic
secret=heslo_pro_prihlaseni
[havel]
type=peer
host=test.ha-loo.cz
username=245001001
secret=h45bb1j25l
fromuser=245001001
fromdomain=test.ha-loo.cz
canrenvite=no
insecure=invite
qualify=30000
nat=yes
dtmfmode=rfc2833
context=svarov ; this section will be defined in extensions.conf
disallow=all
allow=gsm
allow=ulaw
Well provisioning
DSS key
BLF
[ memoryxx ]
path = /config/vpPhone/vpPhone.ini
Line = 0
type = blf
Value = cislo
KEY_MODE = Asterisk
HotNumber =
HotLineId = 1
Callpickup =
IntercomId = -1
IntercomNumber =
DKtype = 16
PickupValue = cislo
speed dial
[ memoryx ]
path = /config/vpPhone/vpPhone.ini
Line = 0
type =
Value = cislo
KEY_MODE = Asterisk
HotNumber =
HotLineId = 1
Callpickup =
IntercomId = -1
IntercomNumber =
DKtype = 13
PickupValue =