Projet

Général

Profil

Patton SN4120 problème pour être joint par certains numéros » Config SN4120.txt

Samuel BRACHET, 08/11/2017 07:15

 
1

    
2
#----------------------------------------------------------------#
3
#                                                                #
4
# SN4120/2BIS4V                                                  #
5
# R6.9 2017-03-13 H323 SIP                                       #
6
# 1970-01-01T04:01:05                                            #
7
# SN/00A0BA0CEBF7                                                #
8
# Generated configuration file                                   #
9
#                                                                #
10
#----------------------------------------------------------------#
11

    
12
cli version 3.20
13
clock local default-offset +01:00
14
dns-client server 8.8.8.8
15
dns-relay
16
webserver port 80 language en
17
sntp-client
18
sntp-client server primary "Adresse IP du XIVO " port 123 version 4
19
sntp-client operating-mode anycast
20

    
21
system
22

    
23
  ic voice 0
24
    low-bitrate-codec g729
25

    
26
system
27
  clock-source 1 bri 0 0
28
  clock-source 2 bri 0 1
29

    
30
profile ppp default
31

    
32
profile tone-set default
33

    
34
profile voip default
35
  codec 1 g711ulaw64k rx-length 20 tx-length 20
36

    
37
profile pstn default
38

    
39
profile sip default
40
  no autonomous-transitioning
41

    
42
profile aaa default
43
  method 1 local
44
  method 2 none
45

    
46
context ip router
47

    
48
  interface eth0
49
    ipaddress 10.210.XXX.XXX 255.255.XXX.XXX
50
    tcp adjust-mss rx mtu
51
    tcp adjust-mss tx mtu
52

    
53
context ip router
54
  route 0.0.0.0 0.0.0.0 10.210.XXX.XXX 0
55

    
56
context cs switch
57

    
58
  routing-table called-e164 RT-OUT
59
    route .%T dest-interface IF_ISDN_00
60

    
61
  routing-table called-e164 RT_IN
62
    route .%T dest-interface IF_SIP
63

    
64
  interface isdn IF_ISDN_00
65
    route call dest-interface IF_SIP
66

    
67
  interface isdn IF_ISDN_01
68
    route call dest-interface IF_SIP
69

    
70
  interface sip IF_SIP
71
    bind context sip-gateway GW_SIP
72
    route call dest-service SRV_HUNT
73
    remote 10.210.XXX.XXX 5060
74
    local 10.210.XXX.XXX 5060
75
    early-disconnect
76

    
77
  service hunt-group SRV_HUNT
78
    drop-cause normal-unspecified
79
    drop-cause no-circuit-channel-available
80
    drop-cause network-out-of-order
81
    drop-cause temporary-failure
82
    drop-cause switching-equipment-congestion
83
    drop-cause access-info-discarded
84
    drop-cause circuit-channel-not-available
85
    drop-cause resources-unavailable
86
    route call 1 dest-interface IF_ISDN_00
87
    route call 2 dest-interface IF_ISDN_01
88

    
89
context cs switch
90
  no shutdown
91

    
92
authentication-service AUTH_SVC
93
  username XXXXX password XXXXX == encrypted
94

    
95
location-service LOCATION_SVC
96
  domain 1 Adresse IP du XIVO 5060
97

    
98
  identity-group default
99

    
100
    authentication inbound
101
      authenticate 1 authentication-service AUTH_SVC username XXXXX
102

    
103
    registration inbound
104
      lifetime default 60 min 1 max 4294967295
105

    
106
    call inbound
107

    
108
  identity XXXXX inherits default
109

    
110
    authentication inbound
111
      authenticate 1 authentication-service AUTH_SVC username XXXXX
112

    
113
context sip-gateway GW_SIP
114

    
115
  interface IF_GW_SIP
116
    bind interface eth0 context router port 5060
117

    
118
context sip-gateway GW_SIP
119
  bind location-service LOCATION_SVC
120
  no shutdown
121

    
122
port ethernet 0 0
123
  medium auto
124
  encapsulation ip
125
  bind interface eth0 router
126
  no shutdown
127

    
128
port bri 0 0
129
  clock auto
130
  encapsulation q921
131

    
132
  q921
133
    permanent-layer2
134
    protocol pp
135
    uni-side auto
136
    encapsulation q931
137

    
138
    q931
139
      protocol dss1
140
      uni-side user
141
      bchan-number-order ascending
142
      encapsulation cc-isdn
143
      bind interface IF_ISDN_00 switch
144

    
145
port bri 0 0
146
  no shutdown
147

    
148
port bri 0 1
149
  clock auto
150
  encapsulation q921
151

    
152
  q921
153
    permanent-layer2
154
    protocol pp
155
    uni-side auto
156
    encapsulation q931
157

    
158
    q931
159
      protocol dss1
160
      uni-side user
161
      bchan-number-order ascending
162
      encapsulation cc-isdn
163
      bind interface IF_ISDN_01 switch
164

    
165
port bri 0 1
166
  no shutdown
167

    
168

    
    (1-1/1)