Re: [asterisk-users] Help building dahdi for debian

2009-06-16 Thread Alex Samad
On Sun, Jun 14, 2009 at 03:10:03PM +1000, Alex Samad wrote:
 On Sun, Jun 14, 2009 at 06:28:09AM +0300, Tzafrir Cohen wrote:

[snip]

  
  The scripts for downloading the post-build firmware were moved to the
  separate dahdi-firmware package (sadly it has not made it into the
  archive yet). As the firmware files are not distributable I ended up
  just including the firmwares/ directory . That package is intended for
  non-free anyway (it includes the xpp firmwares)
  
  I included a script in that package to download and install the digium
  firmwares (a glorified make -C).
  
/usr/share/dahdi/get-digium-firmware
 
 okay

just for completeness in the thread, I have built the modules and it
seems to be working, now to just re config asterisk



 
  
 




-- 
I don't have people coming in the rope line saying, 'I'd like a new bridge, or 
how about some more highway money.'  They're coming to say, 'I'm coming to tell 
you, Mr. President, I'm praying for you.'

- George W. Bush
09/12/2006
Washington, DC
said to journalists in the Oval Office (as reported by the National Review)


signature.asc
Description: Digital signature
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

Re: [asterisk-users] Help building dahdi for debian

2009-06-16 Thread Alex Samad
On Sun, Jun 14, 2009 at 06:28:09AM +0300, Tzafrir Cohen wrote:

[snip]

  Although I think I did see it download the firmware 
 
 The scripts for downloading the post-build firmware were moved to the
 separate dahdi-firmware package (sadly it has not made it into the
 archive yet). As the firmware files are not distributable I ended up
 just including the firmwares/ directory . That package is intended for
 non-free anyway (it includes the xpp firmwares)
 
 I included a script in that package to download and install the digium
 firmwares (a glorified make -C).
 
   /usr/share/dahdi/get-digium-firmware

Hi

I have downloaded
http://downloads.digium.com/pub/telephony/firmware/releases/dahdi-fw-vpmadt032-1.07.tar.gz
and placed it in /usr/share/dadhi (un tarred )

when I reload the wctdm24xxp module I see
[ 3350.588717] Found a Wildcard TDM: Wildcard TDM410P (4 modules)
[ 3375.529165] Freed a Wildcard
[ 3428.201978] Boosting ringer on slot 1 (89V peak)
[ 3428.202059] Port 1: Installed -- AUTO FXS/DPO
[ 3433.358455] Boosting ringer on slot 2 (89V peak)
[ 3433.358474] Port 2: Installed -- AUTO FXS/DPO
[ 3433.597478] Port 3: Not installed
[ 3434.139532] Port 4: Installed -- AUTO FXO (AUSTRALIA mode)
[ 3434.160522] VPM100: Not Present
[ 3442.191181] Booting VPMADT032
[ 3446.075609] VPMADT032: Present and operational (Firmware version 117)

but when I run dahdi_genconf it use the opensource echo canceller !


also can seem to find cahn_dadhi.so

 

-- 
He was a state sponsor of terror. In other words, the government had declared, 
'you are a state sponsor of terror.'

- George W. Bush
01/23/2006
Manhattan, KS
On Saddam Hussein


signature.asc
Description: Digital signature
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

Re: [asterisk-users] Help building dahdi for debian

2009-06-16 Thread Tzafrir Cohen
On Tue, Jun 16, 2009 at 09:04:37PM +1000, Alex Samad wrote:
 On Sun, Jun 14, 2009 at 06:28:09AM +0300, Tzafrir Cohen wrote:
 
 [snip]
 
   Although I think I did see it download the firmware 
  
  The scripts for downloading the post-build firmware were moved to the
  separate dahdi-firmware package (sadly it has not made it into the
  archive yet). As the firmware files are not distributable I ended up
  just including the firmwares/ directory . That package is intended for
  non-free anyway (it includes the xpp firmwares)
  
  I included a script in that package to download and install the digium
  firmwares (a glorified make -C).
  
/usr/share/dahdi/get-digium-firmware
 
 Hi
 
 I have downloaded
 http://downloads.digium.com/pub/telephony/firmware/releases/dahdi-fw-vpmadt032-1.07.tar.gz
 and placed it in /usr/share/dadhi (un tarred )
 
 when I reload the wctdm24xxp module I see
 [ 3350.588717] Found a Wildcard TDM: Wildcard TDM410P (4 modules)
 [ 3375.529165] Freed a Wildcard
 [ 3428.201978] Boosting ringer on slot 1 (89V peak)
 [ 3428.202059] Port 1: Installed -- AUTO FXS/DPO
 [ 3433.358455] Boosting ringer on slot 2 (89V peak)
 [ 3433.358474] Port 2: Installed -- AUTO FXS/DPO
 [ 3433.597478] Port 3: Not installed
 [ 3434.139532] Port 4: Installed -- AUTO FXO (AUSTRALIA mode)
 [ 3434.160522] VPM100: Not Present
 [ 3442.191181] Booting VPMADT032
 [ 3446.075609] VPMADT032: Present and operational (Firmware version 117)
 
 but when I run dahdi_genconf it use the opensource echo canceller !

dahdi_genconf generates configuration. It is a tool intended to help you
and not a required step.

It defaults to using mg2[1]. You can tell it to use a different echo
canceller in the configuration it generates by setting 'echo_can hpec'
in /etc/dahdi/genconf_parameters

  http://docs.tzafrir.org.il/dahdi-tools/#_sample_genconf_parameters

[1] Actually, in the Debian package I patched it to default to use
OSLEC, as it's available there and works better than mg2. The patch is
trivial:

  
http://patch-tracking.debian.net/patch/series/view/dahdi-tools/1:2.2.0~rc3-1/echocan_oslec

 
 also can seem to find cahn_dadhi.so

That is part of asterisk .

-- 
   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 --

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


Re: [asterisk-users] Help building dahdi for debian

2009-06-16 Thread Alex Samad
On Tue, Jun 16, 2009 at 02:35:08PM +0300, Tzafrir Cohen wrote:
 On Tue, Jun 16, 2009 at 09:04:37PM +1000, Alex Samad wrote:

[snip]

 
 dahdi_genconf generates configuration. It is a tool intended to help you
 and not a required step.
 
 It defaults to using mg2[1]. You can tell it to use a different echo
 canceller in the configuration it generates by setting 'echo_can hpec'
 in /etc/dahdi/genconf_parameters
 
   http://docs.tzafrir.org.il/dahdi-tools/#_sample_genconf_parameters
 
 [1] Actually, in the Debian package I patched it to default to use
 OSLEC, as it's available there and works better than mg2. The patch is

so how do I use the hardware echo can and how can I tell it is working
???

 trivial:
 
   
 http://patch-tracking.debian.net/patch/series/view/dahdi-tools/1:2.2.0~rc3-1/echocan_oslec
 
  
  also can seem to find cahn_dadhi.so
 
 That is part of asterisk .
not the 1.4.21 deb - but its in 1.6.1

 

-- 
That's just the nature of democracy. Sometimes pure politics enters into the 
rhetoric.

- George W. Bush
08/08/2003
Crawford, TX


signature.asc
Description: Digital signature
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

Re: [asterisk-users] Help building dahdi for debian

2009-06-16 Thread Tzafrir Cohen
On Tue, Jun 16, 2009 at 02:35:08PM +0300, Tzafrir Cohen wrote:
 On Tue, Jun 16, 2009 at 09:04:37PM +1000, Alex Samad wrote:
  On Sun, Jun 14, 2009 at 06:28:09AM +0300, Tzafrir Cohen wrote:
  
  [snip]
  
Although I think I did see it download the firmware 
   
   The scripts for downloading the post-build firmware were moved to the
   separate dahdi-firmware package (sadly it has not made it into the
   archive yet). As the firmware files are not distributable I ended up
   just including the firmwares/ directory . That package is intended for
   non-free anyway (it includes the xpp firmwares)
   
   I included a script in that package to download and install the digium
   firmwares (a glorified make -C).
   
 /usr/share/dahdi/get-digium-firmware
  
  Hi
  
  I have downloaded
  http://downloads.digium.com/pub/telephony/firmware/releases/dahdi-fw-vpmadt032-1.07.tar.gz
  and placed it in /usr/share/dadhi (un tarred )
  
  when I reload the wctdm24xxp module I see
  [ 3350.588717] Found a Wildcard TDM: Wildcard TDM410P (4 modules)
  [ 3375.529165] Freed a Wildcard
  [ 3428.201978] Boosting ringer on slot 1 (89V peak)
  [ 3428.202059] Port 1: Installed -- AUTO FXS/DPO
  [ 3433.358455] Boosting ringer on slot 2 (89V peak)
  [ 3433.358474] Port 2: Installed -- AUTO FXS/DPO
  [ 3433.597478] Port 3: Not installed
  [ 3434.139532] Port 4: Installed -- AUTO FXO (AUSTRALIA mode)
  [ 3434.160522] VPM100: Not Present
  [ 3442.191181] Booting VPMADT032
  [ 3446.075609] VPMADT032: Present and operational (Firmware version 117)
  
  but when I run dahdi_genconf it use the opensource echo canceller !
 
 dahdi_genconf generates configuration. It is a tool intended to help you
 and not a required step.
 
 It defaults to using mg2[1]. You can tell it to use a different echo
 canceller in the configuration it generates by setting 'echo_can hpec'
 in /etc/dahdi/genconf_parameters

Duh. Ignore this. You asked about the hardware EC. The hardware EC can
be activated regadrdless of the software EC you use.

(Not sure exactly how. Anybody?)

-- 
   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 --

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


Re: [asterisk-users] Help building dahdi for debian

2009-06-16 Thread Kevin P. Fleming
Tzafrir Cohen wrote:

 Duh. Ignore this. You asked about the hardware EC. The hardware EC can
 be activated regadrdless of the software EC you use.
 
 (Not sure exactly how. Anybody?)

It's automatic; nothing needs to be specified in /etc/dahdi/system.conf
at all. If chan_dahdi is configured to request echo cancellation on the
channel, and there is a hardware EC present (and not disabled via module
parameters) it will be used. No software EC needs to be configured or
even loaded.

-- 
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
skype: kpfleming | jabber: kpflem...@digium.com
Check us out at www.digium.com  www.asterisk.org

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

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


Re: [asterisk-users] Help building dahdi for debian

2009-06-16 Thread Alex Samad
On Tue, Jun 16, 2009 at 09:42:34AM -0500, Kevin P. Fleming wrote:
 Tzafrir Cohen wrote:
 
  Duh. Ignore this. You asked about the hardware EC. The hardware EC can
  be activated regadrdless of the software EC you use.
  
  (Not sure exactly how. Anybody?)
 
 It's automatic; nothing needs to be specified in /etc/dahdi/system.conf
 at all. If chan_dahdi is configured to request echo cancellation on the
 channel, and there is a hardware EC present (and not disabled via module
 parameters) it will be used. No software EC needs to be configured or
 even loaded.

got told by support to check 
cat /sys/module/wctdm24xxp/parameters/vpmsupport

the thing that is interesting is that dahdi_cfg -vv shows me mg2 (I have
mg2 in the /etc/dahdi/system.cfg).

Should I just leave echocanceller out fo system.conf ?

and dadhi show channel 1 still shows echo cancellation off ?

alex

 

-- 
After all, Europe is America's closest ally.

- George W. Bush
02/23/2005
Mainz, Germany


signature.asc
Description: Digital signature
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

Re: [asterisk-users] Help building dahdi for debian

2009-06-16 Thread Tzafrir Cohen
On Wed, Jun 17, 2009 at 07:08:10AM +1000, Alex Samad wrote:
 On Tue, Jun 16, 2009 at 09:42:34AM -0500, Kevin P. Fleming wrote:
  Tzafrir Cohen wrote:
  
   Duh. Ignore this. You asked about the hardware EC. The hardware EC can
   be activated regadrdless of the software EC you use.
   
   (Not sure exactly how. Anybody?)
  
  It's automatic; nothing needs to be specified in /etc/dahdi/system.conf
  at all. If chan_dahdi is configured to request echo cancellation on the
  channel, and there is a hardware EC present (and not disabled via module
  parameters) it will be used. No software EC needs to be configured or
  even loaded.
 
 got told by support to check 
 cat /sys/module/wctdm24xxp/parameters/vpmsupport
 
 the thing that is interesting is that dahdi_cfg -vv shows me mg2 (I have
 mg2 in the /etc/dahdi/system.cfg).
 
 Should I just leave echocanceller out fo system.conf ?

That's the software EC. It doesn't matter.

 
 and dadhi show channel 1 still shows echo cancellation off ?

What is the exact value there?

Is it at the time of an active call?

-- 
   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 --

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


Re: [asterisk-users] Help building dahdi for debian

2009-06-16 Thread Alex Samad
On Wed, Jun 17, 2009 at 01:23:19AM +0300, Tzafrir Cohen wrote:
 On Wed, Jun 17, 2009 at 07:08:10AM +1000, Alex Samad wrote:
  On Tue, Jun 16, 2009 at 09:42:34AM -0500, Kevin P. Fleming wrote:
   Tzafrir Cohen wrote:
   
Duh. Ignore this. You asked about the hardware EC. The hardware EC can
be activated regadrdless of the software EC you use.

(Not sure exactly how. Anybody?)
   
   It's automatic; nothing needs to be specified in /etc/dahdi/system.conf
   at all. If chan_dahdi is configured to request echo cancellation on the
   channel, and there is a hardware EC present (and not disabled via module
   parameters) it will be used. No software EC needs to be configured or
   even loaded.
  
  got told by support to check 
  cat /sys/module/wctdm24xxp/parameters/vpmsupport
  
  the thing that is interesting is that dahdi_cfg -vv shows me mg2 (I have
  mg2 in the /etc/dahdi/system.cfg).
  
  Should I just leave echocanceller out fo system.conf ?
 
 That's the software EC. It doesn't matter.

ok


 
  
  and dadhi show channel 1 still shows echo cancellation off ?
 
 What is the exact value there?
 
 Is it at the time of an active call?

kevin advised on this, it shows the status at the time of a call. I
tried whilst making a call and it was on

 

-- 
This case has had full analyzation and has been looked at a lot.  I understand 
the emotionality of death penalty cases.

- George W. Bush
06/23/2000
Seattle Post-Intelligencer


signature.asc
Description: Digital signature
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

Re: [asterisk-users] Help building dahdi for debian

2009-06-13 Thread Tzafrir Cohen
On Sat, Jun 13, 2009 at 09:51:24AM +1000, Alex Samad wrote:

 To get this to work can i simply
 
 apt-get source dahdi-linux
 
 modify debian/patches/series
 to comment out no_firmware_download
 then
 dpkg-buildpackage -rfakeroot -us -uc -b
 
 should that work ?

Yes

-- 
   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 --

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


Re: [asterisk-users] Help building dahdi for debian

2009-06-13 Thread Alex Samad
On Sat, Jun 13, 2009 at 11:58:40AM +0300, Tzafrir Cohen wrote:
 On Sat, Jun 13, 2009 at 09:51:24AM +1000, Alex Samad wrote:
 
  To get this to work can i simply
  
  apt-get source dahdi-linux
  
  modify debian/patches/series
  to comment out no_firmware_download
  then
  dpkg-buildpackage -rfakeroot -us -uc -b
  
  should that work ?
 
 Yes

gave it a try, didn't seem to down load any thing, going to go back to
zaptel to get it installed and working and I will investigate some more
with the dadhi later

Alex

 

-- 
I think it's very important for world leaders to understand that when a new 
administration comes in, the new administration will be running the foreign 
policy.

- George W. Bush
01/12/2001
interview with USA Today


signature.asc
Description: Digital signature
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

Re: [asterisk-users] Help building dahdi for debian

2009-06-13 Thread Tzafrir Cohen
On Sat, Jun 13, 2009 at 07:51:54PM +1000, Alex Samad wrote:
 On Sat, Jun 13, 2009 at 11:58:40AM +0300, Tzafrir Cohen wrote:
  On Sat, Jun 13, 2009 at 09:51:24AM +1000, Alex Samad wrote:
  
   To get this to work can i simply
   
   apt-get source dahdi-linux
   
   modify debian/patches/series
   to comment out no_firmware_download
   then
   dpkg-buildpackage -rfakeroot -us -uc -b
   
   should that work ?
  
  Yes
 
 gave it a try, didn't seem to down load any thing, 

Could you please be more specific?

Have you built a modules package from the generated dahdi-source package
(using m-a)?

-- 
   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 --

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


Re: [asterisk-users] Help building dahdi for debian

2009-06-13 Thread Alex Samad
On Sat, Jun 13, 2009 at 01:10:33PM +0300, Tzafrir Cohen wrote:
 On Sat, Jun 13, 2009 at 07:51:54PM +1000, Alex Samad wrote:
  On Sat, Jun 13, 2009 at 11:58:40AM +0300, Tzafrir Cohen wrote:
   On Sat, Jun 13, 2009 at 09:51:24AM +1000, Alex Samad wrote:
   
To get this to work can i simply

apt-get source dahdi-linux

modify debian/patches/series
to comment out no_firmware_download
then
dpkg-buildpackage -rfakeroot -us -uc -b

should that work ?
   
   Yes
  
  gave it a try, didn't seem to down load any thing, 
 
 Could you please be more specific?

sorry, got to remember people can't read my mind

I have download the source, made the change to series files and then did
the dpkg-buildpackage -us -uc -b, whilst watching the process it did not
seem to download any files.

I compared (not closely - ie line by line) the similar process by
download the tgz from digim and doing a make then a make -n install

with the later i saw wgets in the former nothing, when i checked the
.deb files for firmware files they weren't there!

alex

 
 Have you built a modules package from the generated dahdi-source package
 (using m-a)?
 

-- 
I'm not going to talk about what I did as a child. What I am going to talk 
about -- and I am going to say this consistently -- [is that] it is irrelevant 
what I did 20 to 30 years ago. What's relevant is that I have learned from any 
mistakes I made. I do not want to send signals to anybody that what Gov. Bush 
did 30 years ago is cool to try.

- George W. Bush
in an interview with WMUR-TV in New Hampshire, when asked if he had used drugs, 
marijuana, cocaine


signature.asc
Description: Digital signature
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

Re: [asterisk-users] Help building dahdi for debian

2009-06-13 Thread Tzafrir Cohen
On Sat, Jun 13, 2009 at 09:46:23PM +1000, Alex Samad wrote:
 On Sat, Jun 13, 2009 at 01:10:33PM +0300, Tzafrir Cohen wrote:
  On Sat, Jun 13, 2009 at 07:51:54PM +1000, Alex Samad wrote:
   On Sat, Jun 13, 2009 at 11:58:40AM +0300, Tzafrir Cohen wrote:
On Sat, Jun 13, 2009 at 09:51:24AM +1000, Alex Samad wrote:

 To get this to work can i simply
 
 apt-get source dahdi-linux
 
 modify debian/patches/series
 to comment out no_firmware_download
 then
 dpkg-buildpackage -rfakeroot -us -uc -b
 
 should that work ?

Yes
   
   gave it a try, didn't seem to down load any thing, 
  
  Could you please be more specific?
 
 sorry, got to remember people can't read my mind
 
 I have download the source, made the change to series files and then did
 the dpkg-buildpackage -us -uc -b, whilst watching the process it did not
 seem to download any files.

It merely packages (most of the) the source tarball in the dahdi-source
binary package, which is later built with dahdi-linux.

(You can technically extract the modules tarball from dahdi-source and
use m-a directly with it, but it's a bit complicated)


-- 
   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 --

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


Re: [asterisk-users] Help building dahdi for debian

2009-06-13 Thread Erik de Wild: Tripple-o
perhap this is not an answer to your question but following this  
procedure will result in a working Asterisk system. I use this list  
when setting up an Asterisk system after installing a basic Debian  
etch network install :


apt-get install mc  # just my bad habbit
apt-get install ssh
apt-get install build-essential
apt-get install module-assistant

m-a prepare

# based on info from asterisk-guru
apt-get install bison

apt-get install ncurses-dev

apt-get install libssl-dev

apt-get install libnewt-dev

apt-get install zlib1g-dev

apt-get install initrd-tools

apt-get install procps

# change the release number for the version needed

cd /usr/src

mkdir asterisk # another perhaps bad habbit

cd asterisk

wget http://downloads.digium.com/pub/asterisk/releases/asterisk-1.4.25.1.tar.gz

wget 
http://downloads.digium.com/pub/telephony/dahdi-linux/releases/dahdi-linux-2.1.0.4.tar.gz
wget 
http://downloads.digium.com/pub/telephony/dahdi-tools/releases/dahdi-tools-2.1.0.2.tar.gz
wget 
http://downloads.digium.com/pub/asterisk/releases/asterisk-addons-1.4.8.tar.gz

tar  -zvxf asterisk-1.4.24.tar.gz
tar –zxvf asterisk-addons-1.4.7.tar
tar  -zvxf dahdi-linux-2.1.0.4.tar.gz
tar  -zvxf dahdi-tools.2.1.0.2.tar.gz

cd dahdi-linux-2.1.0.4
make
make install
cd ..
cd dahdi-tools-2.1.0.2
./configure
make
make install
make config

cd ..
cd asterisk-1.4.24
./configure
make
make install
make samples
modprobe dahdi_dummy

#Usually I just modprobe dahdi_dummy so MeetMe() works fine.

lsmod | grep dahdi
 #The output should look something like
#debianl:~# lsmod|grep dahdi
#dahdi_dummy 5224  0
#dahdi_transcode 7848  1 wctc4xxp
#dahdi 186472  19  
dahdi_dummy 
,xpp 
,dahdi_transcode 
,wcb4xxp,wctdm,wcfxo,wctdm24xxp,wcte11xp,wct1xxp,wcte12xp,wct4xxp

#crc_ccitt   2240  1 dahdi
#rtc12372  1 dahdi_dummy


cd asterisk-addons-1.4.7
./configure
make menuselect
make
make install
make samples

Usually I just modprobe dahdi_dummy so MeetMe() works fine.
Why making a problem of not having the debian packages available if  
building a working system from source is so simple?


Hope this is useful for someone

\erik




Date: Sat, 13 Jun 2009 09:51:24 +1000
From: Alex Samad a...@samad.com.au
Subject: Re: [asterisk-users] Help building dahdi for debian
To: asterisk-users@lists.digium.com
Message-ID: 20090612235124.gb17...@samad.com.au
Content-Type: text/plain; charset=us-ascii___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

Re: [asterisk-users] Help building dahdi for debian

2009-06-13 Thread Tzafrir Cohen
On Sat, Jun 13, 2009 at 11:04:05PM +0200, Erik de Wild: Tripple-o wrote:
 perhap this is not an answer to your question but following this  
 procedure will result in a working Asterisk system. I use this list  
 when setting up an Asterisk system after installing a basic Debian  
 etch network install :
 
 apt-get install mc  # just my bad habbit
 apt-get install ssh

You can install several packages in one command. Infact it would be both
faster and would handle common dependencies better.

 apt-get install build-essential
 apt-get install module-assistant
 
 m-a prepare
 
 # based on info from asterisk-guru
 apt-get install bison

No longer needed for building asterisk.

  apt-get install asterisk

is a good start.

Alternatively:

  apt-get build-dep asterisk

 
 apt-get install ncurses-dev
 
 apt-get install libssl-dev
 
 apt-get install libnewt-dev
 
 apt-get install zlib1g-dev
 
 apt-get install initrd-tools

I think that this one is old/ If it's needed it is likely to get pulled
by its dependencies.

-- 
   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 --

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


Re: [asterisk-users] Help building dahdi for debian

2009-06-13 Thread Alex Samad
On Sat, Jun 13, 2009 at 05:10:34PM +0300, Tzafrir Cohen wrote:
 On Sat, Jun 13, 2009 at 09:46:23PM +1000, Alex Samad wrote:
  On Sat, Jun 13, 2009 at 01:10:33PM +0300, Tzafrir Cohen wrote:
   On Sat, Jun 13, 2009 at 07:51:54PM +1000, Alex Samad wrote:
On Sat, Jun 13, 2009 at 11:58:40AM +0300, Tzafrir Cohen wrote:
 On Sat, Jun 13, 2009 at 09:51:24AM +1000, Alex Samad wrote:
 
  To get this to work can i simply
  
  apt-get source dahdi-linux
  
  modify debian/patches/series
  to comment out no_firmware_download
  then
  dpkg-buildpackage -rfakeroot -us -uc -b
  
  should that work ?
 
 Yes

gave it a try, didn't seem to down load any thing, 
   
   Could you please be more specific?
  
  sorry, got to remember people can't read my mind
  
  I have download the source, made the change to series files and then did
  the dpkg-buildpackage -us -uc -b, whilst watching the process it did not
  seem to download any files.
 
 It merely packages (most of the) the source tarball in the dahdi-source
 binary package, which is later built with dahdi-linux.

that makes sense, I had a time constraint, will look at it next weekend,
when I have some times. because I want to move to 2.6.29 

 
 (You can technically extract the modules tarball from dahdi-source and
 use m-a directly with it, but it's a bit complicated)
 
 

-- 
Professor: Okay, Amoeba Boys. Thank you for your cooperation. You're free to go.
Bossman: Go?! I thought we were criminals! You locked us up and everything!
Professor: Well, everything's all right now. Out you go.


signature.asc
Description: Digital signature
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

Re: [asterisk-users] Help building dahdi for debian

2009-06-13 Thread Alex Samad
On Sat, Jun 13, 2009 at 11:04:05PM +0200, Erik de Wild: Tripple-o wrote:
 perhap this is not an answer to your question but following this  
 procedure will result in a working Asterisk system. I use this list when 
 setting up an Asterisk system after installing a basic Debian etch 
 network install :


[snip]

 Usually I just modprobe dahdi_dummy so MeetMe() works fine.
 Why making a problem of not having the debian packages available if  
 building a working system from source is so simple?

 Hope this is useful for someone

Thanks, but I try and do things the debian way - use deb's not tar
balls easier to maintain.

My only issue has been that because of debian rules the firmware for the
hw echo cancellor isn't provided


Alex


 \erik




 Date: Sat, 13 Jun 2009 09:51:24 +1000
 From: Alex Samad a...@samad.com.au
 Subject: Re: [asterisk-users] Help building dahdi for debian
 To: asterisk-users@lists.digium.com
 Message-ID: 20090612235124.gb17...@samad.com.au
 Content-Type: text/plain; charset=us-ascii

 ___
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 
 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
But minister, it isn't like this film is the first troublesome thing to come
out of Canada. Let us not forget Bryan Adams.

No, no. The Canadian government has apologized for Bryan Adams on several
occasions.


signature.asc
Description: Digital signature
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

Re: [asterisk-users] Help building dahdi for debian

2009-06-13 Thread Alex Samad
On Sun, Jun 14, 2009 at 08:20:18AM +1000, Alex Samad wrote:

[snip]

  
  It merely packages (most of the) the source tarball in the dahdi-source
  binary package, which is later built with dahdi-linux.
 
 that makes sense, I had a time constraint, will look at it next weekend,
 when I have some times. because I want to move to 2.6.29 

okay started up my vm machine to build this, 

apt-source
fix series
dpkg-buildpackage -us -uc -b
install the source deb

m-a build dahdi
dpkg -c
dahdi-modules-2.6.29-2-486_2.2.0~dfsg~rc5-1.1-alex01+2.6.29-5_i386.deb

and I still can't see any firmware !! only kernel modules.

Although I think I did see it download the firmware 

 
  
  (You can technically extract the modules tarball from dahdi-source and
  use m-a directly with it, but it's a bit complicated)
  
  
 




-- 
we:
The single most important word in the world.


signature.asc
Description: Digital signature
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

Re: [asterisk-users] Help building dahdi for debian

2009-06-13 Thread Tzafrir Cohen
On Sun, Jun 14, 2009 at 12:23:41PM +1000, Alex Samad wrote:
 On Sun, Jun 14, 2009 at 08:20:18AM +1000, Alex Samad wrote:
 
 [snip]
 
   
   It merely packages (most of the) the source tarball in the dahdi-source
   binary package, which is later built with dahdi-linux.
  
  that makes sense, I had a time constraint, will look at it next weekend,
  when I have some times. because I want to move to 2.6.29 
 
 okay started up my vm machine to build this, 
 
 apt-source
 fix series
 dpkg-buildpackage -us -uc -b
 install the source deb
 
 m-a build dahdi
 dpkg -c
 dahdi-modules-2.6.29-2-486_2.2.0~dfsg~rc5-1.1-alex01+2.6.29-5_i386.deb
 
 and I still can't see any firmware !! only kernel modules.
 
 Although I think I did see it download the firmware 

The scripts for downloading the post-build firmware were moved to the
separate dahdi-firmware package (sadly it has not made it into the
archive yet). As the firmware files are not distributable I ended up
just including the firmwares/ directory . That package is intended for
non-free anyway (it includes the xpp firmwares)

I included a script in that package to download and install the digium
firmwares (a glorified make -C).

  /usr/share/dahdi/get-digium-firmware

-- 
   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 --

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


Re: [asterisk-users] Help building dahdi for debian

2009-06-13 Thread Alex Samad
On Sun, Jun 14, 2009 at 06:28:09AM +0300, Tzafrir Cohen wrote:
 On Sun, Jun 14, 2009 at 12:23:41PM +1000, Alex Samad wrote:
  On Sun, Jun 14, 2009 at 08:20:18AM +1000, Alex Samad wrote:
  
  [snip]
  

It merely packages (most of the) the source tarball in the dahdi-source
binary package, which is later built with dahdi-linux.
   
   that makes sense, I had a time constraint, will look at it next weekend,
   when I have some times. because I want to move to 2.6.29 
  
  okay started up my vm machine to build this, 
  
  apt-source
  fix series
  dpkg-buildpackage -us -uc -b
  install the source deb
  
  m-a build dahdi
  dpkg -c
  dahdi-modules-2.6.29-2-486_2.2.0~dfsg~rc5-1.1-alex01+2.6.29-5_i386.deb
  
  and I still can't see any firmware !! only kernel modules.
  
  Although I think I did see it download the firmware 

I think I solved my problem. the kernel modules downloads and compiles
int the vpmadt032_x86_32.o_shipped blob. I was expecting and looking
for the firmware! silly me

 
 The scripts for downloading the post-build firmware were moved to the
 separate dahdi-firmware package (sadly it has not made it into the
 archive yet). As the firmware files are not distributable I ended up
 just including the firmwares/ directory . That package is intended for
 non-free anyway (it includes the xpp firmwares)
 
 I included a script in that package to download and install the digium
 firmwares (a glorified make -C).
 
   /usr/share/dahdi/get-digium-firmware

okay

 

-- 
When I was a kid I remember that they used to put out there in the Old West a 
wanted poster. It said, Wanted: Dead or Alive.

- George W. Bush
09/18/2001
Washington, DC


signature.asc
Description: Digital signature
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

Re: [asterisk-users] Help building dahdi for debian

2009-06-12 Thread jonas kellens
On Fri, 2009-06-12 at 23:58 +1000, Alex Samad wrote:

 
 what is the best way forward to recompile with hardware echo canceller
 support.
 



No need to do anything special during compilation. For hardware echo
cancellation just put the option echocancel=yes in chan_dahdi.conf
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

Re: [asterisk-users] Help building dahdi for debian

2009-06-12 Thread Tzafrir Cohen
On Fri, Jun 12, 2009 at 11:58:51PM +1000, Alex Samad wrote:
 Hi
 
 I am in the process of installing a new box and using dahdi. I have a
 tdm410 + hardware echo canceller.
 
 I have just read in the read me for dadhi that VPMADT032  support has
 been removed and unlike with the zaptel stuff i could just download and
 install the firmware I can't with dahdi 

What do you mean? I suspect that the following patch:

http://patch-tracking.debian.net/patch/series/view/dahdi-linux/1:2.2.0~dfsg~rc5-1/no_firmware_download
 

BTW: legal purity aside, downloading an external source at build time is
generally a big no-no for a build server on Debian. Thus this
downloading breaks my intention to get the modules distributed in the
distribution as part of linux-modules-2.6 package (which includes all
sorts of external modules).

If you're not using those packages (and build at a place with internet
connectivity) you should have no problem.

Which is the case for you?

-- 
   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 --

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


Re: [asterisk-users] Help building dahdi for debian

2009-06-12 Thread Alex Samad
On Fri, Jun 12, 2009 at 05:40:16PM +0300, Tzafrir Cohen wrote:
 On Fri, Jun 12, 2009 at 11:58:51PM +1000, Alex Samad wrote:
  Hi
  
  I am in the process of installing a new box and using dahdi. I have a
  tdm410 + hardware echo canceller.
  
  I have just read in the read me for dadhi that VPMADT032  support has
  been removed and unlike with the zaptel stuff i could just download and
  install the firmware I can't with dahdi 
 
 What do you mean? I suspect that the following patch:
 
 http://patch-tracking.debian.net/patch/series/view/dahdi-linux/1:2.2.0~dfsg~rc5-1/no_firmware_download
  
yeah I downloaded the source and found this patch, 

 
 BTW: legal purity aside, downloading an external source at build time is
 generally a big no-no for a build server on Debian. Thus this
 downloading breaks my intention to get the modules distributed in the
 distribution as part of linux-modules-2.6 package (which includes all
 sorts of external modules).

I understand, but it was feasible in zaptel to build a package were all
you had to do was download the firmware - I haven't looked at the dep /
source requirements so I am not sure if the is feasible on the debian
build servers


 
 If you're not using those packages (and build at a place with internet
 connectivity) you should have no problem.
 
 Which is the case for you?

building my own package from your source just removing the above
offending patch :)

any chance of getting digium to host a digium debian repo (sort of how
virtulbox doit), that way they could have a fully build package ?


alex

 

-- 
Neither in French nor in English nor in Mexican.

- George W. Bush
04/21/2001
declining to take reporters' questions during a photo op with Canadian Prime 
Minister Jean Chretien


signature.asc
Description: Digital signature
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

Re: [asterisk-users] Help building dahdi for debian

2009-06-12 Thread Tzafrir Cohen
On Sat, Jun 13, 2009 at 06:57:11AM +1000, Alex Samad wrote:

 any chance of getting digium to host a digium debian repo (sort of how
 virtulbox doit), that way they could have a fully build package ?

Or resolve the issues that made this patch necessary in the first place.

-- 
   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 --

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


Re: [asterisk-users] Help building dahdi for debian

2009-06-12 Thread Alex Samad
On Sat, Jun 13, 2009 at 01:40:48AM +0300, Tzafrir Cohen wrote:
 On Sat, Jun 13, 2009 at 06:57:11AM +1000, Alex Samad wrote:
 
  any chance of getting digium to host a digium debian repo (sort of how
  virtulbox doit), that way they could have a fully build package ?
 
 Or resolve the issues that made this patch necessary in the first place.

To get this to work can i simply

apt-get source dahdi-linux

modify debian/patches/series
to comment out no_firmware_download
then
dpkg-buildpackage -rfakeroot -us -uc -b

should that work ?



 

-- 
I was not prepared to shoot my eardrum out with a shotgun in order to get a 
deferment. Nor was I willing to go to Canada. So I chose to better myself by 
learning how to fly airplanes.

- George W. Bush
02/25/1990
Dallas Morning News


signature.asc
Description: Digital signature
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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