Re: [asterisk-users] US T1 Hangup Detection

2008-07-15 Thread Jay R. Ashworth
On Fri, Jul 11, 2008 at 03:59:22PM -0500, Joe Greco wrote:
  On Fri, Jul 11, 2008 at 12:58:59PM -0700, Daniel Hazelbaker wrote:
Really?  You have an RJ-21X block that contains both analog AND T1
wires?  That's really uncommon.  I hope they at least put the red
special service caps on the T1 wires.
   
   Yup.  I thought that pretty funny myself.  10 year old analog wires  
   running a digital T1. :)  And they do have some caps on them, I think  
   it was red but not 100% sure.
  
  No, that's not the unusual part.  The unusual part is just that both
  analog and digital services are on the same block.  Maybe it's a
  regional think...
 
 That's really not unusual.  It's not /preferred/, but that's an entirely
 different can of worms.

I'll bet.  :-)

 In general, if copper is available into a building, the telco is going to
 look very seriously at the possibility of using that.  If the building is
 already wired and the copper tests clean, the telco will want to use that.
 In most existing situations, that will already be terminated in a can with
 lightning suppression and will have been crossed over to RJ21X's that are
 going to whatever suites are in the building.

So we don't pay a lot of attention to Tx and Rx in separate jackets,
or shielded anymore?  Or is so much T-1 delivery over 1-pair HDSL that
no one cares anymore?

 Since the telco will have /no/ /problem/ running the T1 over their outside
 plant and up to the can on what is approximately Category 3 wire, and the
 T1 signal is going to have been running alongside those same analog wires
 for probably a few miles, what happens next should be obvious.

Cat 3 is optimistic, IME.  Cat 2 is good enough for T-1, though; I
looked once.

 Suite 214 wants a T1.  There's already a 25-pair going up there from the
 RJ21X.  It's second story, so do you go and spend an {hour, afternoon, 
 etc} figuring out how to run fresh wire, or do you notice that only 6 pair 
 are in use on the RJ21X, and decide to feed up on the existing cable?
 
 Now, if you're nasty and you don't separate it (typically I see the bottom
 used for data) and you don't put redcaps on, yeah, then that is just 
 looking for eventual trouble.  And who knows, the wire may be cruddy, so
 maybe you still end up doing the separate run.  But it probably works.
 
 I've seen this often enough.  Would I prefer to see new cable run?  Sure.
 But we've all done our copper sins.  I've seen a lot of things that are
 uglier than that.  Here's one of them:
 
 http://www.sol.net/hallofshame/

Slithering jesus.  :-)

 (I've always meant to expand that page, but it seems that I never get the
 good photos of bad stuff)

I was going to ask...

 Lack of space, lack of need, lack of having another RJ21X in the truck are
 just a few other obvious reasons that this might be done.

True.

Your netmon link is 404, BTW.

Cheers,
-- jra
-- 
Jay R. Ashworth   Baylink  [EMAIL PROTECTED]
Designer The Things I Think   RFC 2100
Ashworth  Associates http://baylink.pitas.com '87 e24
St Petersburg FL USA  http://photo.imageinc.us +1 727 647 1274

 Those who cast the vote decide nothing.
 Those who count the vote decide everything.
   -- (Josef Stalin)

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

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] US T1 Hangup Detection (Resolved)

2008-07-15 Thread Daniel Hazelbaker
On Jul 11, 2008, at 12:58 PM, Daniel Hazelbaker wrote:

 I may have figured out the problem this morning, but I won't be able
 to test for a few days (again, aggravating that the only T1 line I
 have to test with is the live one).  I noticed this morning while
 telneted into the Adtran that when I hangup on our normal incoming
 lines the Receive A bit toggles.  I then noticed that two of the lines
 do NOT toggle the RA bit during hangup.  These happen to the be last
 two lines in the rotary so I would not normally get incoming calls and
 complaints on them.  They also happen to be the lines I was using to
 do my testing with. Grrr.

Just to close out this thread for anybody interested, last night I  
hooked up the T1 line again and verified that this was indeed the  
problem.  Out of the 12 lines in use on the T1, 4 of them do not  
provide the disconnect supervision.  So I have called and updated my  
trouble ticket to include all 4 of those channels.  Thanks again  
everybody for the suggestions and bits of information that helped me  
track down this problem.

Daniel


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

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] US T1 Hangup Detection

2008-07-11 Thread Jay R. Ashworth
On Tue, Jul 08, 2008 at 11:13:02AM -0700, Daniel Hazelbaker wrote:
 D-Marc that terminates the 25-pair analog line coming in (this does  
 not just contain our lines as I can tap into other peoples lines and  
 hear there conversations, love security).

The T-1's aren't on that, though, right?

 Next to that is a box with 4 slots for T1 cards, we used to have a  
 T1 internet connection and its card is still in there. Slot 2 has the  
 flex-grow T1 card in it.

That's the smartjack, in the box.

 One of the pairs from the D-Marc goes into this T1 card and it  

Really?  You have an RJ-21X block that contains both analog AND T1
wires?  That's really uncommon.  I hope they at least put the red
special service caps on the T1 wires.

 provides a RJ-45 connection for the T1 line that runs either to the  
 Adtran or to our Digium T1 card.

Probably an RJ-48, actually, but who's counting.  :-)

 I hope that answers the question, as I am not entirely sure what a  
 shelf or smartjack are.  Though I will feel really stupid if you say a  
 shelf is something you store stuff on.

See above.  :-)

Cheers,
-- jra
-- 
Jay R. Ashworth   Baylink  [EMAIL PROTECTED]
Designer The Things I Think   RFC 2100
Ashworth  Associates http://baylink.pitas.com '87 e24
St Petersburg FL USA  http://photo.imageinc.us +1 727 647 1274

 Those who cast the vote decide nothing.
 Those who count the vote decide everything.
   -- (Josef Stalin)

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

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] US T1 Hangup Detection

2008-07-11 Thread Daniel Hazelbaker
On Jul 11, 2008, at 12:09 PM, Jay R. Ashworth wrote:

 On Tue, Jul 08, 2008 at 11:13:02AM -0700, Daniel Hazelbaker wrote:
 D-Marc that terminates the 25-pair analog line coming in (this does
 not just contain our lines as I can tap into other peoples lines and
 hear there conversations, love security).

 The T-1's aren't on that, though, right?
...

 Really?  You have an RJ-21X block that contains both analog AND T1
 wires?  That's really uncommon.  I hope they at least put the red
 special service caps on the T1 wires.

Yup.  I thought that pretty funny myself.  10 year old analog wires  
running a digital T1. :)  And they do have some caps on them, I think  
it was red but not 100% sure.

I may have figured out the problem this morning, but I won't be able  
to test for a few days (again, aggravating that the only T1 line I  
have to test with is the live one).  I noticed this morning while  
telneted into the Adtran that when I hangup on our normal incoming  
lines the Receive A bit toggles.  I then noticed that two of the lines  
do NOT toggle the RA bit during hangup.  These happen to the be last  
two lines in the rotary so I would not normally get incoming calls and  
complaints on them.  They also happen to be the lines I was using to  
do my testing with. Grrr.

I called Verizon and opened a ticket for why those 2 lines are  
behaving differently and that sounds like the problem, but I won't  
know for sure until I can test and try calling on one of the lines  
that does toggle the RA bit. As soon as I get that tested I will  
report that, though I expect that should fix the hangup issue.

Thanks,
Daniel

 Cheers,
 -- jra
 -- 
 Jay R. Ashworth   Baylink  [EMAIL 
 PROTECTED]
 Designer The Things I  
 Think   RFC 2100
 Ashworth  Associates http:// 
 baylink.pitas.com '87 e24
 St Petersburg FL USA  http://photo.imageinc.us +1  
 727 647 1274


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

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] US T1 Hangup Detection

2008-07-11 Thread Jay R. Ashworth
On Fri, Jul 11, 2008 at 12:58:59PM -0700, Daniel Hazelbaker wrote:
  Really?  You have an RJ-21X block that contains both analog AND T1
  wires?  That's really uncommon.  I hope they at least put the red
  special service caps on the T1 wires.
 
 Yup.  I thought that pretty funny myself.  10 year old analog wires  
 running a digital T1. :)  And they do have some caps on them, I think  
 it was red but not 100% sure.

No, that's not the unusual part.  The unusual part is just that both
analog and digital services are on the same block.  Maybe it's a
regional think...

 I may have figured out the problem this morning, but I won't be able  
 to test for a few days (again, aggravating that the only T1 line I  
 have to test with is the live one).  I noticed this morning while  
 telneted into the Adtran that when I hangup on our normal incoming  
 lines the Receive A bit toggles.  I then noticed that two of the lines  
 do NOT toggle the RA bit during hangup.  These happen to the be last  
 two lines in the rotary so I would not normally get incoming calls and  
 complaints on them.  They also happen to be the lines I was using to  
 do my testing with. Grrr.
 
 I called Verizon and opened a ticket for why those 2 lines are  
 behaving differently and that sounds like the problem, but I won't  
 know for sure until I can test and try calling on one of the lines  
 that does toggle the RA bit. As soon as I get that tested I will  
 report that, though I expect that should fix the hangup issue.

Aha!

Good luck with that.

Cheers,
- jra
-- 
Jay R. Ashworth   Baylink  [EMAIL PROTECTED]
Designer The Things I Think   RFC 2100
Ashworth  Associates http://baylink.pitas.com '87 e24
St Petersburg FL USA  http://photo.imageinc.us +1 727 647 1274

 Those who cast the vote decide nothing.
 Those who count the vote decide everything.
   -- (Josef Stalin)

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

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] US T1 Hangup Detection

2008-07-11 Thread John van Oppen
That happens all the time when the T1s are purchased from a CLEC as the
RBOCs just deliver the clec pairs wherever.

I can think of at least two or three demarcs that I have been to in the
last few months that were mixed like that.   Here in Qwest territory the
T1s use a different color cross connect wire (red/blue and red/orange vs
the yellow/blue that the analog lines use).




John van Oppen
Spectrum Networks LLC
206.973.8302 (Direct)
206.973.8300 (main office)

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jay R.
Ashworth
Sent: Friday, July 11, 2008 1:05 PM
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] US T1 Hangup Detection

On Fri, Jul 11, 2008 at 12:58:59PM -0700, Daniel Hazelbaker wrote:
  Really?  You have an RJ-21X block that contains both analog AND T1
  wires?  That's really uncommon.  I hope they at least put the red
  special service caps on the T1 wires.
 
 Yup.  I thought that pretty funny myself.  10 year old analog wires  
 running a digital T1. :)  And they do have some caps on them, I think

 it was red but not 100% sure.

No, that's not the unusual part.  The unusual part is just that both
analog and digital services are on the same block.  Maybe it's a
regional think...

 I may have figured out the problem this morning, but I won't be able  
 to test for a few days (again, aggravating that the only T1 line I  
 have to test with is the live one).  I noticed this morning while  
 telneted into the Adtran that when I hangup on our normal incoming  
 lines the Receive A bit toggles.  I then noticed that two of the lines

 do NOT toggle the RA bit during hangup.  These happen to the be last  
 two lines in the rotary so I would not normally get incoming calls and

 complaints on them.  They also happen to be the lines I was using to  
 do my testing with. Grrr.
 
 I called Verizon and opened a ticket for why those 2 lines are  
 behaving differently and that sounds like the problem, but I won't  
 know for sure until I can test and try calling on one of the lines  
 that does toggle the RA bit. As soon as I get that tested I will  
 report that, though I expect that should fix the hangup issue.

Aha!

Good luck with that.

Cheers,
- jra
-- 
Jay R. Ashworth   Baylink
[EMAIL PROTECTED]
Designer The Things I Think
RFC 2100
Ashworth  Associates http://baylink.pitas.com
'87 e24
St Petersburg FL USA  http://photo.imageinc.us +1 727
647 1274

 Those who cast the vote decide nothing.
 Those who count the vote decide everything.
   -- (Josef Stalin)

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

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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

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

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] US T1 Hangup Detection

2008-07-11 Thread Joe Greco
 On Fri, Jul 11, 2008 at 12:58:59PM -0700, Daniel Hazelbaker wrote:
   Really?  You have an RJ-21X block that contains both analog AND T1
   wires?  That's really uncommon.  I hope they at least put the red
   special service caps on the T1 wires.
  
  Yup.  I thought that pretty funny myself.  10 year old analog wires  
  running a digital T1. :)  And they do have some caps on them, I think  
  it was red but not 100% sure.
 
 No, that's not the unusual part.  The unusual part is just that both
 analog and digital services are on the same block.  Maybe it's a
 regional think...

That's really not unusual.  It's not /preferred/, but that's an entirely
different can of worms.

In general, if copper is available into a building, the telco is going to
look very seriously at the possibility of using that.  If the building is
already wired and the copper tests clean, the telco will want to use that.
In most existing situations, that will already be terminated in a can with
lightning suppression and will have been crossed over to RJ21X's that are
going to whatever suites are in the building.

Since the telco will have /no/ /problem/ running the T1 over their outside
plant and up to the can on what is approximately Category 3 wire, and the
T1 signal is going to have been running alongside those same analog wires
for probably a few miles, what happens next should be obvious.

Suite 214 wants a T1.  There's already a 25-pair going up there from the
RJ21X.  It's second story, so do you go and spend an {hour, afternoon, 
etc} figuring out how to run fresh wire, or do you notice that only 6 pair 
are in use on the RJ21X, and decide to feed up on the existing cable?

Now, if you're nasty and you don't separate it (typically I see the bottom
used for data) and you don't put redcaps on, yeah, then that is just 
looking for eventual trouble.  And who knows, the wire may be cruddy, so
maybe you still end up doing the separate run.  But it probably works.

I've seen this often enough.  Would I prefer to see new cable run?  Sure.
But we've all done our copper sins.  I've seen a lot of things that are
uglier than that.  Here's one of them:

http://www.sol.net/hallofshame/

(I've always meant to expand that page, but it seems that I never get the
good photos of bad stuff)

Lack of space, lack of need, lack of having another RJ21X in the truck are
just a few other obvious reasons that this might be done.

... JG
-- 
Joe Greco - sol.net Network Services - Milwaukee, WI - http://www.sol.net
We call it the 'one bite at the apple' rule. Give me one chance [and] then I
won't contact you again. - Direct Marketing Ass'n position on e-mail spam(CNN)
With 24 million small businesses in the US alone, that's way too many apples.

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

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] US T1 Hangup Detection

2008-07-10 Thread Daniel Hazelbaker
Another update on the latest hookup attempt.  I can make it work  
reasonably well with callprogress=yes, it detects the hangup but only  
after about 7-9 seconds.  My config files are the same as the last  
time I posted (apparently last time I wasn't waiting long enough for  
callprogress to kick in).  If I turn callprogress=off then it never  
hangs up, if I turn it on, again after 7-9 seconds, it will hangup.   
My current Adtran unit hangs up almost instantly, so I think it is  
getting and detecting the disconnect supervision correctly.

I am going to try again in a few days, but I want to make some  
modifications to the zaptel driver (add in some debug code) and revert  
to Asterisk 1.4, not that I expect that to make a difference but I'll  
try anything at this point.  Before I do a question:

I am using esf,b8zs signalling on a true(/inband) T1 line.  Does the  
Zaptel driver use the rxwink timing to detect a hangup by the  
disconnect supervision?  If not, what does it use as it must be able  
to tell the difference (and I am using analog terms here) between a  
hangup and a flash for 3-way calling.

Thanks again.  If I can't figure this out I will have to call them  
out, but I don't think they will do anything other than say yep it  
works on our side, fix your own equipment.

Daniel

On Jul 8, 2008, at 1:11 PM, Daniel Hazelbaker wrote:

 Just an update for the information I got from Verizon:

 It is a true T1, not a PRI for sure.  b8zs and esf signalling.  It
 is loop start with disconnect supervision (kewlstart as I understand
 it).  I know I had already tried kewlstart before, but I suppose it is
 possible that some other configuration option was making it not work.
 Since the only T1 line I have coming in is our live phone lines I will
 have to test this again late some night this week, so if somebody has
 an idea of some things to check while I am doing that I will certainly
 give it a shot, otherwise I will report back afterwords if I had
 success.


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

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] US T1 Hangup Detection

2008-07-08 Thread Daniel Hazelbaker
 Date: Mon, 7 Jul 2008 16:48:00 -0400
 From: Jason Aarons \(US\) [EMAIL PROTECTED]

 Digital ISDN used Q931 messages.  You should get a disconnect message
 from telco on the d-channel 23.

I am pretty sure it is a T1 and not a PRI.  I did try configuring it  
as a PRI and it started spewing all kinds of errors and completely  
stopped working.


 Date: Mon, 07 Jul 2008 16:55:27 -0400
 From: Doug Lytle [EMAIL PROTECTED]

 Daniel Hazelbaker wrote:
 We are in the process of preparing to move our Asterisk server to a
 Digital T1 interface card instead of a analog card (via an Adtran
 which is now connected to the T1).  I did a preliminary test the  
 other


 A T1 or a PRI?  Just make sure we're on the same page.
 Also, show us your zaptel and zapata.conf


Again, I am pretty sure T1.  It is a Verizon Flex-Grow package,  
which they list as expandable up to 24 voice channels.  That and I  
tried configuring as a PRI and it harfed.  The Adtran box we use now  
is configured as:

Timing Mode Network
Format  ESF
Line Code   B8ZS
Equalization0 dB
CSU LpbkEnable
Rx Sensitivity  Auto

Right now with Asterisk mostly working (it answers calls, dials out,  
etc. just doesn't detect hangup) my /etc/zaptel.conf is:
#
# Span Configuration
# ~~
span=1,1,0,esf,b8zs
span=2,0,0,esf,b8zs

#
# Channel Configuration
# ~
fxsks=1-24
fxoks=25-48

loadzone = us
defaultzone=us
--CUT--

/etc/asterisk/zapata.conf:
[channels]
usecallerid=yes
callerid=asreceived
cidsignalling=bell
cidstart=ring
callprogress=yes# I have turned this off too

;-
;
; Define telco channels in rotary, these should be answered
; like a normal incoming call.
;
context=bridgeNEC
usecallerid=yes
signalling=fxs_ks
group=1 ; Part of ZAP group 1
channel = 1-9

context=incoming
channel = 12

;-
;
; Telco line, computer dialup, needs to be routed to output line.
;
group=2
usecallerid=no
channel = 10   ; PSTN attached to Span1:Port10

;-
;
; Telco line, construction trailer fax, needs to be routed.
;
group=3
usecallerid=no
channel = 11   ; PSTN attached to Span1:Port11


;-
;
; ADTran lines, used for outgoing to analog devices
;
context=incoming
group=4
usecallerid=no
signalling=fxo_ks
channel = 25-36
--CUT--

For context, the bridgeNEC context just dials out one of the ADTran  
lines to our existing NEC system, but the incoming context starts our  
menu-system, which was also not detecting hangups.

I have also tried using loopstart and groundstart signalling, doesn't  
seem to make a difference.  I am pretty well stumped myself.  I need  
to call the telco about the caller id not working to verify that it is  
still turned on, but I figure I might as well wait so that if I need  
to ask them about the signalling I can know all the questions to ask  
at the same time.


Thanks,
Daniel

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

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] US T1 Hangup Detection

2008-07-08 Thread Matt Florell
Is there any way you could get a cut-sheet from Verizon. I know they
are difficult to work with, but it would help to see for sure if your
circuit is indeed Loop-start. You could always try EM_wink or EM
immediate and see if there is any change.

MATT---

On 7/8/08, Daniel Hazelbaker [EMAIL PROTECTED] wrote:
  Date: Mon, 7 Jul 2008 16:48:00 -0400
   From: Jason Aarons \(US\) [EMAIL PROTECTED]

 
   Digital ISDN used Q931 messages.  You should get a disconnect message
   from telco on the d-channel 23.


 I am pretty sure it is a T1 and not a PRI.  I did try configuring it
  as a PRI and it started spewing all kinds of errors and completely
  stopped working.


   Date: Mon, 07 Jul 2008 16:55:27 -0400
   From: Doug Lytle [EMAIL PROTECTED]

 
   Daniel Hazelbaker wrote:
   We are in the process of preparing to move our Asterisk server to a
   Digital T1 interface card instead of a analog card (via an Adtran
   which is now connected to the T1).  I did a preliminary test the
   other
  
  
   A T1 or a PRI?  Just make sure we're on the same page.
   Also, show us your zaptel and zapata.conf



 Again, I am pretty sure T1.  It is a Verizon Flex-Grow package,
  which they list as expandable up to 24 voice channels.  That and I
  tried configuring as a PRI and it harfed.  The Adtran box we use now
  is configured as:

  Timing Mode Network
  Format  ESF
  Line Code   B8ZS
  Equalization0 dB
  CSU LpbkEnable
  Rx Sensitivity  Auto

  Right now with Asterisk mostly working (it answers calls, dials out,
  etc. just doesn't detect hangup) my /etc/zaptel.conf is:
  #
  # Span Configuration
  # ~~
  span=1,1,0,esf,b8zs
  span=2,0,0,esf,b8zs

  #
  # Channel Configuration
  # ~
  fxsks=1-24
  fxoks=25-48

  loadzone = us
  defaultzone=us
  --CUT--

  /etc/asterisk/zapata.conf:
  [channels]
  usecallerid=yes
  callerid=asreceived
  cidsignalling=bell
  cidstart=ring
  callprogress=yes# I have turned this off too

  ;-
  ;
  ; Define telco channels in rotary, these should be answered
  ; like a normal incoming call.
  ;
  context=bridgeNEC
  usecallerid=yes
  signalling=fxs_ks
  group=1 ; Part of ZAP group 1
  channel = 1-9

  context=incoming
  channel = 12

  ;-
  ;
  ; Telco line, computer dialup, needs to be routed to output line.
  ;
  group=2
  usecallerid=no
  channel = 10   ; PSTN attached to Span1:Port10

  ;-
  ;
  ; Telco line, construction trailer fax, needs to be routed.
  ;
  group=3
  usecallerid=no
  channel = 11   ; PSTN attached to Span1:Port11


  ;-
  ;
  ; ADTran lines, used for outgoing to analog devices
  ;
  context=incoming
  group=4
  usecallerid=no
  signalling=fxo_ks
  channel = 25-36
  --CUT--

  For context, the bridgeNEC context just dials out one of the ADTran
  lines to our existing NEC system, but the incoming context starts our
  menu-system, which was also not detecting hangups.

  I have also tried using loopstart and groundstart signalling, doesn't
  seem to make a difference.  I am pretty well stumped myself.  I need
  to call the telco about the caller id not working to verify that it is
  still turned on, but I figure I might as well wait so that if I need
  to ask them about the signalling I can know all the questions to ask
  at the same time.

  
  Thanks,

 Daniel


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

  AstriCon 2008 - September 22 - 25 Phoenix, Arizona
  Register Now: http://www.astricon.net

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


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

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] US T1 Hangup Detection

2008-07-08 Thread Doug Lytle
Daniel Hazelbaker wrote:
 span=1,1,0,esf,b8zs
 span=2,0,0,esf,b8zs

 #
 # Channel Configuration
 # ~
 fxsks=1-24
 fxoks=25-48
   

So, it would appear that the lines are handled just just like normal 
analog lines, the only T1 that I've delt with is setting up Adit Channel 
banks.  You may want to see if your provider can supply ground start 
instead of loop start to allows for disconnect supervision.

The best would be to go PRI if possible.

Doug


-- 
Ben Franklin quote:

Those who would give up Essential Liberty to purchase a little Temporary 
Safety, deserve neither Liberty nor Safety.


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

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] US T1 Hangup Detection

2008-07-08 Thread Jay R. Ashworth
On Tue, Jul 08, 2008 at 10:00:08AM -0700, Daniel Hazelbaker wrote:
 Again, I am pretty sure T1.  It is a Verizon Flex-Grow package,  

The Flex-grows I've seen were indeed T1, ESF as I recall the lights on
the Adit 600 they terminated them into.

Daniel: did Verizontal supply you with a shelf?  Or just the smartjack?
-- j
-- 
Jay R. Ashworth   Baylink  [EMAIL PROTECTED]
Designer The Things I Think   RFC 2100
Ashworth  Associates http://baylink.pitas.com '87 e24
St Petersburg FL USA  http://photo.imageinc.us +1 727 647 1274

 Those who cast the vote decide nothing.
 Those who count the vote decide everything.
   -- (Joseph Stalin)

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

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] US T1 Hangup Detection

2008-07-08 Thread Daniel Hazelbaker
On Jul 8, 2008, at 10:45 AM, Jay R. Ashworth wrote:

 The Flex-grows I've seen were indeed T1, ESF as I recall the lights on
 the Adit 600 they terminated them into.

 Daniel: did Verizontal supply you with a shelf?  Or just the  
 smartjack?

Uhhh... :)  I have in my server room these things:

D-Marc that terminates the 25-pair analog line coming in (this does  
not just contain our lines as I can tap into other peoples lines and  
hear there conversations, love security).
Next to that is a box with 4 slots for T1 cards, we used to have a  
T1 internet connection and its card is still in there. Slot 2 has the  
flex-grow T1 card in it.

One of the pairs from the D-Marc goes into this T1 card and it  
provides a RJ-45 connection for the T1 line that runs either to the  
Adtran or to our Digium T1 card.

I hope that answers the question, as I am not entirely sure what a  
shelf or smartjack are.  Though I will feel really stupid if you say a  
shelf is something you store stuff on.

I will be calling Verizon this afternoon to try and get some  
information on our line. Hopefully I will get somebody that knows what  
they are talking about (and what I am talking about) as I am going to  
ask about everything I need to know to hook this up to our new  
digital PBX. (esf, b8zs, loop start, ground start, kewl start,  
forward disconnect, etc.)  I'm hoping that will at least give me  
enough information to make some headway and maybe one of you guys  
enough information to tell me what I am doing wrong (or heaven forbid  
what Verizon is doing wrong) :).

I'll post again after I get something from them.
Thanks again,
Daniel

 -- j
 -- 
 Jay R. Ashworth   Baylink  [EMAIL 
 PROTECTED]
 Designer The Things I  
 Think   RFC 2100
 Ashworth  Associates http:// 
 baylink.pitas.com '87 e24
 St Petersburg FL USA  http://photo.imageinc.us +1  
 727 647 1274

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

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] US T1 Hangup Detection

2008-07-08 Thread Daniel Hazelbaker
Just an update for the information I got from Verizon:

It is a true T1, not a PRI for sure.  b8zs and esf signalling.  It  
is loop start with disconnect supervision (kewlstart as I understand  
it).  I know I had already tried kewlstart before, but I suppose it is  
possible that some other configuration option was making it not work.   
Since the only T1 line I have coming in is our live phone lines I will  
have to test this again late some night this week, so if somebody has  
an idea of some things to check while I am doing that I will certainly  
give it a shot, otherwise I will report back afterwords if I had  
success.

Daniel

On Jul 8, 2008, at 11:13 AM, Daniel Hazelbaker wrote:

 On Jul 8, 2008, at 10:45 AM, Jay R. Ashworth wrote:

 The Flex-grows I've seen were indeed T1, ESF as I recall the lights  
 on
 the Adit 600 they terminated them into.

 Daniel: did Verizontal supply you with a shelf?  Or just the
 smartjack?

 Uhhh... :)  I have in my server room these things:

 D-Marc that terminates the 25-pair analog line coming in (this does
 not just contain our lines as I can tap into other peoples lines and
 hear there conversations, love security).
 Next to that is a box with 4 slots for T1 cards, we used to have a
 T1 internet connection and its card is still in there. Slot 2 has the
 flex-grow T1 card in it.

 One of the pairs from the D-Marc goes into this T1 card and it
 provides a RJ-45 connection for the T1 line that runs either to the
 Adtran or to our Digium T1 card.

 I hope that answers the question, as I am not entirely sure what a
 shelf or smartjack are.  Though I will feel really stupid if you say a
 shelf is something you store stuff on.

 I will be calling Verizon this afternoon to try and get some
 information on our line. Hopefully I will get somebody that knows what
 they are talking about (and what I am talking about) as I am going to
 ask about everything I need to know to hook this up to our new
 digital PBX. (esf, b8zs, loop start, ground start, kewl start,
 forward disconnect, etc.)  I'm hoping that will at least give me
 enough information to make some headway and maybe one of you guys
 enough information to tell me what I am doing wrong (or heaven forbid
 what Verizon is doing wrong) :).

 I'll post again after I get something from them.
 Thanks again,
 Daniel

 -- j
 -- 
 Jay R. Ashworth   Baylink  [EMAIL 
 PROTECTED]
 Designer The Things I
 Think   RFC 2100
 Ashworth  Associates http://
 baylink.pitas.com '87 e24
 St Petersburg FL USA  http://photo.imageinc.us +1
 727 647 1274

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

 AstriCon 2008 - September 22 - 25 Phoenix, Arizona
 Register Now: http://www.astricon.net

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



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

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] US T1 Hangup Detection

2008-07-07 Thread Jason Aarons (US)
Digital ISDN used Q931 messages.  You should get a disconnect message
from telco on the d-channel 23.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Daniel
Hazelbaker
Sent: Monday, July 07, 2008 4:39 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] US T1 Hangup Detection

We are in the process of preparing to move our Asterisk server to a  
Digital T1 interface card instead of a analog card (via an Adtran  
which is now connected to the T1).  I did a preliminary test the other  
day and hooked the T1 line up to the T1 card, bypassing the Adtran.   
This worked rather well I must say.  The two issues I ran into are:

1) Caller ID is not working even though I enabled it. I simply do not  
see _anything_ related to caller ID going on. (not major, I am not  
even sure the phone company has it setup properly so I need to talk to  
them first, Verizon)

2) Asterisk is not detecting the far end hangup.  Through the Adtran  
it does, but direct digital it does not.  I bridged an incoming call  
to an analog phone and listened as I hung up the far end (cell-call).   
I hear a audible click, silence, and then after maybe a half second  
I hear dialtone.  I tried turning on hanguponpolarity switch, tried  
turning it off, tried turning callprogress on and off, still does not  
detect the hangup.  Am I missing something obvious in Asterisk (this  
is my first digital hookup)?  I read somewhere that Asterisk is  
already suppose to detect dialtone to know that the far-end hungup.   
Do I need to call my phone company and get details on exactly how they  
are triggering the hangup, though I would think with digital it just  
happens).

Daniel

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

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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

-
Disclaimer:

This e-mail communication and any attachments may contain
confidential and privileged information and is for use by the
designated addressee(s) named above only.  If you are not the
intended addressee, you are hereby notified that you have received
this communication in error and that any use or reproduction of
this email or its contents is strictly prohibited and may be
unlawful.  If you have received this communication in error, please
notify us immediately by replying to this message and deleting it
from your computer. Thank you.

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

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] US T1 Hangup Detection

2008-07-07 Thread Doug Lytle
Daniel Hazelbaker wrote:
 We are in the process of preparing to move our Asterisk server to a  
 Digital T1 interface card instead of a analog card (via an Adtran  
 which is now connected to the T1).  I did a preliminary test the other  
   

A T1 or a PRI?  Just make sure we're on the same page.

Also, show us your zaptel and zapata.conf

Doug

-- 
 
Ben Franklin quote:

Those who would give up Essential Liberty to purchase a little Temporary 
Safety, deserve neither Liberty nor Safety.


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

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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