RE: [Asterisk-Users] Sangoma A104 errors

2005-10-25 Thread Paul
When compiling the wanpipe drivers, you are faced with only one option that
has 1 through 4 as a choice.  I choose 3.  This does the config for me. 

You really have to watch when you compile these drivers since at the end YOU
are confirming the compile was good.  You must look over the last 10 or so
lines before confirming.  Then I believe the tools are complied.

I was using beta 12.  Updated zaptel and it blew up.  Recompiled zaptel, and
asterisk, still bad.  Went to a backup, then downloaded the latest wanpipe
(15) drivers and this would not compile with zaptel.

So 15 & prior zaptel - is a no no
12 and new zaptel is a nono
12 and old ok
15 and new zaptel is ok

Also I follow this procedure
Compile zaptel first,  Then wanpipe, then you must do zaptel again.

If you did all of this.  You must configure wigi interfaces.  Only thing
necessary for pri is # of chans and the d chan number (24)

Here is my config:

PRI: wigi file -
# Wanrouter interface configuration file
# name: w1g1
# date: Thu Aug 11 22:30:10 EDT 2005
#
DEVICE=w1g1
IPADDR=
NETMASK=255.255.255.255
POINTOPOINT=
ONBOOT=yes

Wanpipe 1 conf file---
#
# WANPIPE1 Configuration File
#
#
# Date: Fri Aug 12 11:07:45 EDT 2005
#
# Note: This file was generated automatically
#   by /usr/sbin/wancfg program.
#
#   If you want to edit this file, it is
#   recommended that you use wancfg program
#   to do so.
#
# Sangoma Technologies Inc.
#

[devices]
wanpipe1 = WAN_AFT, Comment

[interfaces]
w1g1 = wanpipe1, , TDM_VOICE, Comment

[wanpipe1]
CARD_TYPE   = AFT
S514CPU = A
CommPort= PRI
AUTO_PCISLOT= NO
PCISLOT = 3
PCIBUS  = 2
FE_MEDIA= T1
FE_LCODE= B8ZS
FE_FRAME= ESF
FE_LINE = 1
TE_CLOCK= NORMAL
TE_REF_CLOCK= 0
ACTIVE_CH   = ALL
TE_HIGHIMPEDANCE= NO
LBO = 0DB
FE_TXTRISTATE   = NO
MTU = 1500
UDPPORT = 9000
TTL = 255
IGNORE_FRONT_END = NO
TDMV_SPAN   = 1
TDMV_DCHAN  = 24

[w1g1]
ACTIVE_CH   = ALL
TDMV_ECHO_OFF   = NO

Zapata.conf

; Span 1:
;==PRI==
===
; PRI
signalling = pri_net
group=0
context=from-pstn

;-
; PRI
; T1
channel=>1-23 

Zaptel.conf --

##
#T1
span=1,0,0,esf,b8zs
#span=1,0,0,d4,ami

#use with PRI
bchan=1-23
dchan=24


-
Hope this helps
:)
Paul


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sharon
Sent: Tuesday, October 25, 2005 5:03 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] Sangoma A104 errors

>besides shouldn't it be type 2 national.  Not sure if that's an option, but
> when I compile, I use the option 3 and the pri only needs the channels and
> the d chan specified.  So I never noticed if it said type 2.

didn't get wht u meant here? wht type r u talking abt?


> Are you using the newest drivers from Sangoma?  There was an update due to
> the revision in asterisk/zaptel and the patch point was modified by
Sangoma.
>
> If you used CVS to obtain the latest Zaptel / or used the latest A104
> drivers without the latest CVS, the patch point is wrong and Sangoma
> compiled wrong.
yes i used the newest drivers from Sangoma. and i'm running cvs
head(downloaded around start of august)



On 10/25/05, Paul <[EMAIL PROTECTED]> wrote:
> Are you using the newest drivers from Sangoma?  There was an update due to
> the revision in asterisk/zaptel and the patch point was modified by
Sangoma.
>
> If you used CVS to obtain the latest Zaptel / or used the latest A104
> drivers without the latest CVS, the patch point is wrong and Sangoma
> compiled wrong.
>
> Besides shouldn't it be type 2 national.  Not sure if that's an option,
but
> when I compile, I use the option 3 and the pri only needs the channels and
> the d chan specified.  So I never noticed if it said type 2.
>
> :)
> Paul
>
>
>
>
> -Original Message-
> From: Sharon [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, October 25, 2005 10:37 AM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: [Asterisk-Users] Sangoma A104 errors
>
> I am using a A104 Sangoma card. We are runningasterisk cvs head on our
> production box.After wanpipe configuration I am receiving the below
> mentioned error.
> pri show span looks good as below.
>
> pri show span 1
>

Re: [Asterisk-Users] Sangoma A104 errors

2005-10-25 Thread Sharon
>besides shouldn't it be type 2 national.  Not sure if that's an option, but
> when I compile, I use the option 3 and the pri only needs the channels and
> the d chan specified.  So I never noticed if it said type 2.

didn't get wht u meant here? wht type r u talking abt?


> Are you using the newest drivers from Sangoma?  There was an update due to
> the revision in asterisk/zaptel and the patch point was modified by Sangoma.
>
> If you used CVS to obtain the latest Zaptel / or used the latest A104
> drivers without the latest CVS, the patch point is wrong and Sangoma
> compiled wrong.
yes i used the newest drivers from Sangoma. and i'm running cvs
head(downloaded around start of august)



On 10/25/05, Paul <[EMAIL PROTECTED]> wrote:
> Are you using the newest drivers from Sangoma?  There was an update due to
> the revision in asterisk/zaptel and the patch point was modified by Sangoma.
>
> If you used CVS to obtain the latest Zaptel / or used the latest A104
> drivers without the latest CVS, the patch point is wrong and Sangoma
> compiled wrong.
>
> Besides shouldn't it be type 2 national.  Not sure if that's an option, but
> when I compile, I use the option 3 and the pri only needs the channels and
> the d chan specified.  So I never noticed if it said type 2.
>
> :)
> Paul
>
>
>
>
> -Original Message-
> From: Sharon [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, October 25, 2005 10:37 AM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: [Asterisk-Users] Sangoma A104 errors
>
> I am using a A104 Sangoma card. We are runningasterisk cvs head on our
> production box.After wanpipe configuration I am receiving the below
> mentioned error.
> pri show span looks good as below.
>
> pri show span 1
> Primary D-channel: 24
> Status: Provisioned, In Alarm, Down, Active
> Switchtype: National ISDN
> Type: CPE
> Window Length: 0/7
> Sentrej: 0
> SolicitFbit: 0
> Retrans: 0
> Busy: 0
> Overlap Dial: 0
> T200 Timer: 1000
> T203 Timer: 1
> T305 Timer: 3
> T308 Timer: 4000
> T313 Timer: 4000
> N200 Counter: 3
>
> error on the server:
>
> Write to 33 failed: Bad address
> Short write: 0/5 (Bad address)
>
>
> Any help appreciated.
> Thank you,
>
>
> ___
> --Bandwidth and Colocation sponsored by Easynews.com --
>
> 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
>
___
--Bandwidth and Colocation sponsored by Easynews.com --

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] Sangoma A104 errors

2005-10-25 Thread Paul
Are you using the newest drivers from Sangoma?  There was an update due to
the revision in asterisk/zaptel and the patch point was modified by Sangoma.

If you used CVS to obtain the latest Zaptel / or used the latest A104
drivers without the latest CVS, the patch point is wrong and Sangoma
compiled wrong.

Besides shouldn't it be type 2 national.  Not sure if that's an option, but
when I compile, I use the option 3 and the pri only needs the channels and
the d chan specified.  So I never noticed if it said type 2.

:)
Paul




-Original Message-
From: Sharon [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 25, 2005 10:37 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [Asterisk-Users] Sangoma A104 errors

I am using a A104 Sangoma card. We are runningasterisk cvs head on our
production box.After wanpipe configuration I am receiving the below
mentioned error.
pri show span looks good as below.

pri show span 1
Primary D-channel: 24
Status: Provisioned, In Alarm, Down, Active
Switchtype: National ISDN
Type: CPE
Window Length: 0/7
Sentrej: 0
SolicitFbit: 0
Retrans: 0
Busy: 0
Overlap Dial: 0
T200 Timer: 1000
T203 Timer: 1
T305 Timer: 3
T308 Timer: 4000
T313 Timer: 4000
N200 Counter: 3

error on the server:

Write to 33 failed: Bad address
Short write: 0/5 (Bad address)


Any help appreciated.
Thank you,


___
--Bandwidth and Colocation sponsored by Easynews.com --

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] Sangoma A104 errors

2005-10-25 Thread BJ Weschke
 The number of spans. If you've got a quad card, you can actually configure 4 different wanpipe interfaces on that card. 
On 10/25/05, Sharon <[EMAIL PROTECTED]> wrote:
sangoma tech's cldn't help with that error.Also it did work with asterisk 1.0.3 version wanpipe-beta9-2.3.3
now i'm using wanpipe-beta15-2.3.3 with asterisk cvs headprobably someone cldanswer thiswhen wanpipex.conf files are created  do they depend on the number ofspans or number of cards.Thanks,
On 10/25/05, Matt Florell <[EMAIL PROTECTED]> wrote:> Have you tried Asterisk 1.2beta1? does it work under that release?>> We have been using an a104u with PRIs on 
1.2b1 for about 6 weeks now> with no problems.>> MATT--->> On 10/25/05, Sharon <[EMAIL PROTECTED]> wrote:> > I am using a A104 Sangoma card. We are runningasterisk cvs head on our
> > production box.After wanpipe configuration I am receiving the below> > mentioned error.> > pri show span looks good as below.> >> > pri show span 1> > Primary D-channel: 24
> > Status: Provisioned, In Alarm, Down, Active> > Switchtype: National ISDN> > Type: CPE> > Window Length: 0/7> > Sentrej: 0> > SolicitFbit: 0> > Retrans: 0
> > Busy: 0> > Overlap Dial: 0> > T200 Timer: 1000> > T203 Timer: 1> > T305 Timer: 3> > T308 Timer: 4000> > T313 Timer: 4000> > N200 Counter: 3
> >> > error on the server:> >> > Write to 33 failed: Bad address> > Short write: 0/5 (Bad address)> >> >> > Any help appreciated.> > Thank you,
> > ___> > --Bandwidth and Colocation sponsored by Easynews.com --> >> > 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> >> ___
> --Bandwidth and Colocation sponsored by Easynews.com -->> 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>___--Bandwidth and Colocation sponsored by Easynews.com --Asterisk-Users mailing list
Asterisk-Users@lists.digium.comhttp://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:  http://lists.digium.com/mailman/listinfo/asterisk-users
___
--Bandwidth and Colocation sponsored by Easynews.com --

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] Sangoma A104 errors

2005-10-25 Thread Sharon
sangoma tech's cldn't help with that error.

Also it did work with asterisk 1.0.3 version wanpipe-beta9-2.3.3

now i'm using wanpipe-beta15-2.3.3 with asterisk cvs head

probably someone cldanswer this
when wanpipex.conf files are created  do they depend on the number of
spans or number of cards.
Thanks,

On 10/25/05, Matt Florell <[EMAIL PROTECTED]> wrote:
> Have you tried Asterisk 1.2beta1? does it work under that release?
>
> We have been using an a104u with PRIs on 1.2b1 for about 6 weeks now
> with no problems.
>
> MATT---
>
> On 10/25/05, Sharon <[EMAIL PROTECTED]> wrote:
> > I am using a A104 Sangoma card. We are runningasterisk cvs head on our
> > production box.After wanpipe configuration I am receiving the below
> > mentioned error.
> > pri show span looks good as below.
> >
> > pri show span 1
> > Primary D-channel: 24
> > Status: Provisioned, In Alarm, Down, Active
> > Switchtype: National ISDN
> > Type: CPE
> > Window Length: 0/7
> > Sentrej: 0
> > SolicitFbit: 0
> > Retrans: 0
> > Busy: 0
> > Overlap Dial: 0
> > T200 Timer: 1000
> > T203 Timer: 1
> > T305 Timer: 3
> > T308 Timer: 4000
> > T313 Timer: 4000
> > N200 Counter: 3
> >
> > error on the server:
> >
> > Write to 33 failed: Bad address
> > Short write: 0/5 (Bad address)
> >
> >
> > Any help appreciated.
> > Thank you,
> > ___
> > --Bandwidth and Colocation sponsored by Easynews.com --
> >
> > 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
> >
> ___
> --Bandwidth and Colocation sponsored by Easynews.com --
>
> 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
>
___
--Bandwidth and Colocation sponsored by Easynews.com --

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] Sangoma A104 errors

2005-10-25 Thread BJ Weschke
 Have you tried contacting Sangoma technical support? They are likely the best equipped to support the card and the alarm you're receiving. 
On 10/25/05, Sharon <[EMAIL PROTECTED]> wrote:
I am using a A104 Sangoma card. We are runningasterisk cvs head on ourproduction box.After wanpipe configuration I am receiving the below
mentioned error.pri show span looks good as below.pri show span 1Primary D-channel: 24Status: Provisioned, In Alarm, Down, ActiveSwitchtype: National ISDNType: CPEWindow Length: 0/7
Sentrej: 0SolicitFbit: 0Retrans: 0Busy: 0Overlap Dial: 0T200 Timer: 1000T203 Timer: 1T305 Timer: 3T308 Timer: 4000T313 Timer: 4000N200 Counter: 3error on the server:
Write to 33 failed: Bad addressShort write: 0/5 (Bad address)Any help appreciated.Thank you,___--Bandwidth and Colocation sponsored by 
Easynews.com --Asterisk-Users mailing listAsterisk-Users@lists.digium.comhttp://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:  http://lists.digium.com/mailman/listinfo/asterisk-users
___
--Bandwidth and Colocation sponsored by Easynews.com --

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] Sangoma A104 errors

2005-10-25 Thread Matt Florell
Have you tried Asterisk 1.2beta1? does it work under that release?

We have been using an a104u with PRIs on 1.2b1 for about 6 weeks now
with no problems.

MATT---

On 10/25/05, Sharon <[EMAIL PROTECTED]> wrote:
> I am using a A104 Sangoma card. We are runningasterisk cvs head on our
> production box.After wanpipe configuration I am receiving the below
> mentioned error.
> pri show span looks good as below.
>
> pri show span 1
> Primary D-channel: 24
> Status: Provisioned, In Alarm, Down, Active
> Switchtype: National ISDN
> Type: CPE
> Window Length: 0/7
> Sentrej: 0
> SolicitFbit: 0
> Retrans: 0
> Busy: 0
> Overlap Dial: 0
> T200 Timer: 1000
> T203 Timer: 1
> T305 Timer: 3
> T308 Timer: 4000
> T313 Timer: 4000
> N200 Counter: 3
>
> error on the server:
>
> Write to 33 failed: Bad address
> Short write: 0/5 (Bad address)
>
>
> Any help appreciated.
> Thank you,
> ___
> --Bandwidth and Colocation sponsored by Easynews.com --
>
> 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
>
___
--Bandwidth and Colocation sponsored by Easynews.com --

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] Sangoma A104 errors

2005-10-25 Thread Sharon
I am using a A104 Sangoma card. We are runningasterisk cvs head on our
production box.After wanpipe configuration I am receiving the below
mentioned error.
pri show span looks good as below.

pri show span 1
Primary D-channel: 24
Status: Provisioned, In Alarm, Down, Active
Switchtype: National ISDN
Type: CPE
Window Length: 0/7
Sentrej: 0
SolicitFbit: 0
Retrans: 0
Busy: 0
Overlap Dial: 0
T200 Timer: 1000
T203 Timer: 1
T305 Timer: 3
T308 Timer: 4000
T313 Timer: 4000
N200 Counter: 3

error on the server:

Write to 33 failed: Bad address
Short write: 0/5 (Bad address)


Any help appreciated.
Thank you,
___
--Bandwidth and Colocation sponsored by Easynews.com --

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