Re: [asterisk-users] Can't make calls out of Astribank - show regdump doesn't show voltage - Getting warning due to old driver

2010-06-22 Thread Tzafrir Cohen
On Tue, Jun 22, 2010 at 12:58:00AM -0400, bruce bruce wrote:
 Hi Guys,
 
 An 8 channel 

FXO?

 Astribank is connected to Trixbox 2.8 and I ran
 freepbx-module-zapauto but I get the following when running these
 commands and can't make calls out:
 
 [Trixbox]# dahdi_genconf xpporder
 /usr/sbin/dahdi_genconf: warning - OLD DRIVER: missing
 '/sys/bus/xpds/devices/00:0:0/timing_priority'. Fall back to /proc

Which one, exactly? Trixbox originally had rather dates DAHDI drivers. I
believe you should now be able to find much newer ones. At least in
their repos.

 
 pbx*CLI dahdi show channels
 Chan Extension Context Language MOH Interpret Blocked State
 
 pseudo default default In Service
 1 from-pstn default In Service
 2 from-pstn default In Service
 3 from-pstn default In Service
 4 from-pstn default In Service
 5 from-pstn default In Service
 6 from-pstn default In Service
 
 7 from-pstn default In Service
 8 from-pstn default In Service
 
 pbx*CLI dahdi show status
 Description Alarms IRQ bpviol CRC4 Fra Codi Options LBO
 Xorcom XPD #00/00: FXO OK 0 0 0 CAS Unk YEL 0 db (CSU)/0-133 feet (DSX-1)
 
 
 pbx*CLI dahdi show regdump 1
 Unable to get registers on channel 1
 Unable to get stats on channel 1

I believe that regdump uses some specific interface to the Digium card.
If you want a bunch of technical information you don't really
understand, look under /proc/xpp/ . I'm not going to start explaining it
beyond
http://docs.tzafrir.org.il/dahdi-linux/README.Astribank.html#_proc_interface

 
 [Trixbox]# dahdi_hardware -v
 /usr/sbin/dahdi_hardware: warning - OLD DRIVER: missing
 '/sys/bus/xpds/devices/00:0:0/timing_priority'. Fall back to /proc
 
 usb:002/002 xpp_usb+ e4e4:1162 Astribank-modular FPGA-firmware
 LABEL=[usb:X1044207] connect...@usb-:00:1d.7-4
 XBUS-00/XPD-00: FXO (8) Span 1 DAHDI-SYNC
 
 
 Note: This Astribank is deployed in United Arab Emirates and I am not
 sure what the line type is in terms of Ground or Loop start and
 wondering if that makes a difference with the Astribank and the fact
 that it can't how the voltage using show regdump

IIRC they use LS (That is: no power denial is used at the end of a
call).

 
 And I am definitly not sure what that warning of OLD DRIVER is about.
 Any help is appreciated.

At the time we wrote it, we relied heavily on procfs. However procfs is
not something that can be safely used when the module is loaded or
removed. This is a fine way to get panics. Thus we gradually moved many
things from /proc to /sys .

Typically such a message would mean a combination of older dahdi-linux
(loaded) and newer dahdi-tools. Though it's a warning, and not an error.

-- 
   Tzafrir Cohen
icq#16849755  jabber:tzafrir.co...@xorcom.com
+972-50-7952406   mailto:tzafrir.co...@xorcom.com
http://www.xorcom.com  iax:gu...@local.xorcom.com/tzafrir

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] Can't make calls out of Astribank - show regdump doesn't show voltage - Getting warning due to old driver

2010-06-22 Thread bruce bruce
Thanks for the tips.

This is an 8 FXO channel Astribank. My understanding is that Trixbox 2.8
already had everything dahdi related installed so there is no driver from
Astribank. I followed this page and did rpm -Uvh for freepbx-module-zapauto

http://www.xorcom.com/downloads/astribank2-dahdi.html

What other steps do I have to take to complete the installation if you think
I have not finished. Or where can I look to find the problem?

As you could see from my last e-mail, everything seemed fine except for the
voltage part. I am SURE that PSTN lines are connected to the box.

Thanks

http://www.xorcom.com/downloads/astribank2-trixbox-ce-drivers.html#trixboxce2.8

On Tue, Jun 22, 2010 at 5:25 AM, Tzafrir Cohen tzafrir.co...@xorcom.comwrote:

 On Tue, Jun 22, 2010 at 12:58:00AM -0400, bruce bruce wrote:
  Hi Guys,
 
  An 8 channel

 FXO?

  Astribank is connected to Trixbox 2.8 and I ran
  freepbx-module-zapauto but I get the following when running these
  commands and can't make calls out:
 
  [Trixbox]# dahdi_genconf xpporder
  /usr/sbin/dahdi_genconf: warning - OLD DRIVER: missing
  '/sys/bus/xpds/devices/00:0:0/timing_priority'. Fall back to /proc

 Which one, exactly? Trixbox originally had rather dates DAHDI drivers. I
 believe you should now be able to find much newer ones. At least in
 their repos.

 
  pbx*CLI dahdi show channels
  Chan Extension Context Language MOH Interpret Blocked State
 
  pseudo default default In Service
  1 from-pstn default In Service
  2 from-pstn default In Service
  3 from-pstn default In Service
  4 from-pstn default In Service
  5 from-pstn default In Service
  6 from-pstn default In Service
 
  7 from-pstn default In Service
  8 from-pstn default In Service
 
  pbx*CLI dahdi show status
  Description Alarms IRQ bpviol CRC4 Fra Codi Options LBO
  Xorcom XPD #00/00: FXO OK 0 0 0 CAS Unk YEL 0 db (CSU)/0-133 feet (DSX-1)
 
 
  pbx*CLI dahdi show regdump 1
  Unable to get registers on channel 1
  Unable to get stats on channel 1

 I believe that regdump uses some specific interface to the Digium card.
 If you want a bunch of technical information you don't really
 understand, look under /proc/xpp/ . I'm not going to start explaining it
 beyond

 http://docs.tzafrir.org.il/dahdi-linux/README.Astribank.html#_proc_interface

 
  [Trixbox]# dahdi_hardware -v
  /usr/sbin/dahdi_hardware: warning - OLD DRIVER: missing
  '/sys/bus/xpds/devices/00:0:0/timing_priority'. Fall back to /proc
 
  usb:002/002 xpp_usb+ e4e4:1162 Astribank-modular FPGA-firmware
  LABEL=[usb:X1044207] connect...@usb-:00:1d.7-4
  XBUS-00/XPD-00: FXO (8) Span 1 DAHDI-SYNC
 
 
  Note: This Astribank is deployed in United Arab Emirates and I am not
  sure what the line type is in terms of Ground or Loop start and
  wondering if that makes a difference with the Astribank and the fact
  that it can't how the voltage using show regdump

 IIRC they use LS (That is: no power denial is used at the end of a
 call).

 
  And I am definitly not sure what that warning of OLD DRIVER is about.
  Any help is appreciated.

 At the time we wrote it, we relied heavily on procfs. However procfs is
 not something that can be safely used when the module is loaded or
 removed. This is a fine way to get panics. Thus we gradually moved many
 things from /proc to /sys .

 Typically such a message would mean a combination of older dahdi-linux
 (loaded) and newer dahdi-tools. Though it's a warning, and not an error.

 --
   Tzafrir Cohen
 icq#16849755  
 jabber:tzafrir.co...@xorcom.comjabber%3atzafrir.co...@xorcom.com
 +972-50-7952406   mailto:tzafrir.co...@xorcom.com
 http://www.xorcom.com  iax:gu...@local.xorcom.com/tzafrir

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

 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 --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

[asterisk-users] Can't make calls out of Astribank - show regdump doesn't show voltage - Getting warning due to old driver

2010-06-21 Thread bruce bruce
Hi Guys,

An 8 channel Astribank is connected to Trixbox 2.8 and I ran
freepbx-module-zapauto but I get the following when running these
commands and can't make calls out:

[Trixbox]# dahdi_genconf xpporder
/usr/sbin/dahdi_genconf: warning - OLD DRIVER: missing
'/sys/bus/xpds/devices/00:0:0/timing_priority'. Fall back to /proc

pbx*CLI dahdi show channels
Chan Extension Context Language MOH Interpret Blocked State

pseudo default default In Service
1 from-pstn default In Service
2 from-pstn default In Service
3 from-pstn default In Service
4 from-pstn default In Service
5 from-pstn default In Service
6 from-pstn default In Service

7 from-pstn default In Service
8 from-pstn default In Service

pbx*CLI dahdi show status
Description Alarms IRQ bpviol CRC4 Fra Codi Options LBO
Xorcom XPD #00/00: FXO OK 0 0 0 CAS Unk YEL 0 db (CSU)/0-133 feet (DSX-1)


pbx*CLI dahdi show regdump 1
Unable to get registers on channel 1
Unable to get stats on channel 1

[Trixbox]# dahdi_hardware -v
/usr/sbin/dahdi_hardware: warning - OLD DRIVER: missing
'/sys/bus/xpds/devices/00:0:0/timing_priority'. Fall back to /proc

usb:002/002 xpp_usb+ e4e4:1162 Astribank-modular FPGA-firmware
LABEL=[usb:X1044207] connect...@usb-:00:1d.7-4
XBUS-00/XPD-00: FXO (8) Span 1 DAHDI-SYNC


Note: This Astribank is deployed in United Arab Emirates and I am not
sure what the line type is in terms of Ground or Loop start and
wondering if that makes a difference with the Astribank and the fact
that it can't how the voltage using show regdump

And I am definitly not sure what that warning of OLD DRIVER is about.
Any help is appreciated.


Thanks,
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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