Re: [Asterisk-Users] ISDN PRI No Audio

2005-07-07 Thread Matt Fredrickson
On Wed, Jul 06, 2005 at 05:24:06PM -0500, Andy Brezinsky wrote:
 [Span 3 D-Channel 0] Channel ID (len= 6) [ Ext: 1  IntID: Explicit, PRI 
 Spare: 0, Exclusive Dchan: 0
 [Span 3 D-Channel 0]ChanSel: Reserved
 [Span 3 D-Channel 0]   Ext: 1  DS1 Identifier: 2
 [Span 3 D-Channel 0]   Ext: 1  Coding: 0   Number 
 Specified   Channel Type: 3
 [Span 3 D-Channel 0]   Ext: 1  Channel: 24 ]
  [1e 02 81 83]

Make sure that your span map is correctly done.  It looks like the destination
b channel is channel 24 on span 2.  Make sure that you have your DS1s plugged in
in the correct order and it's using the right DS1 for this.  The channel that 
chan_zap
picked for that was 48, so make sure also that they are not numbering the DS1 
identifier
beginning with 0.  You might want to see if you need to adjust your spanmap and 
related
config in zapata.conf for all of this.

-- 
Matthew Fredrickson
___
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


[Asterisk-Users] ISDN PRI No Audio

2005-07-06 Thread Andy Brezinsky


Our setup:

We have a DS3 from Global Crossing terminating into a Adtran MX2800 M13 
mux.  From there, groups of 4 T1's run into T410P digium cards to 7 
individual servers.  Each trunk is configured as ISDN PRI, B8ZS/ESF, 
D-channel being chan 96 with B-channels of 1-95 (we're using NFAS).  The 
D channel is up and there are no alarms.  We see the connection on the 
console from the incoming user as seen below, if the user hangs up it 
disconnects properly, we can also do a zap destroy and disconnect the 
user.  It seems that bi-directional communication is alright.  We were 
running 1.0.7 but upgraded to CVSHEAD to see if a fix existed.


Console Output:
   -- Accepting call from '414944' to '80094042XX' on channel 2/24, 
span 4

   -- Executing Wait(Zap/48-1, 3) in new stack
   -- Executing Answer(Zap/48-1, ) in new stack
   -- Executing Playback(Zap/48-1, tt-monkeys) in new stack
   -- Playing 'tt-monkeys' (language 'en')
   -- Executing Read(Zap/48-1, TEST||2) in new stack
   -- Accepting a maximum of 2 digits.
   -- User entered nothing.
   -- Executing SayDigits(Zap/48-1, ) in new stack
   -- Playing 'digits/1' (language 'en')
   -- Playing 'digits/1' (language 'en')
   -- Playing 'digits/1' (language 'en')
   -- Playing 'digits/1' (language 'en')
   -- Executing Hangup(Zap/48-1, ) in new stack
 == Spawn extension (default, 80094042XX, 6) exited non-zero on 'Zap/48-1'
   -- Hungup 'Zap/48-1'

The Problem:
No audio and no DTMF tones are passed.  We cannot hear the test audio, 
we cannot send digits back and we cannot hear the digits being said.  
GBLX setup a tap and said we were not sending them any audio at all so 
we're fairly certain this problem is on our end and not theirs. 

We're at a loss here and can't really figure out what's wrong.  Can 
someone provide some insight into this problem?


Thanks

--
~Andy Brezinsky
___
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


Re: [Asterisk-Users] ISDN PRI No Audio

2005-07-06 Thread Matt Fredrickson
On Wed, Jul 06, 2005 at 12:42:52PM -0500, Andy Brezinsky wrote:
 Console Output:
-- Accepting call from '414944' to '80094042XX' on channel 2/24, 
 span 4
-- Executing Wait(Zap/48-1, 3) in new stack
-- Executing Answer(Zap/48-1, ) in new stack
-- Executing Playback(Zap/48-1, tt-monkeys) in new stack
-- Playing 'tt-monkeys' (language 'en')
-- Executing Read(Zap/48-1, TEST||2) in new stack
-- Accepting a maximum of 2 digits.
-- User entered nothing.
-- Executing SayDigits(Zap/48-1, ) in new stack
-- Playing 'digits/1' (language 'en')
-- Playing 'digits/1' (language 'en')
-- Playing 'digits/1' (language 'en')
-- Playing 'digits/1' (language 'en')
-- Executing Hangup(Zap/48-1, ) in new stack
  == Spawn extension (default, 80094042XX, 6) exited non-zero on 'Zap/48-1'
-- Hungup 'Zap/48-1'
 
 The Problem:
 No audio and no DTMF tones are passed.  We cannot hear the test audio, 
 we cannot send digits back and we cannot hear the digits being said.  
 GBLX setup a tap and said we were not sending them any audio at all so 
 we're fairly certain this problem is on our end and not theirs. 
 
 We're at a loss here and can't really figure out what's wrong.  Can 
 someone provide some insight into this problem?

Hmm... I wonder if this has anything to do with some of those NFAS changes that
I made a month or two ago.  Make sure that you're running latest CVS-HEAD on 
asterisk
and libpri and see if it still does it.  If it does, can you provide the output 
that 
you gave above along with the `pri debug span X` that goes along with it?

-- 
Matthew Fredrickson
___
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


Re: [Asterisk-Users] ISDN PRI No Audio

2005-07-06 Thread Andy Brezinsky

Running latest cvs here's pri debug's output

[Span 3 D-Channel 0] Protocol Discriminator: Q.931 (8)  len=47
[Span 3 D-Channel 0] Call Ref: len= 2 (reference 135/0x87) (Originator)
[Span 3 D-Channel 0] Message type: SETUP (5)
 [04 03 80 90 a2]
[Span 3 D-Channel 0] Bearer Capability (len= 5) [ Ext: 1  Q.931 Std: 0  
Info transfer capability: Speech (0)
[Span 3 D-Channel 0]  Ext: 1  Trans 
mode/rate: 64kbps, circuit-mode (16)
[Span 3 D-Channel 0]  Ext: 1  User 
information layer 1: u-Law (34)

 [18 04 e9 82 83 98]
[Span 3 D-Channel 0] Channel ID (len= 6) [ Ext: 1  IntID: Explicit, PRI 
Spare: 0, Exclusive Dchan: 0

[Span 3 D-Channel 0]ChanSel: Reserved
[Span 3 D-Channel 0]   Ext: 1  DS1 Identifier: 2
[Span 3 D-Channel 0]   Ext: 1  Coding: 0   Number 
Specified   Channel Type: 3

[Span 3 D-Channel 0]   Ext: 1  Channel: 24 ]
 [1e 02 81 83]
[Span 3 D-Channel 0] Progress Indicator (len= 4) [ Ext: 1  Coding: 
CCITT (ITU) standard (0) 0: 0   Location: Private network serving the 
local user (1)
[Span 3 D-Channel 0]   Ext: 1  Progress 
Description: Calling equipment is non-ISDN. (3) ]

 [6c 0c 21 81 34 31 34 39 34 34 30 31 36 32]
[Span 3 D-Channel 0] Calling Number (len=14) [ Ext: 0  TON: National 
Number (2)  NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)
[Span 3 D-Channel 0]   Presentation: 
Presentation permitted, user number passed network screening (1) 
'41494401xx' ]

 [70 0b a1 38 30 30 37 39 36 37 32 37 31]
[Span 3 D-Channel 0] Called Number (len=13) [ Ext: 1  TON: National 
Number (2)  NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) 
'80079672xx' ]

[Span 3 D-Channel 0]-- Making new call for cr 135
[Span 3 D-Channel 0]-- Processing Q.931 Call Setup
[Span 3 D-Channel 0]-- Processing IE 4 (cs0, Bearer Capability)
[Span 3 D-Channel 0]-- Processing IE 24 (cs0, Channel Identification)
[Span 3 D-Channel 0]-- Processing IE 30 (cs0, Progress Indicator)
[Span 3 D-Channel 0]-- Processing IE 108 (cs0, Calling Party Number)
[Span 3 D-Channel 0]-- Processing IE 112 (cs0, Called Party Number)
[Span 3 D-Channel 0] Protocol Discriminator: Q.931 (8)  len=11
[Span 3 D-Channel 0] Call Ref: len= 2 (reference 135/0x87) (Terminator)
[Span 3 D-Channel 0] Message type: CALL PROCEEDING (2)
 [18 04 e9 82 83 98]
[Span 3 D-Channel 0] Channel ID (len= 6) [ Ext: 1  IntID: Explicit, PRI 
Spare: 0, Exclusive Dchan: 0

[Span 3 D-Channel 0]ChanSel: Reserved
[Span 3 D-Channel 0]   Ext: 1  DS1 Identifier: 2
[Span 3 D-Channel 0]   Ext: 1  Coding: 0   Number 
Specified   Channel Type: 3

[Span 3 D-Channel 0]   Ext: 1  Channel: 24 ]
   -- Executing Wait(Zap/48-1, 3) in new stack
   -- Accepting call from '41494401xx' to '80079672xx' on channel 2/24, 
span 4

   -- Executing Answer(Zap/48-1, ) in new stack
[Span 3 D-Channel 0] Protocol Discriminator: Q.931 (8)  len=15
[Span 3 D-Channel 0] Call Ref: len= 2 (reference 135/0x87) (Terminator)
[Span 3 D-Channel 0] Message type: CONNECT (7)
 [18 04 e9 82 83 98]
[Span 3 D-Channel 0] Channel ID (len= 6) [ Ext: 1  IntID: Explicit, PRI 
Spare: 0, Exclusive Dchan: 0

[Span 3 D-Channel 0]ChanSel: Reserved
[Span 3 D-Channel 0]   Ext: 1  DS1 Identifier: 2
[Span 3 D-Channel 0]   Ext: 1  Coding: 0   Number 
Specified   Channel Type: 3

[Span 3 D-Channel 0]   Ext: 1  Channel: 24 ]
 [1e 02 81 82]*CLI
[Span 3 D-Channel 0] Progress Indicator (len= 4) [ Ext: 1  Coding: 
CCITT (ITU) standard (0) 0: 0   Location: Private network serving the 
local user (1)
[Span 3 D-Channel 0]   Ext: 1  Progress 
Description: Called equipment is non-ISDN. (2) ]

   -- Executing Playback(Zap/48-1, tt-monkeys) in new stack
   -- Playing 'tt-monkeys' (language 'en')
[Span 3 D-Channel 0] Protocol Discriminator: Q.931 (8)  len=5
[Span 3 D-Channel 0] Call Ref: len= 2 (reference 135/0x87) (Originator)
[Span 3 D-Channel 0] Message type: CONNECT ACKNOWLEDGE (15)
   -- Executing Read(Zap/48-1, TEST||2) in new stack
   -- Accepting a maximum of 2 digits.
   -- User entered nothing.
   -- Executing SayDigits(Zap/48-1, ) in new stack
   -- Playing 'digits/1' (language 'en')
   -- Playing 'digits/1' (language 'en')
   -- Playing 'digits/1' (language 'en')
   -- Playing 'digits/1' (language 'en')
   -- Executing Hangup(Zap/48-1, ) in new stack
 == Spawn extension (default, 80079672xx, 6) exited non-zero on 'Zap/48-1'
[Span 3 D-Channel 0]NEW_HANGUP DEBUG: Calling q931_hangup, ourstate 
Active, peerstate Active

[Span 3 D-Channel 0] Protocol Discriminator: Q.931 (8)  len=9
[Span 3 D-Channel 0] Call Ref: len= 2 (reference 135/0x87) (Terminator)
[Span 3 D-Channel 0] Message type: DISCONNECT (69)
 [08 02 81 90]*CLI
[Span 3 D-Channel 0] Cause (len= 4) [ Ext: