Hello,
It's better now ! I found myself how to get the calls from the isdn to redirect them to the snom one but I have 2 problems : the incomming call rings 1 time and is lost (if I take the phone before, the communication is OK..) and the number loose its first digit(0)..
any idea ? thank you for anyone !
here is the config file Patton 4552 (Hardware Version 2.1, Software Version R5.3)
#----------------------------------------------------------------#
# #
# SN4552/2BIS/EUI #
# R5.3 2009-09-14 SIP #
# 2011-07-18T19:31:24 #
# SN/00A0BA028A7F #
# Generated configuration file #
# #
#----------------------------------------------------------------#
cli version 3.20
dns-client server 192.168.0.1
dns-relay
webserver port 80 language en
sntp-client
sntp-client server primary europe.pool.ntp.org port 123 version 4
system
ic voice 0
profile ppp default
profile tone-set default
profile voip default
codec 1 g711alaw64k rx-length 20 tx-length 20
codec 2 g729 rx-length 20 tx-length 20
dtmf-relay rtp
fax transmission 1 relay t38-udp
profile pstn default
profile sip default
profile aaa default
method 1 local
method 2 none
context ip router
interface IF_LAN
ipaddress 192.168.0.211 255.255.255.0
tcp adjust-mss rx mtu
tcp adjust-mss tx mtu
context ip router
route 0.0.0.0 0.0.0.0 192.168.0.1 0
context cs switch
routing-table called-e164 RT_TO_NETWORK
route .T2 dest-service SER_HG_TO_NETWORK
routing-table called-e164 RT_TO_PBX
route default none
route [1-9].% dest-service SER_HG_TO_PBX
interface isdn IF_ISDN_00
route call dest-interface IF_SIP_VOIPVOICE
interface isdn IF_ISDN_01
route call dest-table RT_TO_NETWORK
interface sip IF_SIP_VOIPVOICE
bind context sip-gateway GW_SIP
route call dest-table RT_TO_PBX
remote 192.168.0.240
local 192.168.0.240
privacy
service hunt-group SER_HG_TO_NETWORK
route call 1 dest-interface IF_SIP_VOIPVOICE
route call 2 dest-interface IF_ISDN_00
service hunt-group SER_HG_TO_PBX
route call 1 dest-interface IF_ISDN_01
context cs switch
no shutdown
location-service SER_LOC_VOIPVOICE
domain 1 192.168.0.240
context sip-gateway GW_SIP
interface IF_LAN
bind interface IF_LAN context router port 5062
context sip-gateway GW_SIP
bind location-service SER_LOC_VOIPVOICE
no shutdown
port ethernet 0 0
encapsulation ip
no shutdown
port ethernet 0 1
encapsulation ip
bind interface IF_LAN router
no shutdown
port bri 0 0
clock slave
encapsulation q921
q921
permanent-layer2
uni-side user
encapsulation q931
q931
protocol dss1
uni-side user
bchan-number-order ascending
encapsulation cc-isdn
bind interface IF_ISDN_00 switch
port bri 0 0
no shutdown
port bri 0 1
clock auto
encapsulation q921
q921
permanent-layer2
protocol pp
uni-side net
encapsulation q931
q931
protocol dss1
uni-side net
bchan-number-order ascending
encapsulation cc-isdn
bind interface IF_ISDN_01 switch
port bri 0 1
no shutdown
#---------------- END ---------------------------------