Re: [asterisk-users] ISDN Cause Code 100, Bosch Integral Management Connection

2008-11-07 Thread Johann Steinwendtner
Wolfgang Pichler wrote:
 Hi all,
 

 we have the following setup
 
 PSTN 3 PRI Lines   ---  Asterisk (1.4.22)   ---  Siemens  HiCom   
 ---   Bosch Integral
 
 The Asterisk Machine does play the man in the middle - and adds some 
 extra functionality to the system (SIP users...) - the normal calls are 
 getting 1:1 through the system (incoming calls from PSTN are handled by 
 a simple Dial(ZAP/g1/${EXTEN}) (g1 = Siemens side) - so no special 
 handling here...
 
 Everything is working as it should - beside of one little thing. The 
 Bosch Integral PBX does have a special extension (99) which is used to 
 remote manage the machine - this managment connection is working fine 
 without asterisk, as soon as asterisk is connected in the middle the 
 management connection wont work any more - getting back isdn cause code 
 100. I have already tried dial options d und c (make it digital - clear 
 channel) - no success.
 
Can you also post the incoming setup message to your asterisk system ?
They should be almost identical.

Best regards

Hans




___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] ISDN Cause Code 100, Bosch Integral Management Connection

2008-11-05 Thread Wolfgang Pichler
Hi all,

first off all - sorry for the cross posting - i did already posted this 
message to asterisk-dev - after that i realized that it isn't really a 
-dev related question - more a -users questions. So ignore it on -dev 


we have the following setup

PSTN 3 PRI Lines   ---  Asterisk (1.4.22)   ---  Siemens  HiCom   
---   Bosch Integral

The Asterisk Machine does play the man in the middle - and adds some 
extra functionality to the system (SIP users...) - the normal calls are 
getting 1:1 through the system (incoming calls from PSTN are handled by 
a simple Dial(ZAP/g1/${EXTEN}) (g1 = Siemens side) - so no special 
handling here...

Everything is working as it should - beside of one little thing. The 
Bosch Integral PBX does have a special extension (99) which is used to 
remote manage the machine - this managment connection is working fine 
without asterisk, as soon as asterisk is connected in the middle the 
management connection wont work any more - getting back isdn cause code 
100. I have already tried dial options d und c (make it digital - clear 
channel) - no success.

Here is the isdn debug


[Nov  5 08:49:22] VERBOSE[1815] logger.c: -- Executing 
[EMAIL PROTECTED]:4] Dial(Zap/19-1, ZAP/g1/99) in new stack
[Nov  5 08:49:22] VERBOSE[1815] logger.c: -- Making new call for cr 33240
[Nov  5 08:49:22] VERBOSE[1815] logger.c: -- Requested transfer 
capability: 0x08 - DIGITAL
[Nov  5 08:49:22] VERBOSE[1815] logger.c:  Protocol Discriminator: 
Q.931 (8)  len=38
[Nov  5 08:49:22] VERBOSE[1815] logger.c:  Call Ref: len= 2 (reference 
472/0x1D8) (Originator)
[Nov  5 08:49:22] VERBOSE[1815] logger.c:  Message type: SETUP (5)
[Nov  5 08:49:22] VERBOSE[1815] logger.c:  [04 03 88 90 bf]
[Nov  5 08:49:22] VERBOSE[1815] logger.c:  Bearer Capability (len= 5) [ 
Ext: 1  Q.931 Std: 0  Info transfer capability: Unrestricted digital 
information (8)
[Nov  5 08:49:22] VERBOSE[1815] logger.c:   
Ext: 1  Trans mode/rate: 64kbps, circuit-mode (16)
[Nov  5 08:49:22] VERBOSE[1815] logger.c: 
 User information layer 1: Unknown (63)
[Nov  5 08:49:22] VERBOSE[1815] logger.c:  [18 03 a1 83 82]
[Nov  5 08:49:22] VERBOSE[1815] logger.c:  Channel ID (len= 5) [ Ext: 
1  IntID: Implicit  PRI  Spare: 0  Preferred  Dchan: 0
[Nov  5 08:49:22] VERBOSE[1815] logger.c: 
ChanSel: As indicated in following octets
[Nov  5 08:49:22] VERBOSE[1815] logger.c:Ext: 
1  Coding: 0  Number Specified  Channel Type: 3
[Nov  5 08:49:22] VERBOSE[1815] logger.c:Ext: 
1  Channel: 2 ]
[Nov  5 08:49:22] VERBOSE[1815] logger.c:  [6c 10 21 81 30 30 38 30 30 
31 30 30 31 30 30 33 34 30]
[Nov  5 08:49:22] VERBOSE[1815] logger.c:  Calling Number (len=18) [ 
Ext: 0  TON: National Number (2)  NPI: ISDN/Telephony Numbering Plan 
(E.164/E.163) (1)
[Nov  5 08:49:22] VERBOSE[1815] logger.c:
Presentation: Presentation permitted, user number passed network 
screening (1)  '00800100100340' ]
[Nov  5 08:49:22] VERBOSE[1815] logger.c:  [70 03 80 39 39]
[Nov  5 08:49:22] VERBOSE[1815] logger.c:  Called Number (len= 5) [ 
Ext: 1  TON: Unknown Number Type (0)  NPI: Unknown Number Plan (0)  '99' ]
[Nov  5 08:49:22] VERBOSE[1815] logger.c: q931.c:3092 q931_setup: call 
33240 on channel 2 enters state 1 (Call Initiated)
[Nov  5 08:49:22] VERBOSE[1815] logger.c: -- Called g1/99


[Nov  5 08:49:22] VERBOSE[25593] logger.c:  Protocol Discriminator: 
Q.931 (8)  len=10
[Nov  5 08:49:22] VERBOSE[25593] logger.c:  Call Ref: len= 2 (reference 
472/0x1D8) (Terminator)
[Nov  5 08:49:22] VERBOSE[25593] logger.c:  Message type: RELEASE 
COMPLETE (90)
[Nov  5 08:49:22] VERBOSE[25593] logger.c:  [08 03 80 e4 04]
[Nov  5 08:49:22] VERBOSE[25593] logger.c:  Cause (len= 5) [ Ext: 1  
Coding: CCITT (ITU) standard (0)  Spare: 0  Location: User (0)
[Nov  5 08:49:22] VERBOSE[25593] logger.c:   Ext: 1  
Cause: Invalid information element contents (100), class = Protocol 
Error (e.g. unknown message) (6) ]
[Nov  5 08:49:22] VERBOSE[25593] logger.c:   Cause data 1: 
04 (4)
[Nov  5 08:49:22] VERBOSE[25593] logger.c: -- Processing IE 8 (cs0, Cause)
[Nov  5 08:49:22] VERBOSE[25593] logger.c: q931.c:3724 q931_receive: 
call 33240 on channel 2 enters state 0 (Null)
[Nov  5 08:49:22] VERBOSE[25593] logger.c: -- Channel 0/2, span 5 
got hangup, cause 100


The ZAP Lines comming from PSTN are configured as follows
group=0
context=from-pstn
switchtype = euroisdn
signalling = pri_cpe
context=fromPSTN
internationalprefix = 00
nationalprefix = 0
localprefix = 0732
overlapdial=yes
pridialplan=unknown


The ZAP Lines going to the Siemens System are configured as follows
group=1
switchtype = euroisdn
signalling = pri_net
context=fromPBX
internationalprefix = 00
nationalprefix = 0
localprefix = 0732
overlapdial=yes
immediate=no


The zaptel.conf does contain
span=1,1,0,ccs,hdb3,crc4
# termtype: te