-
Notifications
You must be signed in to change notification settings - Fork 0
/
pjsip.conf
94 lines (78 loc) · 1.36 KB
/
pjsip.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
[transport-udp]
type = transport
protocol = udp
bind = 0.0.0.0
[reg_sipload]
type = registration
retry_interval = 20
max_retries = 10
contact_user = sipid
expiration = 120
transport = transport-udp
outbound_auth = auth_reg_sipload
client_uri = sip:SIPLOADUSER@sip.sipload.com:5060
server_uri = sip:sip.sipload.com:5060
[auth_reg_sipload]
type = auth
username = SIPLOADUSER
password = SIPLOAD_PASSWD
[sipload_aor]
type = aor
contact = sip:SIPLOADPASSWD@sip.sipload.com
[sipload_identity]
type = identify
endpoint = sipload
match = sip.sipload.com
[sipload_auth]
type = auth
username = SIPLOADUSER
password = SIPLOAD_PASSWD
[sipload]
type = endpoint
context = sipload-in
dtmf_mode = rfc4733
disallow = all
allow = alaw
rtp_symmetric = yes
force_rport = yes
rewrite_contact = yes
timers = yes
from_user = SIPLOADUSER
from_domain = sip.sipload.com
language = en
outbound_auth = sipload_auth
aors = sipload_aor
[6001]
type=endpoint
context=from-internal
disallow=all
allow=ulaw
auth=6001
aors=6001
mailboxes = 6000@vm-flower
voicemail_extension = 200
[6001]
type=auth
auth_type=userpass
password=6001pw
username=6001
[6001]
type=aor
max_contacts=1
[6002]
type=endpoint
context=from-internal
disallow=all
allow=ulaw
auth=6002
aors=6002
mailboxes = 6000@vm-flower
voicemail_extension = 200
[6002]
type=auth
auth_type=userpass
password=6002pw
username=6002
[6002]
type=aor
max_contacts=1