Asterisk, HFC PCI ISDN and France Telecom problem?


#1

We are installed Asterisk 1.2.0 and bristuff-0.3.0-PRE-1c for
zapHfc support for two HFC PCI ISDN cards. This cards are connected to two T0/BRI of France Telecom. Since Monday, we try to receive some calls from or to the ISDN network. Today anything are running with France Telecom ISDN. We give our configuration files. If you have a good idea vis-à-vis our problem, your solution are welcome because my work friend would be happy for this Christmas present. Otherwise, it is very urgent for my small company.

zaptel.conf

[color=green]> # Span 1: ZTHFC1 “HFC-S PCI A ISDN card 1 [TE]”

span=1,1,1,ccs,ami
bchan=1-2
dchan=3

Span 2: ZTHFC1 “HFC-S PCI A ISDN card 2 [TE]”

span=2,1,1,ccs,ami
bchan=4-5
dchan=6

Global data

loadzone = fr
defaultzone = fr
[/color]

zapata.conf

[color=blue]> [channels]

;
; Default language
;
;language=en
;
; Default context
;
;context=enEntree
;
; Channels
;
language=fr

switchtype = euroisdn
overlapdial=yes

pridialplan = dynamic
prilocaldialplan=local
nationalprefix=0
internationalprefix=00
usecallingpres=yes
echotraining=100

echocancel=yes
echocancelwhenbridged=yes

signalling = bri_cpe
;signalling = bri_cpe_ptmp
;signalling = bri_net_ptmp
group = 1
context=enEntree
channel => 1-2,4-5[/color]

extensions.conf

[color=indigo]> ; incoming ISDN BRI calls arrive here

;
[enEntree]
exten => _X.,1,Dial(IAX2/819,60) ; ring SIP phone #101 during 60 sec.
exten => _X.,n,Hangup

; to call ISDN from SIP phones
; you must place SIP phones into sip-phones context (context=sip-phones) in sip.conf file
[enSortie]
;exten => _X.,1,Dial(ZAP/g1/${EXTEN},60)
exten => _X.,1,Dial(ZAP/1/${EXTEN},60)
exten => _X.,1,Dial(ZAP/2/${EXTEN},60)
exten => _X.,1,Dial(ZAP/4/${EXTEN},60)
exten => _X.,1,Dial(ZAP/5/${EXTEN},60)
exten => _X.,n,Hangup
exten => _X.,102, Playtones(busy)
exten => _X.,n,Wait(10)
exten => _X.,n,Hangup
exten => _X.,202,Playtones(congestion)
exten => _X.,n,Wait(10)
exten => _X.,n,Hangup

[phones]
; Local phones
; They are all to be part of the ‘phones’ context
include => enSortie
exten => _819,1,Dial(IAX2/${EXTEN})
exten => _827,1,Dial(IAX2/${EXTEN})
exten => _828,1,Dial(SIP/${EXTEN}[/color]

Asterisk -r traces from the IAX2 phone to national ISDN network.

[color=red]> Asterisk 1.2.0-BRIstuffed-0.3.0-PRE-1c, Copyright © 1999 - 2005 Digium.

Written by Mark Spencer markster@digium.com

Connected to Asterisk 1.2.0-BRIstuffed-0.3.0-PRE-1c currently running on amelie (pid = 18712)
amelie*CLI> bri debug span 1
Enabled debugging on span 1
1 – Making new call for cr 130
1 > Protocol Discriminator: Q.931 (8) len=31
1 > Call Ref: len= 1 (reference 2/0x2) (Originator)
1 > Message type: SETUP (5)
1 > [1 041 031 801 901 a31 ]
1 > Bearer Capability (len= 5) [ Ext: 1 Q.931 Std: 0 Info transfer capability: Speech (0)
1 > Ext: 1 Trans mode/rate: 64kbps, circuit-mode (16)
1 > Ext: 1 User information layer 1: A-Law (35)
1 > [1 181 011 891 ]
1 > Channel ID (len= 3) [ Ext: 1 IntID: Implicit, Other Spare: 0, Exclusive Dchan: 0
1 > ChanSel: B1 channel
1 ]
1 > [1 6c1 051 411 811 381 321 371 ]
1 > Calling Number (len= 7) [ Ext: 0 TON: Subscriber Number (4) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)
1 > Presentation: Presentation permitted, user number passed network screening (1) ‘827’ ]
1 > [1 701 0a1 a11 311 341 371 371 301 331 331 321 381 ]
1 > Called Number (len=12) [ Ext: 1 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) ‘147703328’ ]
1 < Protocol Discriminator: Q.931 (8) len=7
1 < Call Ref: len= 1 (reference 130/0x82) (Terminator)
1 < Message type: SETUP ACKNOWLEDGE (13)
1 < [1 181 011 891 ]
1 < Channel ID (len= 3) [ Ext: 1 IntID: Implicit, Other Spare: 0, Exclusive Dchan: 0
1 < ChanSel: B1 channel
1 ]
1 – Processing IE 24 (cs0, Channel Identification)
1 < Protocol Discriminator: Q.931 (8) len=7
1 < Call Ref: len= 1 (reference 130/0x82) (Terminator)
1 < Message type: CALL PROCEEDING (2)
1 < [1 181 011 891 ]
1 < Channel ID (len= 3) [ Ext: 1 IntID: Implicit, Other Spare: 0, Exclusive Dchan: 0
1 < ChanSel: B1 channel
1 ]
1 – Processing IE 24 (cs0, Channel Identification)
1 < Protocol Discriminator: Q.931 (8) len=12
1 < Call Ref: len= 1 (reference 130/0x82) (Terminator)
1 < Message type: PROGRESS (3)
1 < [1 081 021 871 fe1 ]
1 < Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: International network (7)
1 < Ext: 1 Cause: Unknown (126), class = Interworking (7) ]
1 < [1 1e1 021 821 811 ]
1 < Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the local user (2)
1 < Ext: 1 Progress Description: Call is not end-to-end ISDN; further call progress information may be available inband. (1) ]
1 – Processing IE 8 (cs0, Cause)
1 – Processing IE 30 (cs0, Progress Indicator)
1 NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Outgoing call Proceeding, peerstate Incoming Call Proceeding
1 > Protocol Discriminator: Q.931 (8) len=8
1 > Call Ref: len= 1 (reference 2/0x2) (Originator)
1 > Message type: DISCONNECT (69)
1 > [1 081 021 811 901 ]
1 > Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1)
1 > Ext: 1 Cause: Unknown (16), class = Normal Event (1) ]
1 < Protocol Discriminator: Q.931 (8) len=4
1 < Call Ref: len= 1 (reference 130/0x82) (Terminator)
1 < Message type: RELEASE (77)
1 NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Release Request
1 > Protocol Discriminator: Q.931 (8) len=8
1 > Call Ref: len= 1 (reference 2/0x2) (Originator)
1 > Message type: RELEASE COMPLETE (90)
1 > [1 081 021 801 901 ]
1 > Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: User (0)
1 > Ext: 1 Cause: Unknown (16), class = Normal Event (1) ]
1 NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null
1 NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null

1 received TEI check request for TEI = 127
1 received TEI check request for TEI = 127
1 received TEI check request for TEI = 127
1 received TEI check request for TEI = 127
1 received TEI check request for TEI = 127
1 received TEI check request for TEI = 127
1 received TEI check request for TEI = 127
1 received TEI check request for TEI = 127
1 received TEI check request for TEI = 127
1 received TEI check request for TEI = 127
1 received TEI check request for TEI = 127
1 received TEI check request for TEI = 127
1 received TEI check request for TEI = 127
1 received TEI check request for TEI = 127
1 received TEI check request for TEI = 127
[/color]


#2

Hello,

Today my configuration is running. It is necessary to change the France Telecom ISDN access with ETSI mode of the Euroisdn+.

Good luck…


#3

Hi
I have the same problem.
My provider is in vm4 and our config is in etsi
Could you tell me how to change to vm4 (in which config file)?
Thanks