Skip to content

Commit bdce8b9

Browse files
authored
sip.conf addition
1 parent 75d534b commit bdce8b9

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed

sip.conf

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
; sip.conf
2+
;
3+
4+
[foo]
5+
accountcode=FOOBAR
6+
context=domestic
7+
secret=abc
8+
permit=192.168/16,10/8
9+
; short phone number
10+
exten=1001
11+
12+
[bar]
13+
accountcode=FOOBAR
14+
host=192.168.1.129:5060
15+
context=international
16+
secret=cba
17+
permit=192.168.1.129/32
18+
exten=1002
19+
20+
[siphone1]
21+
accountcode=HOME
22+
dialplan=.+
23+
secret=12345
24+
exten=1001(2)
25+
26+
[siphone2]
27+
accountcode=HOME
28+
dialplan=.+
29+
secret=4321
30+
; long, short and call forward phone numbers
31+
exten=4999876543#1002=4991234567
32+
33+
[GATE1]
34+
accountcode=gateways
35+
host=192.168.1.200:5060
36+
exten=9995999 ; gateway prefix when accountcode is gateways
37+
38+
[GATE2]
39+
accountcode=gateways
40+
host=192.168.1.201:5060
41+
exten=9
42+
43+
[MEDIAGATE]
44+
accountcode=mediagates
45+
host=192.168.1.100:5070
46+
47+
; EOF

0 commit comments

Comments
 (0)