Bonjour,
Je commence à m'arracher les cheveux sur ce problème, je sollicite donc votre aide.
Lorsque j'appel un téléphone (portable ou fixe), celui-ci voit mon numéro avec un zéro préfixé, ce qui donne par exemple : 00380212121 au lieu de 0380212121
Mon numéro est configuré au niveau d'asterisk. Je ne pense pas que le problème vienne de là , j'ai également une ligne T0 et 2 compte sip freebox et le numéro se présente correctement.
J'ai donc recherché du coté de la patton, mais tout me semble ok, voici ma config :
Code:
system
ic voice 0
profile r2 default
profile napt NAPT_WAN
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 pstn default
profile sip default
no autonomous-transitioning
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 172.27.0.3 255.255.0.0
tcp adjust-mss rx mtu
tcp adjust-mss tx mtu
context ip router
dhcp-server use profile DHCPS_LAN
route 0.0.0.0 0.0.0.0 172.27.254.254 0
context cs switch
national-prefix 0
international-prefix 00
routing-table called-e164 IN
interface isdn IF_T0
route call dest-interface IF_SIP_IN
interface sip IF_SIP_IN
bind context sip-gateway GW_SIP_IN
remote 172.27.0.2 5060
interface sip IF_SIP_OUT
bind context sip-gateway GW_SIP_OUT
route call dest-interface IF_T0
context cs switch
no shutdown
context sip-gateway GW_SIP_IN
interface IF_LAN
bind interface LAN context router port 5064
context sip-gateway GW_SIP_IN
no shutdown
context sip-gateway GW_SIP_OUT
interface IF_LAN
bind interface LAN context router port 5060
context sip-gateway GW_SIP_OUT
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 e1t1 0 0
port-type e1
clock slave
framing crc4
encapsulation q921
q921
uni-side user
encapsulation q931
q931
protocol dss1
uni-side user
bchan-number-order ascending
encapsulation cc-isdn
bind interface IF_T0 switch
port e1t1 0 0
no shutdown
La config semble bonne si je me réfère au debug :
Code:
10:04:35 CC > [EP IF_SIP_OUT-00de3b00/active] Set call-leg property: E164-Number -> 0380212121
10:04:35 CC > [EP IF_SIP_OUT-00de3b00/active] Set call-leg property: URI -> sip:0380212121@172.27.0.2
10:04:35 CC > [EP IF_SIP_OUT-00de3b00/active] Set call-leg property: Type-Of-Number -> Unknown
10:04:35 CC > [EP IF_SIP_OUT-00de3b00/active] Set call-leg property: Numbering-Plan -> Unknown
10:04:35 CC > [EP IF_SIP_OUT-00de3b00/active] Set call-leg property: Presentation-Indicator -> Presentation allowed
10:04:35 CC > [EP IF_SIP_OUT-00de3b00/active] Set call-leg property: Name -> toto
10:04:35 CC > [EP IF_SIP_OUT-00de3b00/active] Set call-leg property: Screening-Indicator -> User provided, not screened
10:04:35 CC > [EP IF_SIP_OUT-00de3b00/active] Set call-leg property: Supports Overlap-Sending -> true
10:04:35 CC > [EP IF_SIP_OUT-00de3b00/active] Set call-leg property: Supported Codecs -> Voice: G.711 A-law[20/20]
10:04:35 CC > [EP IF_SIP_OUT-00de3b00/active] Set call-leg property: Unique Identifier -> 4c58f4ab6ab8a89d31ed306f0638c3b8@172.27.0.2
10:04:35 CC > [EP IF_SIP_OUT-00de3b00/active] Set call-leg property: IP-Address -> 172.27.0.2
10:04:35 CC > [EP IF_SIP_OUT-00de3b00/active] Set call-leg property: Call-Leg-ID -> 0x00de7070
10:04:35 CC > [EP IF_SIP_OUT-00de3b00/active] Set call-leg property: State -> CONNECTED
10:04:35 CC > [Call 00b43148] Set call property: Context -> 0x00000000
10:04:35 CC > [Call 00b43148] Set call property: Information-Transfer-Capability -> 3.1kHz Audio
10:04:35 CC > [Call 00b43148] Set call property: Hops -> 0x00000010
10:04:35 CC > [EP IF_SIP_OUT-00de3b00/active] Dial to provider router (IF_SIP_OUT-precall-service) using call 00b43148
10:04:35 CC > [EP router-00b437e8/incoming] Accept call 00b43148
10:04:35 CC > [EP router-00b437e8/incoming] Set call-leg property: E164-Number -> 0380363636
10:04:35 CC > [EP router-00b437e8/incoming] Set call-leg property: Type-Of-Number -> Unknown
10:04:35 CC > [EP router-00b437e8/incoming] Set call-leg property: Numbering-Plan -> Unknown
10:04:35 CC > [EP router-00b437e8/incoming] Set call-leg property: Name ->
10:04:35 CC > [EP router-00b437e8/incoming] Set call-leg property: Alert-Info ->
10:04:35 CC > [EP router-00b437e8/incoming] Set call-leg property: URI -> sip:0380363636@172.27.0.3
10:04:35 CC > [EP router-00b437e8/incoming] Set call-leg property: Network -> router
10:04:35 CC > [EP router-00b437e8/incoming] Set call-leg property: Call-Leg-ID -> 0x00de8760
10:04:35 CC > [EP router-00b437e8/incoming] Set call-leg property: State -> TRYING
10:04:35 CC > [EP router-00b437e8] Start route-lookup
10:04:35 CC > [EP router-00b437e8] Route found; immediately place call
10:04:35 CC > [EP router-00b437e8] Route to provider 'IF_T0'
10:04:35 CC > [EP router-00b437e8/outgoing] Set call-leg property: E164-Number -> 0380212121
10:04:35 CC > [EP router-00b437e8/outgoing] Set call-leg property: URI -> sip:0380212121@172.27.0.2
10:04:35 CC > [EP router-00b437e8/outgoing] Set call-leg property: Type-Of-Number -> Unknown
10:04:35 CC > [EP router-00b437e8/outgoing] Set call-leg property: Numbering-Plan -> Unknown
10:04:35 CC > [EP router-00b437e8/outgoing] Set call-leg property: Presentation-Indicator -> Presentation allowed
10:04:35 CC > [EP router-00b437e8/outgoing] Set call-leg property: Name -> toto
10:04:35 CC > [EP router-00b437e8/outgoing] Set call-leg property: Screening-Indicator -> User provided, not screened
10:04:35 CC > [EP router-00b437e8/outgoing] Set call-leg property: Supports Overlap-Sending -> true
10:04:35 CC > [EP router-00b437e8/outgoing] Set call-leg property: Supported Codecs -> Voice: G.711 A-law[20/20]
10:04:35 CC > [EP router-00b437e8/outgoing] Set call-leg property: Unique Identifier -> 4c58f4ab6ab8a89d31ed306f0638c3b8@172.27.0.2
10:04:35 CC > [EP router-00b437e8/outgoing] Set call-leg property: IP-Address -> 172.27.0.2
10:04:35 CC > [EP router-00b437e8/outgoing] Set call-leg property: Network -> router
10:04:35 CC > [EP router-00b437e8/outgoing] Set call-leg property: Call-Leg-ID -> 0x00b4dc58
10:04:35 CC > [EP router-00b437e8/outgoing] Set call-leg property: State -> CONNECTED
10:04:35 CC > [Call 00b4db60] Set call property: Context -> 0x00000000
10:04:35 CC > [Call 00b4db60] Set call property: Information-Transfer-Capability -> 3.1kHz Audio
10:04:35 CC > [Call 00b4db60] Set call property: Hops -> 0x0000000f
10:04:35 CC > [EP router-00b437e8/outgoing] Dial to provider IF_T0 () using call 00b4db60
10:04:35 ICC > [IF_T0] Added endpoint IF_T0-00b4e1a0
10:04:35 ICC > [IF_T0] NEW CALL. Allocated Endpoint IF_T0-00b4e1a0
10:04:35 CC > [EP IF_T0-00b4e1a0/active] Accept call 00b4db60
10:04:35 CC > [EP IF_T0-00b4e1a0/active] Set call-leg property: E164-Number -> 0380363636
10:04:35 CC > [EP IF_T0-00b4e1a0/active] Set call-leg property: Type-Of-Number -> Unknown
10:04:35 CC > [EP IF_T0-00b4e1a0/active] Set call-leg property: Numbering-Plan -> Unknown
10:04:35 CC > [EP IF_T0-00b4e1a0/active] Set call-leg property: Name ->
10:04:35 CC > [EP IF_T0-00b4e1a0/active] Set call-leg property: Alert-Info ->
10:04:35 CC > [EP IF_T0-00b4e1a0/active] Set call-leg property: URI -> sip:0380363636@172.27.0.3
10:04:35 CC > [EP IF_T0-00b4e1a0/active] Set call-leg property: Quality-Of-Service -> MOS 4.50, DS0
10:04:35 CC > [EP IF_T0-00b4e1a0/active] Set call-leg property: Network -> IF_T0
10:04:35 CC > [EP IF_T0-00b4e1a0/active] Set call-leg property: Call-Leg-ID -> 0x00b5fdb8
10:04:35 CC > [EP IF_T0-00b4e1a0/active] Set call-leg property: State -> TRYING
10:04:35 ICC > [EP IF_T0-00b4e1a0] do not reroute because: no endpoint with call key: 4c58f4ab6ab8a89d31ed306f0638c3b8@172.27.0.2
10:04:35 ICC > [EP IF_T0-00b4e1a0] AOC-S User << Call Setup
10:04:35 ICC > [EP IF_T0-00b4e1a0] AOC-D User << Call Setup
10:04:35 ICC > [EP IF_T0-00b4e1a0] AOC-E User << Call Setup
10:04:35 ICC > [EP IF_T0-00b4e1a0] >> [080005]
SETUP (DSS1 User)
[04039090A3]
Bearer capability : 3.1kHz Audio - CCITT
circuit mode - 64kBit/s - G.711 A-law
[1E028583]
Progress indicator : origination address is non-ISDN
private network serving remote user - CCITT
[6C0C008030333830323838323330]
Calling party number : 0380212121
unknown number - unknown numbering plan
presentation allowed - user provided not screened
[700B8030333830323838323336]
Called party number : 0380363636
unknown number - unknown numbering plan
10:04:35 ICC > [EP IF_T0-00b4e1a0] Set state to CALL INITIATED
10:04:35 CC > [EP IF_T0-00b4e1a0/active] Set call-leg property: Endpoint-Is-Isdn -> true
10:04:35 CC > [Call 00b43148] Set call property: Hops -> 0x0000000f
10:04:35 CC > [EP router-00b437e8/incoming] Set call-leg property: Endpoint-Is-Isdn -> true
10:04:35 CC > [EP router-00b437e8/incoming] Set call-leg property: Quality-Of-Service -> MOS 4.50, DS0
J'ai l'impression que ce zéro est ajouté après ma patton, soit au niveau du boitier isdn (albis technologies bstu), soit au niveau d'orange.
Merci.