Fwd: [Asterisk-Users]Asterisk <-IP-> Siemens HiPath 3750
Nguyen
chinhnam.nguyen at gmail.com
Tue Jun 20 13:56:15 MST 2006
Hi Josue and ISDN experts,
I spent 2 days doing some home works on connecting TMS2 and Sangoma A101. So
far, it's just partially worked.
I was not sure, what's correspond to EuroISDN in Siemens language. On
Hipath3750, I see a bunch of protocol listed:
- AmtPP with CRC4
- AmtPP without CRC4
- S0 XXXX
- PRI ECMA-QSIG slave (1cr/2cr)
-PRI ECMA-QSIG master
I tried nearly with all of them.
1/With AmtPP with CRC4:
+++zaptel.conf
span = 1,0,0,ccs,hdb3 (we have to be master)
bchan=1-15,17-31
dchan=16
+++zapata.conf
switchtype=euroisdn
signalling=pri_net
channels=1-15,17-31
calls from Hipath-> Asterisk arrived, but I heard nothing. Log is below:
-----------------BEGIN
LOG-----------------------------------------------------------------
< Protocol Discriminator: Q.931 (8) len=33
< Call Ref: len= 2 (reference 1/0x1) (Originator)
< Message type: SETUP (5)
< [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)
< [18 03 a1 83 9f]
< Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, Preferred
Dchan: 0
< ChanSel: Reserved
< Ext: 1 Coding: 0 Number Specified Channel Type:
3
< Ext: 1 Channel: 31 ]
< [6c 05 01 80 31 31 33]
< Calling Number (len= 7) [ Ext: 0 TON: Unknown Number Type (0) NPI:
ISDN/Telephony Numbering Plan (E.164/E.163) (1)
< Presentation: Presentation permitted, user
number not screened (0) '113' ]
< [70 05 81 37 31 30 30]
< Called Number (len= 7) [ Ext: 1 TON: Unknown Number Type (0) NPI:
ISDN/Telephony Numbering Plan (E.164/E.163) (1) '7100' ]
< [7d 02 91 81]
< IE: High-layer Compatibility (len = 4)
-- Making new call for cr 1
-- Processing Q.931 Call Setup
-- Processing IE 4 (cs0, Bearer Capability)
-- Processing IE 24 (cs0, Channel Identification)
-- Processing IE 108 (cs0, Calling Party Number)
-- Processing IE 112 (cs0, Called Party Number)
-- Processing IE 125 (cs0, High-layer Compatibility)
> Protocol Discriminator: Q.931 (8) len=11
> Call Ref: len= 2 (reference 1/0x1) (Terminator)
> Message type: CALL PROCEEDING (2)
> [18 04 e9 81 83 9f]
> Channel ID (len= 6) [ Ext: 1 IntID: Explicit, PRI Spare: 0, Exclusive
Dchan: 0
> ChanSel: Reserved
> Ext: 1 DS1 Identifier: 1
> Ext: 1 Coding: 0 Number Specified Channel Type:
3
> Ext: 1 Channel: 31 ]
-- Accepting call from '113' to '7100' on channel 1/31, span 1
-- Executing Answer("Zap/31-1", "") in new stack
> Protocol Discriminator: Q.931 (8) len=15
> Call Ref: len= 2 (reference 1/0x1) (Terminator)
> Message type: CONNECT (7)
> [18 04 e9 81 83 9f]
> Channel ID (len= 6) [ Ext: 1 IntID: Explicit, PRI Spare: 0, Exclusive
Dchan: 0
> ChanSel: Reserved
> Ext: 1 DS1 Identifier: 1
> Ext: 1 Coding: 0 Number Specified Channel Type:
3
> Ext: 1 Channel: 31 ]
> [1e 02 81 82]
> Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0:
0 Location: Private network serving the local user (1)
> Ext: 1 Progress Description: Called
equipment is non-ISDN. (2) ]
-- Executing Wait("Zap/31-1", "1") in new stack
< Protocol Discriminator: Q.931 (8) len=13
< Call Ref: len= 2 (reference 1/0x1) (Originator)
< Message type: STATUS (125)
< [08 03 81 e4 18]
< Cause (len= 5) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location:
Private network serving the local user (1)
< Ext: 1 Cause: Unknown (100), class = Protocol Error (6)
]
< Cause data 1: 18 (24)
< [14 01 01]
< Call State (len= 3) [ Ext: 0 Coding: CCITT (ITU) standard (0) Call state:
Call Initiated (1)
-- Processing IE 8 (cs0, Cause)
-- Processing IE 20 (cs0, Call State)
< Protocol Discriminator: Q.931 (8) len=13
< Call Ref: len= 2 (reference 1/0x1) (Originator)
< Message type: STATUS (125)
< [08 03 81 e2 07]
< Cause (len= 5) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location:
Private network serving the local user (1)
< Ext: 1 Cause: Wrong message (98), class = Protocol Error
(6) ]
< Cause data 1: 07 (7)
< [14 01 01]
< Call State (len= 3) [ Ext: 0 Coding: CCITT (ITU) standard (0) Call state:
Call Initiated (1)
-- Processing IE 8 (cs0, Cause)
-- Processing IE 20 (cs0, Call State)
-- Executing Echo("Zap/31-1", "") in new stack
< Protocol Discriminator: Q.931 (8) len=33
< Call Ref: len= 2 (reference 1/0x1) (Originator)
< Message type: SETUP (5)
< [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)
< [18 03 a1 83 9f]
< Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, Preferred
Dchan: 0
< ChanSel: Reserved
< Ext: 1 Coding: 0 Number Specified Channel Type:
3
< Ext: 1 Channel: 31 ]
< [6c 05 01 80 31 31 33]
< Calling Number (len= 7) [ Ext: 0 TON: Unknown Number Type (0) NPI:
ISDN/Telephony Numbering Plan ( E.164/E.163) (1)
< Presentation: Presentation permitted, user
number not screened (0) '113' ]
< [70 05 81 37 31 30 30]
< Called Number (len= 7) [ Ext: 1 TON: Unknown Number Type (0) NPI:
ISDN/Telephony Numbering Plan ( E.164/E.163) (1) '7100' ]
< [7d 02 91 81]
< IE: High-layer Compatibility (len = 4)
-- Processing Q.931 Call Setup
-- Processing IE 4 (cs0, Bearer Capability)
-- Processing IE 24 (cs0, Channel Identification)
-- Processing IE 108 (cs0, Calling Party Number)
-- Processing IE 112 (cs0, Called Party Number)
-- Processing IE 125 (cs0, High-layer Compatibility)
< Protocol Discriminator: Q.931 (8) len=33
< Call Ref: len= 2 (reference 1/0x1) (Originator)
< Message type: SETUP (5)
< [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)
< [18 03 a1 83 9f]
< Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, Preferred
Dchan: 0
< ChanSel: Reserved
< Ext: 1 Coding: 0 Number Specified Channel Type:
3
< Ext: 1 Channel: 31 ]
< [6c 05 01 80 31 31 33]
< Calling Number (len= 7) [ Ext: 0 TON: Unknown Number Type (0) NPI:
ISDN/Telephony Numbering Plan ( E.164/E.163) (1)
< Presentation: Presentation permitted, user
number not screened (0) '113' ]
< [70 05 81 37 31 30 30]
< Called Number (len= 7) [ Ext: 1 TON: Unknown Number Type (0) NPI:
ISDN/Telephony Numbering Plan ( E.164/E.163) (1) '7100' ]
< [7d 02 91 81]
< IE: High-layer Compatibility (len = 4)
-- Processing Q.931 Call Setup
-- Processing IE 4 (cs0, Bearer Capability)
-- Processing IE 24 (cs0, Channel Identification)
-- Processing IE 108 (cs0, Calling Party Number)
-- Processing IE 112 (cs0, Called Party Number)
-- Processing IE 125 (cs0, High-layer Compatibility)
< Protocol Discriminator: Q.931 (8) len=33
< Call Ref: len= 2 (reference 1/0x1) (Originator)
< Message type: SETUP (5)
< [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)
< [18 03 a1 83 9f]
< Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, Preferred
Dchan: 0
< ChanSel: Reserved
< Ext: 1 Coding: 0 Number Specified Channel Type:
3
< Ext: 1 Channel: 31 ]
< [6c 05 01 80 31 31 33]
< Calling Number (len= 7) [ Ext: 0 TON: Unknown Number Type (0) NPI:
ISDN/Telephony Numbering Plan ( E.164/E.163) (1)
< Presentation: Presentation permitted, user
number not screened (0) '113' ]
< [70 05 81 37 31 30 30]
< Called Number (len= 7) [ Ext: 1 TON: Unknown Number Type (0) NPI:
ISDN/Telephony Numbering Plan ( E.164/E.163) (1) '7100' ]
< [7d 02 91 81]
< IE: High-layer Compatibility (len = 4)
-- Processing Q.931 Call Setup
-- Processing IE 4 (cs0, Bearer Capability)
-- Processing IE 24 (cs0, Channel Identification)
-- Processing IE 108 (cs0, Calling Party Number)
-- Processing IE 112 (cs0, Called Party Number)
-- Processing IE 125 (cs0, High-layer Compatibility)
< Protocol Discriminator: Q.931 (8) len=33
< Call Ref: len= 2 (reference 1/0x1) (Originator)
< Message type: SETUP (5)
< [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)
< [18 03 a1 83 9f]
< Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, Preferred
Dchan: 0
< ChanSel: Reserved
< Ext: 1 Coding: 0 Number Specified Channel Type:
3
< Ext: 1 Channel: 31 ]
< [6c 05 01 80 31 31 33]
< Calling Number (len= 7) [ Ext: 0 TON: Unknown Number Type (0) NPI:
ISDN/Telephony Numbering Plan ( E.164/E.163) (1)
< Presentation: Presentation permitted, user
number not screened (0) '113' ]
< [70 05 81 37 31 30 30]
< Called Number (len= 7) [ Ext: 1 TON: Unknown Number Type (0) NPI:
ISDN/Telephony Numbering Plan ( E.164/E.163) (1) '7100' ]
< [7d 02 91 81]
< IE: High-layer Compatibility (len = 4)
-- Processing Q.931 Call Setup
-- Processing IE 4 (cs0, Bearer Capability)
-- Processing IE 24 (cs0, Channel Identification)
-- Processing IE 108 (cs0, Calling Party Number)
-- Processing IE 112 (cs0, Called Party Number)
-- Processing IE 125 (cs0, High-layer Compatibility)
< Protocol Discriminator: Q.931 (8) len=9
< Call Ref: len= 2 (reference 1/0x1) (Originator)
< Message type: DISCONNECT (69)
< [08 02 80 90]
< Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location:
User (0)
< Ext: 1 Cause: Unknown (16), class = Normal Event (1) ]
-- Processing IE 8 (cs0, Cause)
-- Channel 0/31, span 1 got hangup request
== Spawn extension (incoming, 7100, 3) exited non-zero on 'Zap/31-1'
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Disconnect Indication,
peerstate Disconnect Request
> Protocol Discriminator: Q.931 (8) len=9
> Call Ref: len= 2 (reference 1/0x1) (Terminator)
> Message type: RELEASE (77)
> [08 02 81 90]
> Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location:
Private network serving the local user (1)
> Ext: 1 Cause: Unknown (16), class = Normal Event (1) ]
-- Hungup 'Zap/31-1'
< Protocol Discriminator: Q.931 (8) len=5
< Call Ref: len= 2 (reference 1/0x1) (Originator)
< Message type: RELEASE COMPLETE (90)
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null
NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null
----------------------------END
LOG------------------------------------------------------------
I have dupechecked to see that both side use A-Law. Strange. What's can be
the reason for this? I dunno.
Calling from Asterisk to Hipath have worse fate. Call terminate immediately
with:
----------------BEGIN LOG --------------------------
-- Accepting AUTHENTICATED call from 203.162.39.167:
> requested format = gsm,
> requested prefs = (),
> actual format = gsm,
> host prefs = (gsm|ilbc),
> priority = mine
-- Executing SetCallerID("IAX2/2209-2", "8223113") in new stack
-- Executing Dial("IAX2/2209-2", "ZAP/1/8223113|40|r") in new stack
-- Making new call for cr 32773
-- Requested transfer capability: 0x00 - SPEECH
> Protocol Discriminator: Q.931 (8) len=38
> Call Ref: len= 2 (reference 5/0x5) (Originator)
> Message type: SETUP (5)
> [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)
> [18 04 e1 81 83 81]
> Channel ID (len= 6) [ Ext: 1 IntID: Explicit, PRI Spare: 0, Preferred
Dchan: 0
> ChanSel: Reserved
> Ext: 1 DS1 Identifier: 1
> Ext: 1 Coding: 0 Number Specified Channel Type:
3
> Ext: 1 Channel: 1 ]
> [6c 09 41 81 38 32 32 33 31 31 33]
> Calling Number (len=11) [ Ext: 0 TON: Subscriber Number (4) NPI:
ISDN/Telephony Numbering Plan ( E.164/E.163) (1)
> Presentation: Presentation permitted, user
number passed network screening (1) '8223113' ]
> [70 08 c1 38 32 32 33 31 31 33]
> Called Number (len=10) [ Ext: 1 TON: Subscriber Number (4) NPI:
ISDN/Telephony Numbering Plan ( E.164/E.163) (1) '8223113' ]
> [a1]
> Sending Complete (len= 1)
-- Called 1/8223113
< Protocol Discriminator: Q.931 (8) len=10
< Call Ref: len= 2 (reference 5/0x5) (Terminator)
< Message type: RELEASE COMPLETE (90)
< [08 03 85 e4 18]
< Cause (len= 5) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location:
Private network serving the remote user (5)
< Ext: 1 Cause: Unknown (100), class = Protocol Error (6)
]
< Cause data 1: 18 (24)
-- Processing IE 8 (cs0, Cause)
-- Channel 1/1, span 1 got hangup
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null
NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null
-- Hungup 'Zap/1-1'
== Everyone is busy/congested at this time (1:0/0/1)
== Auto fallthrough, channel 'IAX2/2209-2' status is 'CHANUNAVAIL'
--------------- END LOG------------------------------
Well, changing the Hipath side to ECMA-QSIG slave and Asterisk side to
switchtype=qsig have same effect. Call from HP3750 arrived to Asterisk, but
nothing heard. And from Asterisk to HP3750, call was terminated with the
same reason.
Since you and others has successfully setup Siemens and Asterisk. I have
strong believe that I was wrong on protocol selection on both sides
(Asterisk and HP). Can you help to point out, what protocol I should set on
HP3750 and Asterisk?
Sorry List for long posting.
Thanks and best regards,
Nguyen
--
With best regards,
Nguyen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060620/8a434429/attachment.htm
More information about the asterisk-users
mailing list