PDA

Voir la version complète : Exemple configuration patton 4660



cedricscha
11/08/2014, 15h50
Bonjour,

Je viens de recevoir un Patton 4660 (8 BRI), et malgré les quelques fichiers de config patton que j'ai, je n'arrive à le faire fonctionner.

Est-ce que l'un d'entre-vous aurait par hasard un fichier de config pour un 4660 à me transmettre ?

merci d'avance

cedricscha
12/08/2014, 16h06
Bon j'ai un peu avancé, j'arrive à émettre des appels, mais pas en recevoir..... surement une connerie

Si quelqu'un à le temps de jeter un coups d'oeil à ma config, et m'aiguiller.

Je le ou les remercies d'avances.

A Bientôt

Cédric


#----------------------------------------------------------------#
# #
# SN4660/8BIS16V/EUI #
# R6.6 2014-07-11 H323 RBS SIP #
# 2014-08-12T16:04:37 #
# SN/00A0BA08BC79 #
# Generated configuration file #
# #
#----------------------------------------------------------------#

cli version 3.20
clock local default-offset +01:00
clock local dst-rule DST_SUMMER +02:00 from 02:00 mar last sunday until 03:00 oct last sunday
dns-client server 8.8.8.8
dns-client cache 100
dns-relay
webserver port 80 language en
sntp-client
sntp-client server primary swisstime.ee.ethz.ch port 123 version 4
sntp-client poll-interval 600
system hostname TRUNK_GATEWAY

system

ic voice 0

system
clock-source 1 bri 0 0
clock-source 2 bri 0 1
clock-source 3 bri 0 2
clock-source 4 bri 0 3

profile napt NAPT_LAN

profile ppp default

profile tone-set default

profile voip default
codec 1 g711alaw64k rx-length 20 tx-length 20
codec 2 g711ulaw64k rx-length 20 tx-length 20
codec 3 g726-32k rx-length 20 tx-length 20
fax transmission 1 relay t38-udp
fax redundancy low-speed 2 high-speed 1
fax bypass-method nse
modem transmission 1 bypass g711alaw64k rx-length 10 tx-length 10
modem bypass-method nse

profile pstn default

profile sip default
no autonomous-transitioning

profile aaa default
method 1 local
method 2 none

context ip router

interface IF_IP_LAN
ipaddress 192.168.1.199 255.255.255.0

interface IF_IP_MGT
ipaddress 192.168.2.199 255.255.255.0

context cs switch
national-prefix 0
international-prefix 00

routing-table called-e164 RT_CDPN_SIP
route default dest-interface IF_SIP_TRUNK

mapping-table called-e164 to called-e164 MAP_NL
map .%(.)$ to \1

interface isdn IF_ISDN_S00
route call dest-table RT_CDPN_SIP

interface isdn IF_ISDN_S01
route call dest-table RT_CDPN_SIP

interface isdn IF_ISDN_S02
route call dest-table RT_CDPN_SIP

interface isdn IF_ISDN_S03
route call dest-table RT_CDPN_SIP

interface isdn IF_ISDN_S04
route call dest-table RT_CDPN_SIP

interface sip IF_SIP_TRUNK
bind context sip-gateway SIP_GW
route call dest-service HG_PSTN_TRUNK

service hunt-group HG_PSTN_TRUNK
drop-cause normal-unspecified
drop-cause no-circuit-channel-available
drop-cause network-out-of-order
drop-cause temporary-failure
drop-cause switching-equipment-congestion
drop-cause access-info-discarded
drop-cause circuit-channel-not-available
drop-cause resources-unavailable
route call 1 dest-interface IF_ISDN_S00
route call 2 dest-interface IF_ISDN_S01
route call 3 dest-interface IF_ISDN_S02
route call 4 dest-interface IF_ISDN_S03

context cs switch
no shutdown

authentication-service ContactAsterisk
realm 1 patton
username patton password Otx2vJCEWP+8Bb6tqoGkwA== encrypted

location-service Test
imperative foreign
match-any-domain

identity-group IDTEST
alias name test

context sip-gateway SIP_GW

interface IF_SIP_GW
bind interface IF_IP_MGT context router port 5060

context sip-gateway SIP_GW
no shutdown

port ethernet 0 0
encapsulation ip
bind interface IF_IP_LAN router
no shutdown

port ethernet 0 1
encapsulation ip
bind interface IF_IP_MGT router
no shutdown

port bri 0 0
clock auto
encapsulation q921

q921
permanent-layer2
protocol pp
uni-side auto
encapsulation q931

q931
protocol dss1
uni-side user
bchan-number-order ascending
encapsulation cc-isdn
bind interface IF_ISDN_S00 switch

port bri 0 0
no shutdown

port bri 0 1
clock auto
encapsulation q921

q921
permanent-layer2
protocol pp
uni-side auto
encapsulation q931

q931
protocol dss1
uni-side user
bchan-number-order ascending
encapsulation cc-isdn
bind interface IF_ISDN_S01 switch

port bri 0 1
no shutdown

port bri 0 2
clock auto
encapsulation q921

q921
permanent-layer2
protocol pp
uni-side auto
encapsulation q931

q931
protocol dss1
uni-side user
bchan-number-order ascending
encapsulation cc-isdn
bind interface IF_ISDN_S02 switch

port bri 0 2
no shutdown

port bri 0 3
clock auto
encapsulation q921

q921
permanent-layer2
protocol pp
uni-side auto
encapsulation q931

q931
protocol dss1
uni-side user
bchan-number-order ascending
encapsulation cc-isdn
bind interface IF_ISDN_S03 switch

port bri 0 3
no shutdown

port bri 0 4
clock auto
power-feed
encapsulation q921

q921
uni-side auto
encapsulation q931

q931
protocol dss1
uni-side user
bchan-number-order ascending
encapsulation cc-isdn
bind interface IF_ISDN_S04 switch

port bri 0 4
no shutdown

port bri 0 5
clock auto
encapsulation q921

q921
uni-side auto
encapsulation q931

q931
protocol dss1
uni-side user
bchan-number-order ascending

port bri 0 5
shutdown

port bri 0 6
clock auto
encapsulation q921

q921
uni-side auto
encapsulation q931

q931
protocol dss1
uni-side user
bchan-number-order ascending

port bri 0 6
shutdown

port bri 0 7
clock auto
encapsulation q921

q921
uni-side auto
encapsulation q931

q931
protocol dss1
uni-side user
bchan-number-order ascending

port bri 0 7
shutdown