Hello,
I'm actually trying
to connect an asterisk PBX with 2 E100P card to an alcatel 440, but I'm facing
some problems.
In fact, i had one
E100P connected to the public PSTN and the other one connected to the
Alcatel.
I can receive call
from the PSTN without any problems but I can't place call from my Alcatel to the
PSTN.
Here is my conf
files:
zaptel.conf:
span=1,0,0,ccs,hdb3
bchan=1-15,17-31
dchan=16
loadzone=fr
span=2,1,0,ccs,hdb3
bchan=32-46,48-62
dchan=47
loadzone=fr
bchan=32-46,48-62
dchan=47
loadzone=fr
zapata.conf:
[channels]
context=pri-public
switchtype=euroisdn
pridialplan=local
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
group=1
musiconhold=default
signalling = pri_cpe
channel => 1-15
channel => 17-31
switchtype=euroisdn
pridialplan=local
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
group=1
musiconhold=default
signalling = pri_cpe
channel => 1-15
channel => 17-31
context=pri-alcatel
group=2
overlapdial=yes
signalling = pri_net
channel => 32-46
channel => 48-62
group=2
overlapdial=yes
signalling = pri_net
channel => 32-46
channel => 48-62
Extensions.conf:
[pri-public]
; Nous sommes a paris
;include =>
default
exten =>
s,1,DigitTimeout(1)
exten => _X.,1,Dial(ZAP/g2/${EXTEN}) ; Si la ligne ADSL est tombe envoi du numero vers la carte quadBRI1
exten => _0X.,1,Dial(ZAP/g1/${EXTEN}) ; Si la ligne ADSL est tombe envoi du numero vers la carte quadBRI1
exten => _X.,1,Dial(ZAP/g2/${EXTEN}) ; Si la ligne ADSL est tombe envoi du numero vers la carte quadBRI1
exten => _0X.,1,Dial(ZAP/g1/${EXTEN}) ; Si la ligne ADSL est tombe envoi du numero vers la carte quadBRI1
exten =>
8xxx,1,Dial(ZAP/g2/${EXTEN})
exten => 2xxx,1,Dial(ZAP/g2/${EXTEN})
exten => 2xxx,1,Dial(ZAP/g2/${EXTEN})
exten =>
8249,1,Dial(SIP/[EMAIL PROTECTED])
exten => 0149718249,1,Dial(SIP/[EMAIL PROTECTED])
exten => 0149718249,1,Dial(SIP/[EMAIL PROTECTED])
exten =>
149718249,1,Dial(SIP/[EMAIL PROTECTED])
[pri-alcatel]
;include =>
default
; Nous sommes a paris
exten => s,1,DigitTimeout(1)
exten => _X.,1,Dial(ZAP/g1/${EXTEN}) ; Envoi du numero vers la carte quadBRI2
; Nous sommes a paris
exten => s,1,DigitTimeout(1)
exten => _X.,1,Dial(ZAP/g1/${EXTEN}) ; Envoi du numero vers la carte quadBRI2
Here is my debug
span error:
ConnecteurAzennUlis*CLI>
< Protocol Discriminator: Q.931 (8) len=48
< Call Ref: len= 2 (reference 4346/0x10FA) (Originator)
< Message type: SETUP (5)
< [a1]
< Sending Complete (len= 1)
< [04 03 80 90 a3]
< Bearer Capability (len= 5) [ Ext: 1 Q.931 Std: 0 Info transfer capability: Speech (0)
< Ext: 1 Trans mode/rate: 64kbps, circuit-mode (16)
< Ext: 1 User information layer 1: A-Law (35)
< [9e]
< Non-Locking Shift (len=01): Requested codeset 6
< [24 01 80]
Dec 30 16:31:22 WARNING[229390]: chan_zap.c:6806 zt_pri_error: PRI: !! < Unknown IE 1572 (len = 3)
< [6c 0b 21 81 31 34 39 37 31 38 33 34 32]
< Calling Number (len=13) [ Ext: 0 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)
< Presentation: Presentation permitted, user number passed network screening (1) '149718342' ]
< [70 0b 80 30 36 37 32 30 38 33 35 31 36]
< Called Number (len=13) [ Ext: 1 TON: Unknown Number Type (0) NPI: Unknown Number Plan (0) '0672083516' ]
< [7d 02 91 81]
< IE: High-layer Compatibility (len = 4)
< [7e 01 04]
< User-User Information (len= 3) [ 04 ]
-- Making new call for cr 4346
-- Processing Q.931 Call Setup
-- Processing IE 161 (cs0, Sending Complete)
-- Processing IE 4 (cs0, Bearer Capability)
-- Processing IE 36 (cs6, Unknown Information Element)
!! Unknown IE 36 (cs6, Unknown Information Element)
-- Processing IE 108 (cs0, Calling Party Number)
-- Processing IE 112 (cs0, Called Party Number)
-- Processing IE 125 (cs0, High-layer Compatibility)
-- Processing IE 126 (cs0, User-User)
> Protocol Discriminator: Q.931 (8) len=10
> Call Ref: len= 2 (reference 37114/0x90FA) (Terminator)
> Message type: CALL PROCEEDING (2)
> [18 03 a9 83 9f]
> Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, Exclusive Dchan: 0
> ChanSel: Reserved
> Ext: 1 Coding: 0 Number Specified Channel Type: 3
> Ext: 1 Channel: 31 ]
-- Starting simple switch on 'Zap/62-1'
-- Accepting overlap call from '149718342' to '0672083516' on channel 0/31, span 2
< Protocol Discriminator: Q.931 (8) len=9
< Call Ref: len= 2 (reference 4346/0x10FA) (Originator)
< Message type: RELEASE (77)
< [08 02 87 d2]
< Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: International network (7)
< Ext: 1 Cause: Unknown (82), class = Invalid message (5) ]
-- Processing IE 8 (cs0, Cause)
-- Channel 0/31, span 2 got hangup
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Release Request
> Protocol Discriminator: Q.931 (8) len=9
> Call Ref: len= 2 (reference 37114/0x90FA) (Terminator)
> Message type: RELEASE COMPLETE (90)
> [08 02 81 90]Ulis*CLI>
> Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1)
> Ext: 1 Cause: Normal Clearing (16), class = Normal Event (1) ]
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null
NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null
-- Hungup 'Zap/62-1'
ConnecteurAzennUlis*CLI> exit
< Protocol Discriminator: Q.931 (8) len=48
< Call Ref: len= 2 (reference 4346/0x10FA) (Originator)
< Message type: SETUP (5)
< [a1]
< Sending Complete (len= 1)
< [04 03 80 90 a3]
< Bearer Capability (len= 5) [ Ext: 1 Q.931 Std: 0 Info transfer capability: Speech (0)
< Ext: 1 Trans mode/rate: 64kbps, circuit-mode (16)
< Ext: 1 User information layer 1: A-Law (35)
< [9e]
< Non-Locking Shift (len=01): Requested codeset 6
< [24 01 80]
Dec 30 16:31:22 WARNING[229390]: chan_zap.c:6806 zt_pri_error: PRI: !! < Unknown IE 1572 (len = 3)
< [6c 0b 21 81 31 34 39 37 31 38 33 34 32]
< Calling Number (len=13) [ Ext: 0 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)
< Presentation: Presentation permitted, user number passed network screening (1) '149718342' ]
< [70 0b 80 30 36 37 32 30 38 33 35 31 36]
< Called Number (len=13) [ Ext: 1 TON: Unknown Number Type (0) NPI: Unknown Number Plan (0) '0672083516' ]
< [7d 02 91 81]
< IE: High-layer Compatibility (len = 4)
< [7e 01 04]
< User-User Information (len= 3) [ 04 ]
-- Making new call for cr 4346
-- Processing Q.931 Call Setup
-- Processing IE 161 (cs0, Sending Complete)
-- Processing IE 4 (cs0, Bearer Capability)
-- Processing IE 36 (cs6, Unknown Information Element)
!! Unknown IE 36 (cs6, Unknown Information Element)
-- Processing IE 108 (cs0, Calling Party Number)
-- Processing IE 112 (cs0, Called Party Number)
-- Processing IE 125 (cs0, High-layer Compatibility)
-- Processing IE 126 (cs0, User-User)
> Protocol Discriminator: Q.931 (8) len=10
> Call Ref: len= 2 (reference 37114/0x90FA) (Terminator)
> Message type: CALL PROCEEDING (2)
> [18 03 a9 83 9f]
> Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, Exclusive Dchan: 0
> ChanSel: Reserved
> Ext: 1 Coding: 0 Number Specified Channel Type: 3
> Ext: 1 Channel: 31 ]
-- Starting simple switch on 'Zap/62-1'
-- Accepting overlap call from '149718342' to '0672083516' on channel 0/31, span 2
< Protocol Discriminator: Q.931 (8) len=9
< Call Ref: len= 2 (reference 4346/0x10FA) (Originator)
< Message type: RELEASE (77)
< [08 02 87 d2]
< Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: International network (7)
< Ext: 1 Cause: Unknown (82), class = Invalid message (5) ]
-- Processing IE 8 (cs0, Cause)
-- Channel 0/31, span 2 got hangup
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Release Request
> Protocol Discriminator: Q.931 (8) len=9
> Call Ref: len= 2 (reference 37114/0x90FA) (Terminator)
> Message type: RELEASE COMPLETE (90)
> [08 02 81 90]Ulis*CLI>
> Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1)
> Ext: 1 Cause: Normal Clearing (16), class = Normal Event (1) ]
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null
NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null
-- Hungup 'Zap/62-1'
ConnecteurAzennUlis*CLI> exit
Can someone help me
please?
Thanks.
GIBERT
Frédéric
Direct
: +33 (0) 1 7072 5101
Mobile: +33 (0) 6 7208
3516
Fax : +33 (0) 1 4692
0569
<<logo.gif>>
_______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users