Bonjour,
J'ai acheté un patton SN 4970 en vue de "SIPé" mon T2 vers mon asterisk.
Sauf que quand je branche le T2 sur le port de la PATTON, rien ne se passe au niveau des LEDS d'une part et je ne peux ni émettre ni recevoir.
Voici ma conf :
Code:
#----------------------------------------------------------------#
# #
# STARFACE configuration file #
# for SN4970/4E30V/UI #
# with Firmware R6.2 2012-11-12 H323 SIP BRI #
# #
#----------------------------------------------------------------#
cli version 3.20
no terminal ssh
administrator administrator password password
clock local default-offset +01:00
dns-relay
webserver port 80 language en
system
ic voice 0
low-bitrate-codec g729
system
clock-source 1 e1t1 0 0
clock-source 2 e1t1 0 1
clock-source 3 e1t1 0 2
clock-source 4 e1t1 0 3
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
profile voip pf_voip_starface
codec 1 g711alaw64k rx-length 20 tx-length 20 no-silence-suppression
dtmf-relay signaling default
fax transmission 1 bypass g711alaw64k rx-length 20 tx-length 20
modem transmission 1 bypass g711alaw64k rx-length 20 tx-length 20
profile pstn default
profile sip default
no autonomous-transitioning
profile aaa default
method 1 local
method 2 none
context ip router
rtp-port-range 10000 12399
interface if_eth0
ipaddress <ip patton> 255.255.254.0
tcp adjust-mss rx mtu
tcp adjust-mss tx mtu
interface if_eth1
ipaddress unnumbered
context ip router
route 0.0.0.0 0.0.0.0 <ip passerelle> 0
context cs switch
national-prefix 0
international-prefix 00
routing-table called-e164 rt_sip_in
route default dest-service hg_isdn cf_sip_normalize
routing-table called-e164 rt_isdn_in
route ..T3 dest-service hg_starface
mapping-table calling-name to calling-pi mt_sip_a-clir
map default to allowed
map anonymous to restricted
mapping-table calling-e164 to calling-numbering-plan mt_sip_a-numberingplan
map default to isdn-telephony
mapping-table called-e164 to called-numbering-plan mt_sip_b-numberingplan
map default to isdn-telephony
mapping-table calling-e164 to calling-type-of-number mt_sip_a-ton
map (.%) to international
map 0(.%) to national
map 00(.%) to international
map default to unknown
mapping-table calling-e164 to calling-e164 mt_sip_a-e164
map 00(.%) to \1
map 0(.%) to \1
map default to ""
map (.%) to \1
mapping-table calling-e164 to calling-e164 mt_sip_a-e164-localize
map 0049(.%) to 0\1
mapping-table calling-e164 to calling-si mt_sip_a-screening
map default to user-passed
complex-function cf_sip_normalize
execute 1 cf_sip_normalize-a
execute 2 cf_sip_normalize-b
complex-function cf_sip_normalize-a
execute 1 mt_sip_a-e164-localize
execute 2 mt_sip_a-clir
execute 3 mt_sip_a-numberingplan
execute 4 mt_sip_a-ton
execute 5 mt_sip_a-e164
execute 6 mt_sip_a-screening
complex-function cf_sip_normalize-b
execute 1 mt_sip_b-numberingplan
interface isdn if_isdn_pri0
route call dest-table rt_isdn_in
no call-transfer accept
no call-transfer emit
address-complete-indication emit set
interface isdn if_isdn_pri1
route call dest-table rt_isdn_in
no call-transfer accept
no call-transfer emit
address-complete-indication emit set
interface isdn if_isdn_pri2
route call dest-table rt_isdn_in
no call-transfer accept
no call-transfer emit
address-complete-indication emit set
interface isdn if_isdn_pri3
route call dest-table rt_isdn_in
no call-transfer accept
no call-transfer emit
address-complete-indication emit set
interface sip if_sip_starface
bind context sip-gateway gw_sip_starface
route call dest-table rt_sip_in
remote <ip du starface>
hold-method direction-attribute sendonly
early-disconnect
no call-transfer accept
no call-transfer emit
address-complete-indication accept set
address-translation incoming-call calling-e164 from-header
address-translation incoming-call calling-uri from-header
address-translation incoming-call calling-name from-header
use profile voip pf_voip_starface
service hunt-group hg_starface
drop-cause no-circuit-channel-available
route call 1 dest-service sv_aaa_qos.if_sip_starface
service hunt-group hg_isdn
drop-cause resources-unavailable
drop-cause circuit-channel-not-available
route call 1 dest-service sv_aaa_qos.if_isdn_pri0
route call 2 dest-service sv_aaa_qos.if_isdn_pri1
service aaa sv_aaa_qos
accounting start-trigger setup
accounting use profile aaa default
port if_isdn_pri0
route call dest-interface if_isdn_pri0
port if_isdn_pri1
route call dest-interface if_isdn_pri1
port if_isdn_pri2
route call dest-interface if_isdn_pri2
port if_isdn_pri3
route call dest-interface if_isdn_pri3
port if_sip_starface
route call dest-interface if_sip_starface
context cs switch
no shutdown
location-service ls_starface
match-any-domain
identity-group starface
call outbound
call inbound
context sip-gateway gw_sip_starface
interface gw_sip_if_starface
bind interface if_eth0 context router port 5060
context sip-gateway gw_sip_starface
no shutdown
port ethernet 0 0
medium auto
encapsulation ip
bind interface if_eth0 router
no shutdown
port ethernet 0 1
medium auto
encapsulation ip
bind interface if_eth1 router
no shutdown
port e1t1 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_pri0 switch
port e1t1 0 0
no shutdown
port e1t1 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_pri1 switch
port e1t1 0 1
no shutdown
port e1t1 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_pri2 switch
port e1t1 0 2
no shutdown
port e1t1 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_pri3 switch
port e1t1 0 3
no shutdown
Voyez-vous une grosse erreur ?
Je dois avouer que j'y ai déjà passer quelques heures, mais je ne trouve pas.
Mon lien reste down :
Code:
0DF2FA(cfg)#show port e1t1 0 0
E1T1 Port 0:0
=============
Administrative State: Up
Port: e1
Linecode: hdb3
Framing: crc4
Application: short-haul
LBO: 0-133
LOS Threshold: -46dB
Encapsulation: q921
Clock: auto
Operational State: Down
Real clock: slave
Loss of signal: true
Frame sync: false
Frame errors: false
Out of frame errors: false
Alarms: false
Controlled slips: false
BPV: 7500
EXZ: 148078249
LCV: 148085749
PCV: 0
CS: 6111