Kong Zhen Shin
2007-Jan-23 19:56 UTC
[asterisk-users] No D-channels available! Using Primary channel 16 as D-channel anyway!
Dear Gurus, i am facing some unknown problem here.. first, let me describe my case. my office is using a nortel merridian option 11c PBX. and it is connected to the provider thru a E1 card, which is working fine with no problem. my plan it to slot in a server with 2 TE11XP card to intercept the outgoing calls. Provider <--te11xp---> asterisk <---te11xp------> nortel merridian option 11c i had my asterisk set up with these configuration. zaptel.conf ------------------------------------------- loadzone=uk defaultzone=uk span=1,1,1,ccs,hdb3,crc4,yellow span=2,0,1,ccs,hdb3,crc4,yellow bchan=1-15,32-46 dchan=16,47 bchan=17-31,48-62 ------------------------------------------- where span 1 is to the provider and span 2 is to the PBX zapata.conf --------------------------------------------- context=from-pstn switchtype=dms100 signalling=pri_cpe callerid=asreceived group=1 callgroup=1 pickupgroup=1 rxgain=0.0 txgain=0.0 channel=>1-15,17-31 context=from-pstn switchtype=dms100 signalling=pri_cpe callerid=asreceived group=2 callgroup=2 pickupgroup=2 rxgain=0.0 txgain=0.0 channel=>32-46,48-62 ------------------------------------ able to start asterisk. Span 2 loaded beautifully, no problem or errors, but i get this "WARNING[13655]: chan_zap.c:2287 pri_find_dchan: No D-channels available! Using Primary channel 16 as D-channel anyway!" warning message from span 1. which i have no idea what happened.. the funny part is, i am able to receive calls, no problem at all. CID and DID are pass thru (for incoming). but when i try to make a outgoing calls, i got errors PRI HANGUP CAUSE 1 from the provider. i did a pri debug span 1 for the call i dialed, below are the msg. ----------------------------------------------------- -- Accepting call from '124' to '42707898' on channel 0/21, span 2 -- Executing Set("Zap/52-1", "CALLERID(number)=50399100") in new stack -- Executing NoOp("Zap/52-1", "50399100") in new stack -- Executing Dial("Zap/52-1", "ZAP/g0/42707898||") in new stack -- Making new call for cr 32771 -- Requested transfer capability: 0x00 - SPEECH > Protocol Discriminator: Q.931 (8) len=39 > Call Ref: len= 2 (reference 3/0x3) (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 a9 83 81] > 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: 1 ] > [6c 0a 21 80 35 30 33 39 39 31 30 30] > Calling Number (len=12) [ Ext: 0 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) > Presentation: Presentation permitted, user number not screened (0) '50399100' ] > [70 09 a1 34 32 37 30 37 38 39 38] > Called Number (len=11) [ Ext: 1 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) '42707898' ] > [a1]w*CLI> > Sending Complete (len= 1) -- Called g0/42707898 < Protocol Discriminator: Q.931 (8) len=10 < Call Ref: len= 2 (reference 3/0x3) (Terminator) < Message type: CALL PROCEEDING (2) < [18 03 a9 83 81] < 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: 1 ] -- Processing IE 24 (cs0, Channel Identification) -- Zap/1-1 is proceeding passing it to Zap/52-1 < Protocol Discriminator: Q.931 (8) len=17 < Call Ref: len= 2 (reference 3/0x3) (Terminator) < Message type: PROGRESS (3) < [08 02 82 81] < Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the local user (2) < Ext: 1 Cause: Unallocated (unassigned) number (1), class = Normal Event (0) ] < [1e 02 84 88] < Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the remote user (4) < Ext: 1 Progress Description: Inband information or appropriate pattern now available. (8) ] < [1e 02 84 82] < Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the remote user (4) < Ext: 1 Progress Description: Called equipment is non-ISDN. (2) ] -- Processing IE 8 (cs0, Cause) -- Processing IE 30 (cs0, Progress Indicator) -- Processing IE 30 (cs0, Progress Indicator) -- PROGRESS with cause code 1 received -- Zap/1-1 is making progress passing it to Zap/52-1 < Protocol Discriminator: Q.931 (8) len=20 < Call Ref: len= 2 (reference 3/0x3) (Terminator) < Message type: CONNECT (7) < [1e 02 84 88] < Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the remote user (4) < Ext: 1 Progress Description: Inband information or appropriate pattern now available. (8) ] < [1e 02 84 82] < Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the remote user (4) < Ext: 1 Progress Description: Called equipment is non-ISDN. (2) ] < [29 05 07 01 17 14 2d] < Time Date (len= 7) [ 07-01-23 20:45 ] -- Processing IE 30 (cs0, Progress Indicator) -- Processing IE 30 (cs0, Progress Indicator) -- Processing IE 41 (cs0, Date/Time) > Protocol Discriminator: Q.931 (8) len=5 > Call Ref: len= 2 (reference 3/0x3) (Originator) > Message type: CONNECT ACKNOWLEDGE (15) < Protocol Discriminator: Q.931 (8) len=19 < Call Ref: len= 2 (reference 3/0x3) (Terminator) < Message type: FACILITY (98) < [1c 0c 91 a1 09 02 02 22 0e 02 01 22 81 00] < Facility (len=14, codeset=0) [ 0x91, 0xa1, 0x09, 0x02, 0x02, 0x22, 0x0e, 0x02, 0x01, 0x22, 0x81, 0x00 ] -- Processing IE 28 (cs0, Facility) Handle Q.932 ROSE Invoke component -- Zap/1-1 answered Zap/52-1 -- Attempting native bridge of Zap/52-1 and Zap/1-1 < Protocol Discriminator: Q.931 (8) len=13 < Call Ref: len= 2 (reference 0/0x0) (Terminator) < Message type: RESTART ACKNOWLEDGE (78) < [18 03 a1 83 98] < 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: 24 ] < [79 01 80] < Restart Indentifier (len= 3) [ Ext: 1 Spare: 0 Resetting Indicated Channel (0) ] -- Processing IE 24 (cs0, Channel Identification) -- Processing IE 121 (cs0, Restart Indicator) -- B-channel 0/24 successfully restarted on span 1 > Protocol Discriminator: Q.931 (8) len=13 > Call Ref: len= 2 (reference 0/0x0) (Originator) > Message type: RESTART (70) > [18 03 a9 83 99] > 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: 25 ] > [79 01 80] > Restart Indentifier (len= 3) [ Ext: 1 Spare: 0 Resetting Indicated Channel (0) ] -- Channel 0/21, span 2 got hangup request NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Active, peerstate Connect Request > Protocol Discriminator: Q.931 (8) len=9 > Call Ref: len= 2 (reference 3/0x3) (Originator) > Message type: DISCONNECT (69) > [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: Normal Clearing (16), class = Normal Event (1) ] -- Hungup 'Zap/1-1' == Spawn extension (from-pbx, 42707898, 3) exited non-zero on 'Zap/52-1' -- Hungup 'Zap/52-1' < Protocol Discriminator: Q.931 (8) len=30 < Call Ref: len= 2 (reference 3/0x3) (Terminator) < Message type: RELEASE (77) < [1c 0e 91 a1 0b 02 02 22 0f 02 01 24 30 02 81 00] < Facility (len=16, codeset=0) [ 0x91, 0xa1, 0x0b, 0x02, 0x02, 0x22, 0x0f, 0x02, 0x01, 0x24, '0', 0x02, 0x81, 0x00 ] < [28 07 30 20 55 4e 49 54 53] < Display (len= 7) [ 0 UNITS ] -- Processing IE 28 (cs0, Facility) Handle Q.932 ROSE Invoke component -- Processing IE 40 (cs0, Display) NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Release Request > Protocol Discriminator: Q.931 (8) len=9 > Call Ref: len= 2 (reference 3/0x3) (Originator) > Message type: RELEASE COMPLETE (90) > [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: 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 -- Channel 0/1, span 1 received AOC-E charging 0 units ----------------------------------------- please help... thank you.
Leo Ann Boon
2007-Jan-23 20:36 UTC
[asterisk-users] No D-channels available! Using Primary channel 16 as D-channel anyway!
<snip>> zaptel.conf > ------------------------------------------- > loadzone=uk > defaultzone=uk > > > span=1,1,1,ccs,hdb3,crc4,yellow > span=2,0,1,ccs,hdb3,crc4,yellowI don't think yellow alarm is necessary unless you've been advised by your carrier.> > bchan=1-15,32-46 > dchan=16,47 > bchan=17-31,48-62 > ------------------------------------------- > where span 1 is to the provider and span 2 is to the PBX > > zapata.conf > --------------------------------------------- > context=from-pstn > switchtype=dms100 > signalling=pri_cpe > callerid=asreceived > group=1 > callgroup=1 > pickupgroup=1 > rxgain=0.0 > txgain=0.0 > channel=>1-15,17-31 > > context=from-pstn > switchtype=dms100 > signalling=pri_cpeIf you are connecting the second span to the 11c, shouldn't this be pri_net? And, since you're using E1 I believe both your switchtype should be euroisdn instead of dms100. Leo
Karsten Wemheuer
2007-Feb-03 05:13 UTC
[asterisk-users] No D-channels available! Using Primary channel 16 as D-channel anyway!
Hi, maybe I am a little bit late with this answer. I take a look at Your config and the debug output.> <snip> > Provider <--te11xp---> asterisk <---te11xp------> nortel merridian > option 11c > <snip> > zapata.conf > --------------------------------------------- > context=from-pstn > switchtype=dms100 > signalling=pri_cpe > callerid=asreceived > group=1 > callgroup=1 > pickupgroup=1 > rxgain=0.0 > txgain=0.0 > channel=>1-15,17-31 > > context=from-pstn > switchtype=dms100 > signalling=pri_cpe > callerid=asreceived > group=2 > callgroup=2 > pickupgroup=2 > rxgain=0.0 > txgain=0.0 > channel=>32-46,48-62 > ------------------------------------ > > able to start asterisk. Span 2 loaded beautifully, no problem or errors, > but i get this > "WARNING[13655]: chan_zap.c:2287 pri_find_dchan: No D-channels > available! Using Primary channel 16 as D-channel anyway!" > warning message from span 1. which i have no idea what happened.. > > the funny part is, i am able to receive calls, no problem at all. CID > and DID are pass thru (for incoming). > but when i try to make a outgoing calls, i got errors PRI HANGUP CAUSE 1 > >from the provider. > > > i did a pri debug span 1 for the call i dialed, below are the msg. > ----------------------------------------------------- > -- Accepting call from '124' to '42707898' on channel 0/21, span 2 > -- Executing Set("Zap/52-1", "CALLERID(number)=50399100") in new stack > -- Executing NoOp("Zap/52-1", "50399100") in new stack > -- Executing Dial("Zap/52-1", "ZAP/g0/42707898||") in new stack > -- Making new call for cr 32771the dial command takes "g0" as argument. But in Your zapata.conf there are configured only g1 and g2. Is this a typo? HTH, Karsten