[global]
type=global
user_agent=LasRamblas
endpoint_identifier_order=ip,username
;default_from_user=012345662008
[transport-udp]
type=transport
protocol=udp
bind=0.0.0.0
local_net=192.168.178.0/24
local_net=10.10.10.0/27
external_media_address=vpn.test.de
external_signaling_address=vpn.test.de
[transport-tcp]
type=transport
protocol=tcp
bind=0.0.0.0
local_net=192.168.178.0/24
local_net=10.10.10.0/27
[acl]
type=acl
deny=0.0.0.0/0.0.0.0
; Telekom und sipgate
permit=217.0.0.0/13
permit=217.10.64.0/20
permit=217.116.112.0/20
permit=212.9.32.0/19
; eigenes LAN
permit=192.168.178.0/24
permit=10.10.10.0/27
;****************************************************
; externe SIP-Accounts
;****************************************************
[01_Telekom_012345662008]
type=registration
transport=transport-udp
outbound_auth=01_Telekom_012345662008_auth
server_uri=sip:tel.t-online.de
client_uri=sip:+4912345662008@tel.t-online.de
contact_user=012345662008
retry_interval=60
forbidden_retry_interval=300
expiration=480
auth_rejection_permanent=false
[01_Telekom_012345662008_auth]
type=auth
auth_type=userpass
password=12340001@t-online.de
username=012345662008
realm=tel.t-online.de
[01_Telekom_012345662008_out]
type=endpoint
transport=transport-udp
context=unspecified
disallow=all
allow=g722
allow=alaw
outbound_auth=01_Telekom_012345662008_auth
aors=01_Telekom_0123456620080_out
callerid=012345662008
from_user=012345662008
from_domain=tel.t-online.de
timers=no
rtp_symmetric=yes
[01_Telekom__012345662008_out]
type=aor
contact=sip:+4912345662008@tel.t-online.de
[Telekom_in]
type=endpoint
transport=transport-udp
context=Telekom_in
disallow=all
allow=g722
allow=alaw
outbound_auth=01_Telekom_012345662008_auth
[Telekom_in]
type=identify
endpoint=Telekom_in
match=217.0.0.0/13
;****************************************************
[02_Telekom_012345601470]
type=registration
transport=transport-udp
outbound_auth=02_Telekom_012345601470_auth
server_uri=sip:tel.t-online.de
client_uri=sip:+4912345601470@tel.t-online.de
contact_user=012345601470
retry_interval=60
forbidden_retry_interval=300
expiration=480
auth_rejection_permanent=false
[02_Telekom_012345601470_auth]
type=auth
auth_type=userpass
password=12340001@t-online.de
username=012345601470
realm=tel.t-online.de
[02_Telekom_012345601470_out]
type=endpoint
transport=transport-udp
context=unspecified
disallow=all
allow=g722
allow=alaw
outbound_auth=02_Telekom_012345601470_auth
aors=02_Telekom_012345601470_out
callerid=012345601470
from_user=012345601470
from_domain=tel.t-online.de
timers=no
rtp_symmetric=yes
[02_Telekom_012345601470_out]
type=aor
contact=sip:+4912345601470@tel.t-online.de
;****************************************************
[03_Telekom_012345601471]
type=registration
transport=transport-udp
outbound_auth=03_Telekom_012345601471_auth
server_uri=sip:tel.t-online.de
client_uri=sip:+4912345601471@tel.t-online.de
contact_user=012345601471
retry_interval=60
forbidden_retry_interval=300
expiration=480
auth_rejection_permanent=false
[03_Telekom_012345601471_auth]
type=auth
auth_type=userpass
password=12340001@t-online.de
username=012345601471
realm=tel.t-online.de
[03_Telekom_012345601471_out]
type=endpoint
transport=transport-udp
context=unspecified
disallow=all
allow=g722
allow=alaw
outbound_auth=03_Telekom_012345601471_auth
aors=03_Telekom_012345601471_out
callerid=012345601471
from_user=012345601471
from_domain=tel.t-online.de
timers=no
rtp_symmetric=yes
[03_Telekom_012345601471_out]
type=aor
contact=sip:+4912345601471@tel.t-online.de
;****************************************************
[04_sipgate_Joerg_012345669796]
type=registration
retry_interval=20
max_retries=10
contact_user=1234567
expiration=120
transport=transport-udp
outbound_auth=04_sipgate_Joerg_auth
client_uri=sip:1234567@sipgate.de:5060
server_uri=sip:sipgate.de:5060
[04_sipgate_Joerg_auth]
type=auth
username=1234567
password=ABCDEFG
[04_sipgate_Joerg_aor]
type=aor
contact=sip:1234567@sipgate.de
[04_sipgate_Joerg_identity]
type=identify
endpoint=04_sipgate_Joerg
match=sipgate.de
[04_sipgate_Joerg]
type=endpoint
context=04_sipgate_Joerg-in
dtmf_mode=rfc4733
disallow=all
allow=alaw
rtp_symmetric=yes
force_rport=yes
rewrite_contact=yes
timers=yes
from_user=1234567
from_domain=sipgate.de
language=en
outbound_auth=04_sipgate_Joerg_auth
aors=04_sipgate_Joerg_aor
;****************************************************
; interne SIP-Accounts
;****************************************************
[20]
type=endpoint
transport=transport-udp
context=internalsip
disallow=all
allow=g722
allow=alaw
auth=20-auth
aors=20
mailboxes=20
[20-auth]
type=auth
auth_type=userpass
password=1234
username=20
realm=domain.local
[20]
type=aor
max_contacts=1
remove_existing=true
[20]
type=identify
endpoint=20
;match=192.168.178.57
;****************************************************
[21]
type=endpoint
transport=transport-udp
context=internalsip
disallow=all
allow=g722
allow=alaw
auth=21-auth
aors=21
mailboxes=21
[21-auth]
type=auth
auth_type=userpass
password=1234
username=21
realm=domain.local
[21]
type=aor
max_contacts=1
remove_existing=true
;****************************************************
[22]
type=endpoint
transport=transport-udp
context=internalsip
disallow=all
allow=g722
allow=alaw
auth=22-auth
aors=22
mailboxes=22
[22-auth]
type=auth
auth_type=userpass
password=1234
username=22
realm=domain.local
[22]
type=aor
max_contacts=1
remove_existing=true
;****************************************************
[23]
type=endpoint
transport=transport-udp
context=internalsip
disallow=all
allow=g722
allow=alaw
auth=23-auth
aors=23
mailboxes=23
[23-auth]
type=auth
auth_type=userpass
password=1234
username=23
realm=domain.local
[23]
type=aor
max_contacts=1
remove_existing=true
;****************************************************
[30]
type=endpoint
transport=transport-udp
context=internalsip
disallow=all
allow=g722
allow=alaw
auth=30-auth
aors=30
mailboxes=30
[30-auth]
type=auth
auth_type=userpass
password=1234
username=30
realm=domain.local
[30]
type=aor
max_contacts=1
remove_existing=true
;****************************************************
[31]
type=endpoint
transport=transport-udp
context=internalsip
disallow=all
allow=g722
allow=alaw
auth=31-auth
aors=31
mailboxes=31
[31-auth]
type=auth
auth_type=userpass
password=5678
username=31
realm=domain.local
[31]
type=aor
max_contacts=1
remove_existing=true
;****************************************************
[32]
type=endpoint
transport=transport-udp
context=internalsip
disallow=all
allow=g722
allow=alaw
auth=32-auth
aors=32
mailboxes=32
[32-auth]
type=auth
auth_type=userpass
password=1234
username=32
realm=domain.local
[32]
type=aor
max_contacts=1
remove_existing=true
;****************************************************
[98]
type=endpoint
transport=transport-udp
context=internalsip
disallow=all
allow=g722
allow=alaw
auth=98-auth
aors=98
mailboxes=98
[98-auth]
type=auth
auth_type=userpass
password=123456
username=98
realm=domain.local
[98]
type=aor
max_contacts=1
remove_existing=true
[98]
type=identify
endpoint=98
match=192.168.178.0/27
match=10.10.10.0/27