#----------------------------------------------------------------#
# #
# SN4634/3BIS/UI #
# R5.2 2009-01-14 H323 SIP BRI #
# 1970-01-01T01:29:46 #
# SN/00A0BA038203 #
# Generated configuration file #
# #
#----------------------------------------------------------------#
cli version 3.20
dns-client server
<Mettez l'adresse de votre serveur DNS>
dns-relay
webserver port 80 language en
sntp-client
sntp-client server primary 129.132.2.21 port 123 version 4
system
ic voice 0
low-bitrate-codec g729
system
clock-source 1 bri 0 0
clock-source 2 bri 0 1
clock-source 3 bri 0 2
profile napt NAPT_WAN
profile ppp default
profile call-progress-tone FR_Dialtone
play 1 200 425 -12
pause 2 200
play 3 600 425 -12
pause 4 1000
play 5 5000 440 -10
profile call-progress-tone FR_Alertingtone
play 1 1000 425 -12
pause 2 4000
play 3 1500 440 -10
pause 4 3500
profile call-progress-tone FR_Busytone
play 1 500 425 -12
pause 2 500
play 3 500 440 -10
pause 4 500
profile tone-set default
profile tone-set TS_FRANCE
map call-progress-tone dial-tone FR_Dialtone
map call-progress-tone ringback-tone FR_Alertingtone
map call-progress-tone busy-tone FR_Busytone
map call-progress-tone release-tone FR_Busytone
map call-progress-tone congestion-tone FR_Busytone
profile voip default
codec 1 g711alaw64k rx-length 20 tx-length 20
codec 2 g711ulaw64k rx-length 20 tx-length 20
profile voip VOIP
codec 1 g729 rx-length 20 tx-length 20
codec 2 g711alaw64k rx-length 20 tx-length 20
codec 3 g711ulaw64k rx-length 20 tx-length 20
dejitter-mode static
dejitter-max-delay 120
profile pstn default
profile sip default
profile dhcp-server DHCPS_LAN
network 192.168.1.0 255.255.255.0
include 1 192.168.1.10 192.168.1.99
lease 2 hours
default-router 1 192.168.1.1
domain-name-server 1 192.168.1.1
profile aaa default
method 1 local
method 2 none
context ip router
interface WAN
ipaddress dhcp
use profile napt NAPT_WAN
tcp adjust-mss rx mtu
tcp adjust-mss tx mtu
interface LAN
ipaddress
<Adresse que vous voulez donner à l'interface LAN (ETH0/1) qui est reliée à votre serveur Asterisk (Elastix dans mon cas)> <Masque>
no napt-inside
tcp adjust-mss rx mtu
tcp adjust-mss tx mtu
context ip router
dhcp-server use profile DHCPS_LAN
context cs switch
digit-collection timeout 4
national-prefix 0
international-prefix 00
routing-table called-e164 RT_OUT
route .%T dest-interface IF_ISDN0 speech
routing-table called-e164 RT_IN
route .%T dest-interface IF_ASTERISK
mapping-table itc to itc speech
map default to speech
interface isdn IF_ISDN0
route call dest-table RT_IN
interface isdn IF_ISDN1
isdn-date-time
interface sip IF_ASTERISK
bind context sip-gateway GW_ASTERISK
route call dest-table RT_OUT
remote
<Adresse de votre serveur Asterisk> 5060
early-connect
early-disconnect
use profile voip VOIP
use profile tone-set TS_FRANCE
context cs switch
no shutdown
authentication-service AUTH_SVC
username
<Nombre SIP de la Patton> password
<Mot de passe> encrypted
location-service LOCATION_SVC
domain 1 192.168.1.27
identity
<Nombre SIP de la Patton>
authentication outbound
authenticate 1 authentication-service AUTH_SVC username
<Nombre SIP de la Patton>
registration outbound
registrar
<Adresse de votre serveur Asterisk>
proxy none
lifetime 3600
register auto
context sip-gateway GW_ASTERISK
interface IF_ASTERISK
bind interface LAN context router port 5060
context sip-gateway GW_ASTERISK
bind location-service LOCATION_SVC
no shutdown
port ethernet 0 0
medium auto
encapsulation ip
bind interface WAN router
no shutdown
port ethernet 0 1
medium auto
encapsulation ip
bind interface LAN router
no shutdown
port bri 0 0
clock auto
encapsulation q921
q921
uni-side auto
encapsulation q931
q931
protocol dss1
uni-side user
bchan-number-order ascending
encapsulation cc-isdn
bind interface IF_ISDN0 switch
port bri 0 0
no shutdown
port bri 0 1
clock auto
encapsulation q921
q921
uni-side auto
encapsulation q931
q931
protocol dss1
uni-side net
bchan-number-order ascending
encapsulation cc-isdn
bind interface IF_ISDN1 switch
port bri 0 1
shutdown
port bri 0 2
clock auto
encapsulation q921
q921
uni-side auto
encapsulation q931
q931
protocol dss1
uni-side net
bchan-number-order ascending
port bri 0 2
shutdown