Hallo,
ich habe seit gestern einen Mitarbeiter der von zuhause arbeitet.
Bislang habe ich NAT ausgelassen, hat intern sowie extern also sipgate
ohne Probleme funktioniert.
Nun habe ich NAT aktiviert und der MA kann von außen intern sowie über
dus.net Telefonieren nur nicht über sipgate. Die Hotline von sipgate
kann man vergessen.
Meine sip.conf sende ich mit die unnötigen Sachen hab ich hier mal
rausgelöscht
Was mach ich nur mit sipgate trunk falsch??
Bitte um Hilfe
[general]
session-timers=refuse
callerid=gemeinschaft
context=default ; Default context for incoming calls
allowguest=no
autocreatepeer=no
realm=gemeinschaft.local
bindport=5060 ; UDP Port to bind to (SIP standard
port is 5060)
bindaddr=0.0.0.0 ; IP address to bind to (0.0.0.0 binds
to all)
#exec /opt/gemeinschaft/etc/asterisk/bindaddr.conf.php sip
srvlookup=yes ; Enable DNS SRV lookups on outbound
calls
pedantic=yes
tos_sip=cs3 ; Sets TOS for SIP packets.
tos_audio=ef ; Sets TOS for RTP audio packets.
tos_video=af41 ; Sets TOS for RTP video packets.
minexpiry=65
defaultexpiry=145
maxexpiry=185
t1min=250 ; -- Philipp
checkmwi=10 ; Default time between mailbox checks
for peers
vmexten=voicemail ; dialplan extension to reach mailbox
sets the
disallow=all
allow=alaw
allow=h261
allow=h263
allow=h263p
mohinterpret=default
#exec "/opt/gemeinschaft/etc/asterisk/gs-lang.conf.php"
relaxdtmf=yes
rfc2833compensate=yes
trustrpid=no
sendrpid=yes
progressinband=no
useragent=Asterisk Gemeinschaft
usereqphone = no
dtmfmode=rfc2833
compactheaders=yes
videosupport=yes ; Turn on support for SIP video. You
need to turn this on
callevents=no
alwaysauthreject = yes
g726nonstandard=no
rtptimeout=30
rtpholdtimeout=200
rtpkeepalive=15
allowsubscribe=yes ; Disable support for subscriptions.
(Default is yes)
subscribecontext=default ; Set a specific context for SUBSCRIBE
requests
notifyringing=yes ; Notify subscriptions on RINGING
state (default: no)
notifyhold=yes ; Notify subscriptions on HOLD state
(default: no)
limitonpeers=yes
useclientcode=no ; den X-ClientCode header von Snom *nicht* im CDR
userfield speichern
externip = xxx.xxx.xxx.xxx ; Address that we're going to put in
outbound SIP
externrefresh=0 ; How often to refresh externhost if
localnet =
192.168.0.0/16 ; All RFC 1918 addresses are local
networks
localnet =
10.0.0.0/8 ; "
localnet =
172.16.0.0/12 ; "
localnet =
169.254.0.0/16 ; Zeroconf local network
nat = yes
#exec /opt/gemeinschaft/etc/asterisk/sip-nat.conf.php
canreinvite = no
rtcachefriends=yes ; or else MWI does not work! -- Philipp
rtsavesysname=no
rtupdate=no
ignoreregexpire=yes
#exec /opt/gemeinschaft/etc/asterisk/sip-reg-updates.conf.php
jbenable = no
notifycid = ignore-context
qualify = yes
registerattempts = 0 ; retry forever (default 10 tries)
registertimeout = 75 ; seconds between registration attempts
switch => Realtime
#exec /opt/gemeinschaft/etc/asterisk/sip-register.conf.php
[node](!) ; template
type = friend
port = 5060
nat = no
sendrpid = yes
trustrpid = yes
qualify = yes
insecure = port
usereqphone = no
canreinvite = yes
call-limit = 0
context = from-node
registertimeout = 55
;t38pt_udptl = yes
[node-user](!,node) ; template
type=user
[node-peer](!,node) ; template
type=peer
#exec /opt/gemeinschaft/etc/asterisk/sip-nodes.conf.php