Salut fastm3.

et bien cela change pas mal de chose hélas :(

Pour le registrar je capte pas trop pas moyen de le faire sur le lan je capte pas pourquoi.

Pour l'echange cela aurait ete avec plaisir mais hélas je me suis retrouver sur le fait accompli et je dois mettre en prod des demain la patton :(
Moi aussi plein de patton en prod et pas de soucis mais la je seche.
Pas moyen de faire arrivé un seul appel dessus mon trunk est bon, puisqu'enregistré sur mon *, mais des que je compose le SDA de T0 rien "orange vous informe que le numero n'est pas attribué" :(
Pourtant au niveau du BRI je suis bien en PP ....

En desespoir de cause je suis parti d'une config générée par 3Cx qui donne ca ( mais toujours pareil )

webserver port 80 language en

system

ic voice 0

system
clock-source 0 0

profile ppp default


profile call-progress-tone defaultDialtone
flush-play-list
play 1 1000 440 0

profile call-progress-tone defaultAlertingtone
flush-play-list
play 1 1500 440 -7
pause 2 3500

profile call-progress-tone defaultBusytone
flush-play-list
play 1 500 440 -7
pause 2 500

profile call-progress-tone defaultReleasetone
flush-play-list
play 1 250 425 -7
pause 2 250

profile call-progress-tone defaultCongestiontone
flush-play-list
play 1 250 425 -7
pause 2 250


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
fax transmission relay t38-udp

profile pstn default

profile sip default

profile aaa default
method 1 local
method 2 none

context ip router

interface IF_IP_WAN
ipaddress dhcp
tcp adjust-mss rx mtu
tcp adjust-mss tx mtu

interface IF_IP_LAN
ipaddress 192.168.162.202 255.255.255.0
tcp adjust-mss rx mtu
tcp adjust-mss tx mtu

context cs switch

mapping-table calling-pi to calling-e164 MAP_REMOVE_BLANK_CALLERID
map restricted to ""

mapping-table calling-e164 to calling-e164 MAP_LEADING_ZERO

map (.%) to \1


mapping-table calling-e164 to calling-name MAP_CID_TO_CNAME
map (.%) to \1

complex-function MAPPING_INCOMING_CALLS
execute 1 MAP_REMOVE_BLANK_CALLERID
execute 2 MAP_LEADING_ZERO


routing-table called-e164 RT_ISDN_TO_SIP_0
route T2 dest-interface IF_SIP_0 MAPPING_INCOMING_CALLS

interface isdn IF_ISDN_0
route call dest-table RT_ISDN_TO_SIP_0
user-side-ringback-tone
call-hold disable

interface sip IF_SIP_0
bind context sip-gateway GW_SIP_0

early-connect

early-disconnect
route call dest-interface IF_ISDN_0
remote 192.168.162.200 5060
address-translation outgoing-call request-uri user-part fix 10001 host-part to-header target-param none
address-translation incoming-call called-e164 request-uri

context cs switch
no shutdown

authentication-service AS_ALL_LINES
realm 1 192.168.162.200
username 10001 password 10001

location-service LS_10001
domain 1 192.168.162.200

identity-group default
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES username 10001

identity 10001
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES

registration outbound
registrar 192.168.162.200 5060
lifetime 300
register auto

context sip-gateway GW_SIP_0

interface LAN
bind interface IF_IP_LAN context router port 5060

context sip-gateway GW_SIP_0
bind location-service LS_10001
no shutdown

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

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

port bri 0 0
clock auto
encapsulation q921

q921

protocol pp

uni-side auto
encapsulation q931

q931

protocol dss1

uni-side user
encapsulation cc-isdn
bind interface IF_ISDN_0 switch

port bri 0 0
no shutdown