from here.
14.1,3 means play the sound file /var/lib/asterisk/sounds/en/tekan3.gsm. You can record a custom
sound file which contain something like "press 3 to record another message", save it as gsm
format and call it from here.
15.include => internal-sip, means that asterisk will see also [recording] context in [internal-sip]
context, usually we manage [internal-sip] in sip.conf.
Now ti’s time to configure /etc/asterisk/sip.conf. This file manage the sip for ip phone and other
peripheral in our setup. I use several desk ip-phone, wireless ip-phone (Polycom Kirk DECT) and also
GSM gateway (Zed, Musitel etc), all of it running well. My sip.conf looks something like:
[general]
port = 5060
bindaddr = 10.7.1.120
disallow=all
allow=all
allow=ulaw
allow=gsm
context=internal-sip
;——————–xxxxx site —————————
;Polycom IP330
[8001]
type=friend
host=dynamic
dtmfmode=rfc2833
language=en
context=internal-sip
nat=no
canreinvite=no
username=TELEPH01
Comentarios a estos manuales