Re: [asterisk-users] Sangoma A102d and Asterisk on Debian 3.1.

2007-03-05 Thread Markus Monka

Hi,

try to set the TDMV_DCHAN = 16 (E1) or 24 (T1).

I had the same problem while updating from 2.3.4-(2|3) to 2.3.4-7 .
I think, that wancfg did not set this value correctly.

In my setup i updated an running system to new version, so the LinkLayer
is still ok.

Best Regards,
Markus


On 1/16/07, Klaus Darilion [EMAIL PROTECTED] wrote:

Erik Forsen wrote:

 Did you find any solution to this problem? I have the exact same problem
 with a Sangoma A102d card on debian 3.1, 2.6.19 and wanpipe 2.3.4-4.
 I've followed several different guides, including the one on sangoma's
 wiki. When I try to make a call out, I get this error:

 Jan 16 13:17:28] WARNING[18084]: app_dial.c:1081 dial_exec_full: Unable
 to create channel of type 'ZAP' (cause 34 - Circuit/channel congestion)

 Also got the same SABME errors as you do.

Maybe you have link-layer problems - maybe you are using a wrong cable.

You can test the card using a E1 cross-over cable between the 2 ports of
the sangoma card.

regards
klaus

--
Klaus Darilion
nic.at

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

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


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

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


Re: [asterisk-users] Sangoma A102d and Asterisk on Debian 3.1.

2007-01-16 Thread Erik Forsen


On Jan 11, 2007, at 11:08 PM, Jarek Jarzebowski wrote:

Dnia 31-12-2006 o 18:05:00 Jarek Jarzebowski [EMAIL PROTECTED]  
napisał(a):


Dnia 31-12-2006 o 17:39:10 Tzafrir Cohen  
[EMAIL PROTECTED] napisał(a):



On Sun, Dec 31, 2006 at 05:08:26PM +0100, Jarek Jarzebowski wrote:

Dnia 31-12-2006 o 16:17:19 Tzafrir Cohen [EMAIL PROTECTED]
napisał(a):

On Sun, Dec 31, 2006 at 03:59:14PM +0100, Jarek Jarzebowski wrote:

Hi All,

is anybody using Sangoma A102d card with Asterisk on Debian 3.1?
I configure and install Sangoma wanpipe step by step based on  
Sangoma

Wiki
and manuals but can not get success results. I suppose that it  
may be

some
Debian specific case.

AFAIK, that procedure has been tested on Debian Sarge before.

What specific problems you have?


I use wanpipe-2.3.4-3. I run ./Setup install. After standard 2  
frist

question (answer 'y') I got:

Please specify absolute path name of your linux directory

(Press Enter for Default: /lib/modules/2.4.27-3-686-smp/ 
build)


I press Enter. And got:

Upgrading WANPIPE kernel documentation ...Done.


Upgrading WANPIPE kernel headers ...Done.

Upgrading WANPIPE kernel drivers ...Done.

cp: cannot stat `drivers/net/wan/Makefile': No such file or  
directory

grep: drivers/net/wan/Makefile: No such file or directory
Updating T1/E1 in
/lib/modules/2.4.27-3-686-smp/build/drivers/net/wan/Makefile
./Setup: line 895: drivers/net/wan/Makefile.nex: No such file or  
directory

cat: drivers/net/wan/Makefile: No such file or directory


drivers/net/wan/Makefile does not exist in the kernel-headers  
package of

2.4 (e.g: your 2.4.27-3-686-smp) . It does seem to exist in the
kernel-headers packagers of 2.6 .

So one thing to try: use kernel 2.6:

  apt-get install kernel-image-2.6-686-smp kernel-headers-2.6-686- 
smp


and reboot to that kernel.

Note, however that this is just one educated guess of me.



OK. I will try that and give an answer.



I install wanpipe on Debian (kernel 2.6.8). Wanrouter seems to work  
OK. But I am affraid that I do something wrong with asterisk  
config. On asterisk I can see:


*CLI pri show span 1
Primary D-channel: 16
Status: Provisioned, Down, Active
Switchtype: EuroISDN
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


*CLI pri show span 2
Primary D-channel: 47
Status: Provisioned, Down, Active
Switchtype: EuroISDN
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

*CLI pri show intense debug span 1


[ 00 01 7f ]



Unnumbered frame:
SAPI: 00  C/R: 0 EA: 0
 TEI: 000EA: 1
  M3: 3   P/F: 1 M2: 3 11: 3  [ SABME (set asynchronous balanced  
mode extended) ]

0 bytes of data

Sending Set Asynchronous Balanced Mode Extended


[ 00 01 7f ]



Unnumbered frame:
SAPI: 00  C/R: 0 EA: 0
 TEI: 000EA: 1
  M3: 3   P/F: 1 M2: 3 11: 3  [ SABME (set asynchronous balanced  
mode extended) ]

0 bytes of data


It looks to me like some config misunderstunding between A102d  
and Aterisk.
I am total newbe to sangoma cards, Digium like Tor2 cards have no  
such a problem.


Looking forward to any ideas...

Regards,
--
Jarek


Hi Jarek!

Did you find any solution to this problem? I have the exact same  
problem with a Sangoma A102d card on debian 3.1, 2.6.19 and wanpipe  
2.3.4-4. I've followed several different guides, including the one on  
sangoma's wiki. When I try to make a call out, I get this error:


Jan 16 13:17:28] WARNING[18084]: app_dial.c:1081 dial_exec_full:  
Unable to create channel of type 'ZAP' (cause 34 - Circuit/channel  
congestion)


Also got the same SABME errors as you do.

Best regards,

Erik Haider Forsén
___

--Bandwidth and Colocation provided by Easynews.com --

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


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

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


Re: [asterisk-users] Sangoma A102d and Asterisk on Debian 3.1.

2007-01-11 Thread Jarek Jarzebowski

Dnia 31-12-2006 o 18:05:00 Jarek Jarzebowski [EMAIL PROTECTED] napisał(a):

Dnia 31-12-2006 o 17:39:10 Tzafrir Cohen [EMAIL PROTECTED]  
napisał(a):



On Sun, Dec 31, 2006 at 05:08:26PM +0100, Jarek Jarzebowski wrote:

Dnia 31-12-2006 o 16:17:19 Tzafrir Cohen [EMAIL PROTECTED]
napisał(a):

On Sun, Dec 31, 2006 at 03:59:14PM +0100, Jarek Jarzebowski wrote:

Hi All,

is anybody using Sangoma A102d card with Asterisk on Debian 3.1?
I configure and install Sangoma wanpipe step by step based on Sangoma
Wiki
and manuals but can not get success results. I suppose that it may be
some
Debian specific case.

AFAIK, that procedure has been tested on Debian Sarge before.

What specific problems you have?


I use wanpipe-2.3.4-3. I run ./Setup install. After standard 2 frist
question (answer 'y') I got:

Please specify absolute path name of your linux directory

(Press Enter for Default: /lib/modules/2.4.27-3-686-smp/build)

I press Enter. And got:

Upgrading WANPIPE kernel documentation ...Done.


Upgrading WANPIPE kernel headers ...Done.

Upgrading WANPIPE kernel drivers ...Done.

cp: cannot stat `drivers/net/wan/Makefile': No such file or directory
grep: drivers/net/wan/Makefile: No such file or directory
Updating T1/E1 in
/lib/modules/2.4.27-3-686-smp/build/drivers/net/wan/Makefile
./Setup: line 895: drivers/net/wan/Makefile.nex: No such file or  
directory

cat: drivers/net/wan/Makefile: No such file or directory


drivers/net/wan/Makefile does not exist in the kernel-headers package of
2.4 (e.g: your 2.4.27-3-686-smp) . It does seem to exist in the
kernel-headers packagers of 2.6 .

So one thing to try: use kernel 2.6:

  apt-get install kernel-image-2.6-686-smp kernel-headers-2.6-686-smp

and reboot to that kernel.

Note, however that this is just one educated guess of me.



OK. I will try that and give an answer.



I install wanpipe on Debian (kernel 2.6.8). Wanrouter seems to work OK.  
But I am affraid that I do something wrong with asterisk config. On  
asterisk I can see:


*CLI pri show span 1
Primary D-channel: 16
Status: Provisioned, Down, Active
Switchtype: EuroISDN
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


*CLI pri show span 2
Primary D-channel: 47
Status: Provisioned, Down, Active
Switchtype: EuroISDN
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

*CLI pri show intense debug span 1


[ 00 01 7f ]



Unnumbered frame:
SAPI: 00  C/R: 0 EA: 0
 TEI: 000EA: 1
  M3: 3   P/F: 1 M2: 3 11: 3  [ SABME (set asynchronous balanced mode  
extended) ]

0 bytes of data

Sending Set Asynchronous Balanced Mode Extended


[ 00 01 7f ]



Unnumbered frame:
SAPI: 00  C/R: 0 EA: 0
 TEI: 000EA: 1
  M3: 3   P/F: 1 M2: 3 11: 3  [ SABME (set asynchronous balanced mode  
extended) ]

0 bytes of data


It looks to me like some config misunderstunding between A102d and  
Aterisk.
I am total newbe to sangoma cards, Digium like Tor2 cards have no such a  
problem.


Looking forward to any ideas...

Regards,
--
Jarek
___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] Sangoma A102d and Asterisk on Debian 3.1.

2006-12-31 Thread Jarek Jarzebowski


Hi All,

is anybody using Sangoma A102d card with Asterisk on Debian 3.1?
I configure and install Sangoma wanpipe step by step based on Sangoma Wiki  
and manuals but can not get success results. I suppose that it may be some  
Debian specific case.


Regards,
Jarek

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

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


Re: [asterisk-users] Sangoma A102d and Asterisk on Debian 3.1.

2006-12-31 Thread Tzafrir Cohen
On Sun, Dec 31, 2006 at 03:59:14PM +0100, Jarek Jarzebowski wrote:
 
 Hi All,
 
 is anybody using Sangoma A102d card with Asterisk on Debian 3.1?
 I configure and install Sangoma wanpipe step by step based on Sangoma Wiki  
 and manuals but can not get success results. I suppose that it may be some  
 Debian specific case.

AFAIK, that procedure has been tested on Debian Sarge before.

What specific problems you have?

-- 
   Tzafrir Cohen   
icq#16849755jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]   
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Sangoma A102d and Asterisk on Debian 3.1.

2006-12-31 Thread Jarek Jarzebowski
Dnia 31-12-2006 o 16:17:19 Tzafrir Cohen [EMAIL PROTECTED]  
napisał(a):



On Sun, Dec 31, 2006 at 03:59:14PM +0100, Jarek Jarzebowski wrote:


Hi All,

is anybody using Sangoma A102d card with Asterisk on Debian 3.1?
I configure and install Sangoma wanpipe step by step based on Sangoma  
Wiki
and manuals but can not get success results. I suppose that it may be  
some

Debian specific case.


AFAIK, that procedure has been tested on Debian Sarge before.

What specific problems you have?



I use wanpipe-2.3.4-3. I run ./Setup install. After standard 2 frist  
question (answer 'y') I got:


Please specify absolute path name of your linux directory

(Press Enter for Default: /lib/modules/2.4.27-3-686-smp/build)

I press Enter. And got:

Upgrading WANPIPE kernel documentation ...Done.


Upgrading WANPIPE kernel headers ...Done.

Upgrading WANPIPE kernel drivers ...Done.

cp: cannot stat `drivers/net/wan/Makefile': No such file or directory
grep: drivers/net/wan/Makefile: No such file or directory
Updating T1/E1 in  
/lib/modules/2.4.27-3-686-smp/build/drivers/net/wan/Makefile

./Setup: line 895: drivers/net/wan/Makefile.nex: No such file or directory
cat: drivers/net/wan/Makefile: No such file or directory
mv: cannot stat `drivers/net/wan/Makefile.nex': No such file or directory
grep: drivers/net/wan/Makefile: No such file or directory
Updating Utils in  
/lib/modules/2.4.27-3-686-smp/build/drivers/net/wan/Makefile

./Setup: line 904: drivers/net/wan/Makefile.nex: No such file or directory
cat: drivers/net/wan/Makefile: No such file or directory
mv: cannot stat `drivers/net/wan/Makefile.nex': No such file or directory
grep: drivers/net/wan/Makefile: No such file or directory
Updating Abstr in  
/lib/modules/2.4.27-3-686-smp/build/drivers/net/wan/Makefile

./Setup: line 914: drivers/net/wan/Makefile.nex: No such file or directory
cat: drivers/net/wan/Makefile: No such file or directory
mv: cannot stat `drivers/net/wan/Makefile.nex': No such file or directory
grep: drivers/net/wan/Makefile: No such file or directory
Updating Syncppp in  
/lib/modules/2.4.27-3-686-smp/build/drivers/net/wan/Makefile

./Setup: line 924: drivers/net/wan/Makefile.nex: No such file or directory
cat: drivers/net/wan/Makefile: No such file or directory
mv: cannot stat `drivers/net/wan/Makefile.nex': No such file or directory
grep: drivers/net/wan/Makefile: No such file or directory
Updating MultPPP in  
/lib/modules/2.4.27-3-686-smp/build/drivers/net/wan/Makefile

./Setup: line 934: drivers/net/wan/Makefile.nex: No such file or directory
cat: drivers/net/wan/Makefile: No such file or directory
mv: cannot stat `drivers/net/wan/Makefile.nex': No such file or directory
grep: drivers/net/wan/Makefile: No such file or directory
Updating MultFR in  
/lib/modules/2.4.27-3-686-smp/build/drivers/net/wan/Makefile

./Setup: line 944: drivers/net/wan/Makefile.nex: No such file or directory
cat: drivers/net/wan/Makefile: No such file or directory
mv: cannot stat `drivers/net/wan/Makefile.nex': No such file or directory
cp: cannot stat `net/wanrouter/Makefile': No such file or directory
grep: net/wanrouter/Makefile: No such file or directory
./Setup: line 961: net/wanrouter/Makefile.nex: No such file or directory
cat: net/wanrouter/Makefile: No such file or directory
mv: cannot stat `net/wanrouter/Makefile.nex': No such file or directory
Updating af_wanpipe in  
/lib/modules/2.4.27-3-686-smp/build/net/wanrouter/Makefile

grep: net/wanrouter/Makefile: No such file or directory
./Setup: line 972: net/wanrouter/Makefile.nex: No such file or directory
cat: net/wanrouter/Makefile: No such file or directory
mv: cannot stat `net/wanrouter/Makefile.nex': No such file or directory
./Setup: line 975: net/wanrouter/Makefile.nex: No such file or directory
cat: net/wanrouter/Makefile: No such file or directory
mv: cannot stat `net/wanrouter/Makefile.nex': No such file or directory
Updating Waniface in  
/lib/modules/2.4.27-3-686-smp/build/net/wanrouter/Makefile

WANPIPE device drivers upgraded successfully!

Press [Enter] to continue...

What can you advise?

Regards,
Jarek
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Sangoma A102d and Asterisk on Debian 3.1.

2006-12-31 Thread Thomas Kenyon

Jarek Jarzebowski wrote:
Dnia 31-12-2006 o 16:17:19 Tzafrir Cohen [EMAIL PROTECTED] 
napisał(a):



On Sun, Dec 31, 2006 at 03:59:14PM +0100, Jarek Jarzebowski wrote:


Hi All,

is anybody using Sangoma A102d card with Asterisk on Debian 3.1?
I configure and install Sangoma wanpipe step by step based on Sangoma 
Wiki
and manuals but can not get success results. I suppose that it may be 
some

Debian specific case.


AFAIK, that procedure has been tested on Debian Sarge before.

What specific problems you have?



I use wanpipe-2.3.4-3. I run ./Setup install. After standard 2 frist 
question (answer 'y') I got:


Please specify absolute path name of your linux directory

(Press Enter for Default: /lib/modules/2.4.27-3-686-smp/build)

I press Enter. And got:

It looks like it is looking for the kernel source, have you installed 
the relevant packages?


IIRC, sarge puts them in /usr/src/kernel-source-x.x.xx-x   (replace X's 
with kernel version) if you have the source .debs installed.


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

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


Re: [asterisk-users] Sangoma A102d and Asterisk on Debian 3.1.

2006-12-31 Thread Jarek Jarzebowski
Dnia 31-12-2006 o 17:19:35 Thomas Kenyon [EMAIL PROTECTED]  
napisał(a):



Jarek Jarzebowski wrote:
Dnia 31-12-2006 o 16:17:19 Tzafrir Cohen [EMAIL PROTECTED]  
napisał(a):



On Sun, Dec 31, 2006 at 03:59:14PM +0100, Jarek Jarzebowski wrote:


Hi All,

is anybody using Sangoma A102d card with Asterisk on Debian 3.1?
I configure and install Sangoma wanpipe step by step based on Sangoma  
Wiki
and manuals but can not get success results. I suppose that it may be  
some

Debian specific case.


AFAIK, that procedure has been tested on Debian Sarge before.

What specific problems you have?

 I use wanpipe-2.3.4-3. I run ./Setup install. After standard 2 frist  
question (answer 'y') I got:

 Please specify absolute path name of your linux directory
 (Press Enter for Default: /lib/modules/2.4.27-3-686-smp/build)
 I press Enter. And got:

It looks like it is looking for the kernel source, have you installed  
the relevant packages?


IIRC, sarge puts them in /usr/src/kernel-source-x.x.xx-x   (replace X's  
with kernel version) if you have the source .debs installed.




My system details:

sip:/usr/src/wanpipe# uname -a
Linux sip 2.4.27-3-686-smp #1 SMP Tue Dec 5 23:12:28 UTC 2006 i686  
GNU/Linux


sip:/usr/src/wanpipe# aptitude search kernel | grep -i ^i
i A kernel-headers-2.4.27-3 - Header files related to Linux kernel  
versi
i   kernel-headers-2.4.27-3-686-smp - Linux 2.4.27 kernel headers for  
PPro/Celer
i   kernel-image-2.4.27-3-386   - Linux kernel image for version  
2.4.27 on 3
i   kernel-image-2.4.27-3-686-smp   - Linux kernel image for version  
2.4.27 on P

i A kernel-patch-debian-2.4.27  - Debian patches to Linux 2.4.27
i   kernel-source-2.4.27- Linux kernel source for version  
2.4.27 wit
i   kernel-tree-2.4.27  - Linux kernel source tree for  
building Debi

i   linux-kernel-headers- Linux Kernel Headers for development


sip:/usr/src/wanpipe# ll /usr/src/
total 59372
drwxr-xr-x  25 jarekj jarekj 4096 Dec 22 23:41 asterisk-1.2.14
-rw-r--r--   1 root   src10595184 Dec 15 21:51 asterisk-1.2.14.tar.gz
drwxr-xr-x   7 jarekj jarekj 4096 Dec 22 23:42 asterisk-addons-1.2.5
-rw-r--r--   1 root   src  756698 Oct 18 23:21  
asterisk-addons-1.2.5.tar.gz

drwxr-xr-x   3 jarekj jarekj 4096 Dec  7  2005 asterisk-sounds-1.2.1
-rw-r--r--   1 root   src 3249876 Mar 30  2006  
asterisk-sounds-1.2.1.tar.gz
-rw-r--r--   1 root   src 3362237 Dec 23 00:02  
hwec-utils-beta4-2.3.4.tgz

drwxr-xr-x   5 root   root   4096 Dec 22 23:34 kernel-headers-2.4.27-3
drwxr-xr-x   4 root   root   4096 Dec 22 23:34  
kernel-headers-2.4.27-3-686-smp

drwxr-xr-x   3 root   root   4096 Dec 31 12:49 kernel-patches
drwxr-xr-x  15 root   root   4096 Dec  5 09:44 kernel-source-2.4.27
-rw-r--r--   1 root   root   30978050 Dec  5 09:45  
kernel-source-2.4.27.tar.bz2

drwxr-xr-x   2 jarekj jarekj 4096 Dec 22 23:35 libpri-1.2.4
-rw-r--r--   1 root   src   76663 Oct 18 23:25 libpri-1.2.4.tar.gz
lrwxrwxrwx   1 root   src  20 Dec 31 10:23 linux -  
kernel-source-2.4.27

drwxr-xr-x  17 root   root   4096 Dec 31 17:07 wanpipe
-rw-r--r--   1 root   src10144210 Dec 22 23:57 wanpipe-2.3.4-3.tgz
lrwxrwxrwx   1 root   src  13 Dec 22 23:58 zaptel - zaptel-1.2.12
drwxr-xr-x   7 jarekj jarekj 4096 Dec 31 09:48 zaptel-1.2.12
-rw-r--r--   1 root   src 1487021 Dec 15 21:55 zaptel-1.2.12.tar.gz

sip:/usr/src/wanpipe# ll /lib/modules/2.4.27-3-686-smp/
total 436
lrwxrwxrwx  1 root root 40 Dec 22 23:34 build -  
/usr/src/kernel-headers-2.4.27-3-686-smp

drwxr-xr-x  2 root root   4096 Dec 22 23:26 initrd
drwxr-xr-x  8 root root   4096 Dec 22 23:26 kernel
drwxr-xr-x  3 root root   4096 Dec 31 09:45 misc
-rw-r--r--  1 root root 138039 Dec 31 12:11 modules.dep
-rw-r--r--  1 root root 31 Dec 31 12:11 modules.generic_string
-rw-r--r--  1 root root443 Dec 31 12:11 modules.ieee1394map
-rw-r--r--  1 root root   8038 Dec 31 12:11 modules.isapnpmap
-rw-r--r--  1 root root 29 Dec 31 12:11 modules.parportmap
-rw-r--r--  1 root root  84967 Dec 31 12:11 modules.pcimap
-rw-r--r--  1 root root 24 Dec 31 12:11 modules.pnpbiosmap
-rw-r--r--  1 root root 169765 Dec 31 12:11 modules.usbmap

Regards,
Jarek
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Sangoma A102d and Asterisk on Debian 3.1.

2006-12-31 Thread Tzafrir Cohen
On Sun, Dec 31, 2006 at 04:19:35PM +, Thomas Kenyon wrote:
 Jarek Jarzebowski wrote:
 Dnia 31-12-2006 o 16:17:19 Tzafrir Cohen [EMAIL PROTECTED] 
 napisał(a):
 
 On Sun, Dec 31, 2006 at 03:59:14PM +0100, Jarek Jarzebowski wrote:
 
 Hi All,
 
 is anybody using Sangoma A102d card with Asterisk on Debian 3.1?
 I configure and install Sangoma wanpipe step by step based on Sangoma 
 Wiki
 and manuals but can not get success results. I suppose that it may be 
 some
 Debian specific case.
 
 AFAIK, that procedure has been tested on Debian Sarge before.
 
 What specific problems you have?
 
 
 I use wanpipe-2.3.4-3. I run ./Setup install. After standard 2 frist 
 question (answer 'y') I got:
 
 Please specify absolute path name of your linux directory
 
 (Press Enter for Default: /lib/modules/2.4.27-3-686-smp/build)
 
 I press Enter. And got:
 
 It looks like it is looking for the kernel source, have you installed 
 the relevant packages?
 
 IIRC, sarge puts them in /usr/src/kernel-source-x.x.xx-x   (replace X's 
 with kernel version) if you have the source .debs installed.

Not good enough. You need a configured kernel source. This mean copying
the relevan .config file into it, run 'make oldconfig' and probably even
a bit more. Generally it is preffered to use the
kernel-headers/linux-headers packages for building modules.


Does it actually need the full kernel source? Isn't
kernel-headers-`uname -r` (linux-headers-... on versions later than
Sarge) good enough? Do you have that one installed?

-- 
   Tzafrir Cohen   
icq#16849755jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]   
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Sangoma A102d and Asterisk on Debian 3.1.

2006-12-31 Thread Jarek Jarzebowski
Dnia 31-12-2006 o 17:31:18 Tzafrir Cohen [EMAIL PROTECTED]  
napisał(a):



On Sun, Dec 31, 2006 at 04:19:35PM +, Thomas Kenyon wrote:

Jarek Jarzebowski wrote:
Dnia 31-12-2006 o 16:17:19 Tzafrir Cohen [EMAIL PROTECTED]
napisał(a):

On Sun, Dec 31, 2006 at 03:59:14PM +0100, Jarek Jarzebowski wrote:

Hi All,

is anybody using Sangoma A102d card with Asterisk on Debian 3.1?
I configure and install Sangoma wanpipe step by step based on Sangoma
Wiki
and manuals but can not get success results. I suppose that it may be
some
Debian specific case.

AFAIK, that procedure has been tested on Debian Sarge before.

What specific problems you have?


I use wanpipe-2.3.4-3. I run ./Setup install. After standard 2 frist
question (answer 'y') I got:

Please specify absolute path name of your linux directory

(Press Enter for Default: /lib/modules/2.4.27-3-686-smp/build)

I press Enter. And got:

It looks like it is looking for the kernel source, have you installed
the relevant packages?

IIRC, sarge puts them in /usr/src/kernel-source-x.x.xx-x   (replace X's
with kernel version) if you have the source .debs installed.


Not good enough. You need a configured kernel source. This mean copying
the relevan .config file into it, run 'make oldconfig' and probably even
a bit more. Generally it is preffered to use the
kernel-headers/linux-headers packages for building modules.


Does it actually need the full kernel source? Isn't
kernel-headers-`uname -r` (linux-headers-... on versions later than
Sarge) good enough? Do you have that one installed?



You mean that /usr/src/linux should point to /usr/src/linux-headers-`uname  
-r` ?


Jarek

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

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


Re: [asterisk-users] Sangoma A102d and Asterisk on Debian 3.1.

2006-12-31 Thread Tzafrir Cohen
On Sun, Dec 31, 2006 at 05:08:26PM +0100, Jarek Jarzebowski wrote:
 Dnia 31-12-2006 o 16:17:19 Tzafrir Cohen [EMAIL PROTECTED]  
 napisał(a):
 
 On Sun, Dec 31, 2006 at 03:59:14PM +0100, Jarek Jarzebowski wrote:
 
 Hi All,
 
 is anybody using Sangoma A102d card with Asterisk on Debian 3.1?
 I configure and install Sangoma wanpipe step by step based on Sangoma  
 Wiki
 and manuals but can not get success results. I suppose that it may be  
 some
 Debian specific case.
 
 AFAIK, that procedure has been tested on Debian Sarge before.
 
 What specific problems you have?
 
 
 I use wanpipe-2.3.4-3. I run ./Setup install. After standard 2 frist  
 question (answer 'y') I got:
 
 Please specify absolute path name of your linux directory
 
 (Press Enter for Default: /lib/modules/2.4.27-3-686-smp/build)
 
 I press Enter. And got:
 
 Upgrading WANPIPE kernel documentation ...Done.
 
 
 Upgrading WANPIPE kernel headers ...Done.
 
 Upgrading WANPIPE kernel drivers ...Done.
 
 cp: cannot stat `drivers/net/wan/Makefile': No such file or directory
 grep: drivers/net/wan/Makefile: No such file or directory
 Updating T1/E1 in  
 /lib/modules/2.4.27-3-686-smp/build/drivers/net/wan/Makefile
 ./Setup: line 895: drivers/net/wan/Makefile.nex: No such file or directory
 cat: drivers/net/wan/Makefile: No such file or directory

drivers/net/wan/Makefile does not exist in the kernel-headers package of
2.4 (e.g: your 2.4.27-3-686-smp) . It does seem to exist in the
kernel-headers packagers of 2.6 .

So one thing to try: use kernel 2.6:

  apt-get install kernel-image-2.6-686-smp kernel-headers-2.6-686-smp

and reboot to that kernel.

Note, however that this is just one educated guess of me.

-- 
   Tzafrir Cohen   
icq#16849755jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]   
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] Sangoma A102d and Asterisk on Debian 3.1.

2006-12-31 Thread Jarek Jarzebowski
Dnia 31-12-2006 o 17:39:10 Tzafrir Cohen [EMAIL PROTECTED]  
napisał(a):



On Sun, Dec 31, 2006 at 05:08:26PM +0100, Jarek Jarzebowski wrote:

Dnia 31-12-2006 o 16:17:19 Tzafrir Cohen [EMAIL PROTECTED]
napisał(a):

On Sun, Dec 31, 2006 at 03:59:14PM +0100, Jarek Jarzebowski wrote:

Hi All,

is anybody using Sangoma A102d card with Asterisk on Debian 3.1?
I configure and install Sangoma wanpipe step by step based on Sangoma
Wiki
and manuals but can not get success results. I suppose that it may be
some
Debian specific case.

AFAIK, that procedure has been tested on Debian Sarge before.

What specific problems you have?


I use wanpipe-2.3.4-3. I run ./Setup install. After standard 2 frist
question (answer 'y') I got:

Please specify absolute path name of your linux directory

(Press Enter for Default: /lib/modules/2.4.27-3-686-smp/build)

I press Enter. And got:

Upgrading WANPIPE kernel documentation ...Done.


Upgrading WANPIPE kernel headers ...Done.

Upgrading WANPIPE kernel drivers ...Done.

cp: cannot stat `drivers/net/wan/Makefile': No such file or directory
grep: drivers/net/wan/Makefile: No such file or directory
Updating T1/E1 in
/lib/modules/2.4.27-3-686-smp/build/drivers/net/wan/Makefile
./Setup: line 895: drivers/net/wan/Makefile.nex: No such file or  
directory

cat: drivers/net/wan/Makefile: No such file or directory


drivers/net/wan/Makefile does not exist in the kernel-headers package of
2.4 (e.g: your 2.4.27-3-686-smp) . It does seem to exist in the
kernel-headers packagers of 2.6 .

So one thing to try: use kernel 2.6:

  apt-get install kernel-image-2.6-686-smp kernel-headers-2.6-686-smp

and reboot to that kernel.

Note, however that this is just one educated guess of me.



OK. I will try that and give an answer.

Regards,
Jarek
___
--Bandwidth and Colocation provided by Easynews.com --

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