View difference between Paste ID: mb6v7xLc and v6ie4Ttv
SHOW: | | - or go back to the newest paste.
1
[general]
2
context=default               ; Default context for incoming calls. Defaults to 'default'
3
allowoverlap=no                 ; Disable overlap dialing support. (Default is yes)
4
udpbindaddr=0.0.0.0:5060             ; IP address to bind UDP listen socket to (0.0.0.0 binds to all)
5
tcpenable=no                    ; Enable server for incoming TCP connections (default is no)
6
tcpbindaddr=0.0.0.0             ; IP address for TCP server to bind to (0.0.0.0 binds to all interfaces)
7
transport=udp                   ; Set the default transports.  The order determines the primary default transport.
8
srvlookup=yes                   ; Enable DNS SRV lookups on outbound calls
9
10
qualify=yes
11
externaddr=xxx.xxx.xxx.xxx
12
localnet=192.168.0.0/255.255.255.0
13
nat=force_rport,comedia
14
15
jbenable=yes
16
jbimpl=adaptive
17
language=de
18
19
20
21
22
[authentication]
23
24
[basic-options](!)                ; a template
25
        dtmfmode=rfc2833
26
        context=from-office
27
        type=friend
28
29
[natted-phone](!,basic-options)   ; another template inheriting basic-options
30
        directmedia=no
31
        host=dynamic
32
33
[public-phone](!,basic-options)   ; another template inheriting basic-options
34
        directmedia=yes
35
36
[my-codecs](!)                    ; a template for my preferred codecs
37
        disallow=all
38
        allow=ilbc
39
        allow=g729
40
        allow=gsm
41
        allow=g723
42
        allow=ulaw
43
44
[ulaw-phone](!)                   ; and another one for ulaw-only
45
        disallow=all
46
        allow=ulaw
47
48
49
[tom]
50
	type=friend
51
	context=sweethome
52
	allow=ulaw,alaw
53
	secret=tompw
54-
	
54+
55
    nat=force_rport,comedia
56
    directmedia=no
57
58
;DoorPi Zugang Bachseite
59
[gatekeeper01]
60
	type=friend
61
	context=sweethome
62
	allow=ulaw,alaw
63
	secret=tomsecret
64
	host=dynamic
65
    nat=force_rport,comedia
66
    directmedia=no