Re: RE: RE: RE: [Asterisk-Users] Very bad quality withAVMFritz!cardPCIandchan_capi

2006-07-13 Thread Benjamin Sebbah


- Original Message -
From: Dave Cotton [EMAIL PROTECTED]
Date: Tuesday, July 11, 2006 9:55 am
Subject: RE: RE: RE: [Asterisk-Users] Very bad quality
withAVMFritz!cardPCIandchan_capi

 On Tue, 2006-07-11 at 16:38 +1000, James Harper wrote:
   
   So I've just had the time to swap and disable usb in my bios 
 and it
   changed nothing the quality is still the same (which means 
 horrible).  How could I check where the problem comes from?
 
 I had absolutely awful sound on my AVM Fritz! with chan_capi until
 someone pointed me in the direction of the codec setting in 
 capi.conf 
 
 ;ulaw=yes;set this, if you live in u-law world instead of a-
 law
 I thought I am in the u-law world but evidently I am not.  
 -- 
 Dave Cotton [EMAIL PROTECTED]

THanks for the hint I tried to switch to ulaw and the quality is even
worse, unfortunately I have to find something else...

Ben
___
--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: RE: RE: RE: [Asterisk-Users] Very bad quality withAVMFritz!cardPCIandchan_capi

2006-07-13 Thread Benjamin Sebbah


- Original Message -
From: James Harper [EMAIL PROTECTED]
Date: Tuesday, July 11, 2006 8:38 am
Subject: RE: RE: RE: [Asterisk-Users] Very bad quality
withAVMFritz!cardPCIandchan_capi

  
  So I've just had the time to swap and disable usb in my bios and it
  changed nothing the quality is still the same (which means 
 horrible). How could I check where the problem comes from?
  
  Ben
 
 Hmmm... that's a shame. Apologies if you have already specified this,
 but what are the versions of chan_capi and the Linuux kernel?
 
 Have you tried mISDN? (again, apologies if you've already mentioned
 this).
 
 James


chan_capi version: chan_capi-cm-0.6.5
My asterisk is running on ubuntu:
[EMAIL PROTECTED]:/usr/src# uname -a
Linux sofia 2.6.12-9-386 #1 Mon Oct 10 13:14:36 BST 2005 i686 GNU/Linux

I'd like to try misdn but I don't feel like recompiling my kernerl
(asterisk is used in my company as main and only PBX). Maybe there is a
way to use it without?
___
--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: RE: [asterisk-users] Asterisk with ISDN Fritz PCI card

2006-07-10 Thread Benjamin Sebbah
Hi,

Maybe this is dirty but this is how I did it (with capi but you can
probably do it with anything you want):


***Suppress the Hisax drivers in conflict with capi:

[EMAIL PROTECTED]:~# mv
/lib/modules/2.6.12-9-386/kernel/drivers/isdn/hisax/hisax.ko
/lib/modules/2.6.12-9-386/kernel/drivers/isdn/hisax/hisax.ko.old
[EMAIL PROTECTED]:~# mv
/lib/modules/2.6.12-9-386/kernel/drivers/isdn/hisax/hisax.fcpcipnp.ko
/lib/modules/2.6.12-9-386/kernel/drivers/isdn/hisax/hisax.fcpcipnp.ko.old
[EMAIL PROTECTED]:~# mv
/lib/modules/2.6.12-9-386/kernel/drivers/isdn/i4l/isdn.ko
/lib/modules/2.6.12-9-386/kernel/drivers/isdn/i4l/isdn.ko.old
[EMAIL PROTECTED]:~# mv
/lib/modules/2.6.12-9-386/kernel/drivers/isdn/i4l/isdn_bsdcomp.ko
/lib/modules/2.6.12-9-386/kernel/drivers/isdn/i4l/isdn_bsdcomp.ko.old

***Download http://www.avm.de/ftp/cardware/fritzcrd.pci/linux and make,
make install


***move the newly created modules to the good place from
/lib/modules/2.6.12-10-386/extra/ to
/lib/modules/2.6.12-10-386/kernel/drivers

*** add capi and fcpci to /etc/modules (now when you reboot your machine
the modules are loaded)

then
***apt-get the libraries for capi
# apt-get install libcapi20-dev

***download chan_capi on ftp://ftp.chan-capi.org/chan-capi and make,make
install, make install_config

but this probably works with misdn or anything else.

Tell me if this works or if it doesn't (I'm on ubuntu not debian but
this should be almost the same)

Good luck,

Ben


- Original Message -
From: Guy Corbaz [EMAIL PROTECTED]
Date: Sunday, July 9, 2006 2:03 pm
Subject: RE: [asterisk-users] Asterisk with ISDN Fritz PCI card

 Hi,
 
 Thank you for the suggestion.
 
 I tried to use mISDN first, then CAPI and now I'm trying I4L.
 
 As I'm using Debian, I can not load the FRITZ drivers. I got the 
 source 
 from the official site and recompiled it, but there is a strange 
 message in 
 the log and the capi drivers are not loaded.
 
 The problem is more linked to drivers that Asterisk. If you have 
 any tips 
 to get this up and running, I would be very happy as my search on 
 the 
 Internet didn't allowed me to solve that issue.
 
 Bests regards, Guy.
 
 At 11:25 09.07.2006 +1000, you wrote:
 What are you using (misdn, capi, something else?) and what 
 problems are 
 you having?
 
 I submitted a patch recently to mISDN which should have fixed a 
 problem on 
 hangup, if that's the problem you are having then try the latest 
 cvs 
 mqueue branch of mISDN.
 
 James
 
   -Original Message-
   From: [EMAIL PROTECTED] [mailto:asterisk-
 users-
   [EMAIL PROTECTED] On Behalf Of Guy Corbaz
   Sent: Saturday, 8 July 2006 23:59
   To: asterisk-users@lists.digium.com
   Subject: [asterisk-users] Asterisk with ISDN Fritz PCI card
  
   Dear all,
  
   I'm desperately trying to get Asterisk working with a FRITZ PCI 
 card on
   Debian with kernel 2.6.15.
  
   I'm wondering if anybody has such a working installation.
  
   Thank you for your help, Guy.
  
  
   
   Guy Corbaz
   ch. du Châtaignier 2
   1052 Le Mont
   Switzerland
   phone:+41 21 652 26 05
   mobile: +41 79 420 26 06
   e-mail: [EMAIL PROTECTED]
  
   ___
   --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
 
 
 Guy Corbaz
 ch. du Châtaignier 2
 1052 Le Mont
 Switzerland
 phone:+41 21 652 26 05
 mobile: +41 79 420 26 06
 e-mail: [EMAIL PROTECTED] 
 
 ___
 --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: RE: RE: [Asterisk-Users] Very bad quality with AVMFritz!cardPCIandchan_capi

2006-07-10 Thread Benjamin Sebbah
  Hi everyone,
  
  I have Asterisk SVN-trunk-r7498 running for a few months and
I'm quite
  happy with it. However, I am experiencing a quality issue
with my AVM
  Fritz!card PCI which is used with chan_capi. When somebody
calls me on
  this line he hears a lot of noise and I hear scratches and 
  plops. It
  is very annoying. Below is is my /etc/asterisk/capi.conf 
  I've tried to play with echotail and echosquelch but the
quality is
  always terrible. 
  
  Any suggestion is welcomed.
  Ben


 I can see that IRQ 17 is shared between eth0 and my fritz!card
but I
 don't know if it changes anything:
 
 Ben

Can you try it (or eth0) in a different slot (or change IRQ's in the
BIOS if possible) to see if it makes any difference? That's the
only way
to know for sure, anything else is just speculation :)
   
James


   Unfortunately I can't, because the LAN board is integrated and I 
   haveno
   PCI device left anymore.
  
   Ben 

  You seem to have 2 wctdm adapters. Can you swap one of them with the
fritz card?
  I'll try the usb trick first, and then if it doesn't work I'll try to
  swap one of the TDM400 with the fritz. But I can't do it now because
  people in my company won't be able to phone while I do that, which is
  completely impossible.
  
  Ben 

 Yep. It's always the users causing problems!
 
 Good luck!
 
 James

So I've just had the time to swap and disable usb in my bios and it
changed nothing the quality is still the same (which means horrible).
How could I check where the problem comes from?

Ben
___
--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] Very bad quality with AVM Fritz!card PCI and chan_capi

2006-06-29 Thread Benjamin Sebbah
Hi everyone,

I have Asterisk SVN-trunk-r7498 running for a few months and I'm quite
happy with it. However, I am experiencing a quality issue with my AVM
Fritz!card PCI which is used with chan_capi. When somebody calls me on
this line he hears a lot of noise and I hear scratches and plops. It
is very annoying. Below is is my /etc/asterisk/capi.conf 
I've tried to play with echotail and echosquelch but the quality is
always terrible. 

Any suggestion is welcomed.

Thanks,

Ben

/etc/asterisk/capi.conf
[general]
rxgain=0.5
txgain=0.5
language=fr  ;set default language
;ulaw=yes;set this, if you live in u-law world instead of a-law
[ISDN1]

isdnmode=DID ;'MSN' (point-to-multipoint) or 'DID' (direct inward dial)
 ;when using NT-mode, 'DID' should be set in any case
incomingmsn=*;allow incoming calls to this list of MSNs/DIDs, * = any
controller=1 ;capi controller number to use
group=9  ;dialout group
softdtmf=on  ;enable/disable software dtmf detection, recommended
for AVM cards
relaxdtmf=on ;in addition to softdtmf, you can use relaxed dtmf
detection
accountcode= ;Asterisk accountcode to use in CDRs
context=capi-in  ;context for incoming calls
;echosquelch=2   ;_VERY_PRIMITIVE_ echo suppression
echocancel=yes  ;EICON DIVA SERVER (CAPI) echo cancelation
 ;(possible values: 'no', 'yes', 'force', 'g164', 'g165')
echocancelold=no ;use facility selector 6 instead of correct 8
(necessary for older eicon drivers)
echotail=128 ;echo cancel tail setting
devices=2;number of concurrent calls on this controller
 ;(2 makes sense for single BRI, 30 for PRI)

___
--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] Very bad quality with AVM Fritz!card PCI and chan_capi

2006-06-29 Thread Benjamin Sebbah


- Original Message -
From: Armin Schindler [EMAIL PROTECTED]
Date: Thursday, June 29, 2006 11:48 am
Subject: Re: [Asterisk-Users] Very bad quality with AVM Fritz!card PCI
and chan_capi

 On Thu, 29 Jun 2006, Benjamin Sebbah wrote:
  Hi everyone,
  
  I have Asterisk SVN-trunk-r7498 running for a few months and I'm 
 quite happy with it. However, I am experiencing a quality issue 
 with my AVM
  Fritz!card PCI which is used with chan_capi. When somebody calls 
 me on
  this line he hears a lot of noise and I hear scratches and 
 plops. It
  is very annoying. Below is is my /etc/asterisk/capi.conf 
  I've tried to play with echotail and echosquelch but the quality is
  always terrible. 
  
  Any suggestion is welcomed.
 
 echotail is for hardare-echo-cancel only (e.g. Eicon Diva Server) 
 and does 
 not change anything for AVM card.
 Did you try to disable echosquelch?
 
 Why did you set rx/txgain to 0.5 ? Most people use 0.8, but I use 
 no gain by setting it to 1.0, which works here good.
 
 Armin

Thanks for the answer, I did try to disable equosquelch but it doesn't
change anything (by the way it is disabled right now). To see if the
noise was a gain issue I tried to modify rx/txgain to see if it changed
anything but it didn't so I let those two values at 0.5

Any other idea?

Ben





 
  Thanks,
  
  Ben
  
  /etc/asterisk/capi.conf
  [general]
  rxgain=0.5
  txgain=0.5
  language=fr  ;set default language
  ;ulaw=yes;set this, if you live in u-law world instead of 
 a-law
  [ISDN1]
  
  isdnmode=DID ;'MSN' (point-to-multipoint) or 'DID' (direct 
 inward dial)
   ;when using NT-mode, 'DID' should be set in any 
 case incomingmsn=*;allow incoming calls to this list of 
 MSNs/DIDs, * = any
  controller=1 ;capi controller number to use
  group=9  ;dialout group
  softdtmf=on  ;enable/disable software dtmf detection, 
 recommended for AVM cards
  relaxdtmf=on ;in addition to softdtmf, you can use relaxed dtmf
  detection
  accountcode= ;Asterisk accountcode to use in CDRs
  context=capi-in  ;context for incoming calls
  ;echosquelch=2   ;_VERY_PRIMITIVE_ echo suppression
  echocancel=yes  ;EICON DIVA SERVER (CAPI) echo cancelation
   ;(possible values: 'no', 'yes', 'force', 'g164', 
 'g165') echocancelold=no ;use facility selector 6 instead of 
 correct 8
  (necessary for older eicon drivers)
  echotail=128 ;echo cancel tail setting
  devices=2;number of concurrent calls on this controller
   ;(2 makes sense for single BRI, 30 for PRI)
  
  ___
  --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
 
___
--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] Very bad quality with AVM Fritz!card PCI and chan_capi

2006-06-29 Thread Benjamin Sebbah

 On Thu, 29 Jun 2006, Benjamin Sebbah wrote:
  - Original Message -
  From: Armin Schindler [EMAIL PROTECTED]
  Date: Thursday, June 29, 2006 11:48 am
  Subject: Re: [Asterisk-Users] Very bad quality with AVM 
 Fritz!card PCI
  and chan_capi
  
   On Thu, 29 Jun 2006, Benjamin Sebbah wrote:
Hi everyone,

I have Asterisk SVN-trunk-r7498 running for a few months and 
 I'm 
   quite happy with it. However, I am experiencing a quality 
 issue 
   with my AVM
Fritz!card PCI which is used with chan_capi. When somebody 
 calls 
   me on
this line he hears a lot of noise and I hear scratches and 
   plops. It
is very annoying. Below is is my /etc/asterisk/capi.conf 
I've tried to play with echotail and echosquelch but the 
 quality is
always terrible. 

Any suggestion is welcomed.
   
   echotail is for hardare-echo-cancel only (e.g. Eicon Diva 
 Server) 
   and does 
   not change anything for AVM card.
   Did you try to disable echosquelch?
   
   Why did you set rx/txgain to 0.5 ? Most people use 0.8, but I 
 use 
   no gain by setting it to 1.0, which works here good.
   
   Armin
  
  Thanks for the answer, I did try to disable equosquelch but it 
 doesn't change anything (by the way it is disabled right now). To 
 see if the
  noise was a gain issue I tried to modify rx/txgain to see if it 
 changed anything but it didn't so I let those two values at 0.5
  
  Any other idea?
 
 Maybe the card/driver has a problem. IRQ issue?
 
 Armin

That is possible, how could I check that?
I can see that IRQ 17 is shared between eth0 and my fritz!card but I
don't know if it changes anything:

~# cat /proc/interrupts
   CPU0
  0: 1458224031IO-APIC-edge  timer
  1:953IO-APIC-edge  i8042
  7:  0IO-APIC-edge  parport0
  8:  1IO-APIC-edge  rtc
  9:  1   IO-APIC-level  acpi
 14: 689691IO-APIC-edge  ide0
 15: 24IO-APIC-edge  ide1
 16: 1457845530   IO-APIC-level  uhci_hcd:usb1, wctdm
 17:  721402147   IO-APIC-level  fcpci, eth0
 18: 1457844720   IO-APIC-level  uhci_hcd:usb3, wctdm
 19:  0   IO-APIC-level  uhci_hcd:usb2
 23:  0   IO-APIC-level  ehci_hcd:usb4
NMI:  0
LOC: 1458419318
ERR:  0
MIS:  0


Benjamin

 
  
   
Thanks,

Ben

/etc/asterisk/capi.conf
[general]
rxgain=0.5
txgain=0.5
language=fr  ;set default language
;ulaw=yes;set this, if you live in u-law world 
 instead of 
   a-law
[ISDN1]

isdnmode=DID ;'MSN' (point-to-multipoint) or 'DID' 
 (direct 
   inward dial)
 ;when using NT-mode, 'DID' should be set in 
 any 
   case incomingmsn=*;allow incoming calls to this list of 
   MSNs/DIDs, * = any
controller=1 ;capi controller number to use
group=9  ;dialout group
softdtmf=on  ;enable/disable software dtmf detection, 
   recommended for AVM cards
relaxdtmf=on ;in addition to softdtmf, you can use 
 relaxed dtmf
detection
accountcode= ;Asterisk accountcode to use in CDRs
context=capi-in  ;context for incoming calls
;echosquelch=2   ;_VERY_PRIMITIVE_ echo suppression
echocancel=yes  ;EICON DIVA SERVER (CAPI) echo cancelation
 ;(possible values: 'no', 'yes', 'force', 
 'g164', 
   'g165') echocancelold=no ;use facility selector 6 instead of 
   correct 8
(necessary for older eicon drivers)
echotail=128 ;echo cancel tail setting
devices=2;number of concurrent calls on this controller
 ;(2 makes sense for single BRI, 30 for PRI)

___
--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
   
  ___
  --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
 
___
--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] Very bad quality with AVM Fritz!card PCI andchan_capi

2006-06-29 Thread Benjamin Sebbah

  That is possible, how could I check that?
  I can see that IRQ 17 is shared between eth0 and my fritz!card 
 but I
  don't know if it changes anything:
 
 Can you try it (or eth0) in a different slot (or change IRQ's in the
 BIOS if possible) to see if it makes any difference? That's the 
 only way
 to know for sure, anything else is just speculation :)
 
 James

Unfortunately I can't, because the LAN board is integrated and I have no
PCI device left anymore.



  
  ~# cat /proc/interrupts
 CPU0
0: 1458224031IO-APIC-edge  timer
1:953IO-APIC-edge  i8042
7:  0IO-APIC-edge  parport0
8:  1IO-APIC-edge  rtc
9:  1   IO-APIC-level  acpi
   14: 689691IO-APIC-edge  ide0
   15: 24IO-APIC-edge  ide1
   16: 1457845530   IO-APIC-level  uhci_hcd:usb1, wctdm
   17:  721402147   IO-APIC-level  fcpci, eth0
   18: 1457844720   IO-APIC-level  uhci_hcd:usb3, wctdm
   19:  0   IO-APIC-level  uhci_hcd:usb2
   23:  0   IO-APIC-level  ehci_hcd:usb4
  NMI:  0
  LOC: 1458419318
  ERR:  0
  MIS:  0
  
  
  Benjamin
  
  
   

  Thanks,
 
  Ben
 
  /etc/asterisk/capi.conf
  [general]
  rxgain=0.5
  txgain=0.5
  language=fr  ;set default language
  ;ulaw=yes;set this, if you live in u-law world
   instead of
 a-law
  [ISDN1]
 
  isdnmode=DID ;'MSN' (point-to-multipoint) or 'DID'
   (direct
 inward dial)
   ;when using NT-mode, 'DID' should be set in
   any
 case incomingmsn=*;allow incoming calls to this list of
 MSNs/DIDs, * = any
  controller=1 ;capi controller number to use
  group=9  ;dialout group
  softdtmf=on  ;enable/disable software dtmf detection,
 recommended for AVM cards
  relaxdtmf=on ;in addition to softdtmf, you can use
   relaxed dtmf
  detection
  accountcode= ;Asterisk accountcode to use in CDRs
  context=capi-in  ;context for incoming calls
  ;echosquelch=2   ;_VERY_PRIMITIVE_ echo suppression
  echocancel=yes  ;EICON DIVA SERVER (CAPI) echo cancelation
   ;(possible values: 'no', 'yes', 'force',
   'g164',
 'g165') echocancelold=no ;use facility selector 6 instead of
 correct 8
  (necessary for older eicon drivers)
  echotail=128 ;echo cancel tail setting
  devices=2;number of concurrent calls on this
 controller
   ;(2 makes sense for single BRI, 30 for PRI)
 

___
--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: RE: [Asterisk-Users] Very bad quality with AVM Fritz!cardPCIandchan_capi

2006-06-29 Thread Benjamin Sebbah
 You seem to have 2 wctdm adapters. Can you swap one of them with the
 fritz card?
 
 James

 If you do not use USB then I would suggest to disable this in the 
 bios.  
 
 Henk
 


I'll try the usb trick first, and then if it doesn't work I'll try to
swap one of the TDM400 with the fritz. But I can't do it now because
people in my company won't be able to phone while I do that, which is
completely impossible.

Thanks.

Ben
___
--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] Asterisk voicemail problem with isdn avm fritz!card

2006-06-19 Thread Benjamin Sebbah
Hello everyone,

I have Asterisk SVN-trunk-r7498 installed on a server (celeron 2.4 Ghz,
256MB) with a TDM40b a TDM04b and an avm fritz!card pci. 
I experience a problem with voicemail: my messages are good unless the
incoming call comes from isdn, which means via the avm fritz!card. In
this case (and in this case only) the message is disjointed and I can
hear at most 1 second out of a 1 minute message.
If the message comes from TDM400 then the message is perfect (even
though I still have a problem to detect the end of the call but that's
no big deal)
If the incoming call is answered (and not sent to voicemail because busy
or unavail) the sound is perfect.

I hope you'll be able to help me.

Thanks

Benjamin SEBBAH
ADUNEO France

Here are my config files:
/etc/asterisk/capi.conf
[general]
nationalprefix=0
internationalprefix=00
rxgain=0.8
txgain=0.8
language=fr  ;set default language


[ISDN1]  ;this example interface gets name 'ISDN1' and may be any
 ;name not starting with 'g' or 'contr'.
isdnmode=DID ;'MSN' (point-to-multipoint) or 'DID' (direct inward dial)
 ;when using NT-mode, 'DID' should be set in any case
incomingmsn=*;allow incoming calls to this list of MSNs/DIDs, * = any
controller=1 ;capi controller number to use
group=9  ;dialout group
softdtmf=on  ;enable/disable software dtmf detection, recommended
for AVM cards
relaxdtmf=on ;in addition to softdtmf, you can use relaxed dtmf
detection
accountcode= ;Asterisk accountcode to use in CDRs
context=capi-in  ;context for incoming calls
echosquelch=1   ;_VERY_PRIMITIVE_ echo suppression
echocancelold=yes;use facility selector 6 instead of correct 8
(necessary for older eicon drivers)
echotail=64 ;echo cancel tail setting
devices=2;number of concurrent calls on this controller
 ;(2 makes sense for single BRI, 30 for PRI)



and the interesting lines from /etc/asterisk/extensions.conf:
[general]
static=yes
writeprotect=no
autofallthrough=yes
clearglobalvars=no
priorityjumping=no

[globals]
PIERRE=Zap/1
MARC=SIP/marc
PATRICK=Zap/3
PROSPECT=Zap/2
OPENSPACE=Zap/4
FT_FREE=Zap/5
FT_ALICE=Zap/6
VOIP_FREE=Zap/7
VOIP_ALICE=Zap/8
NUMERIS=CAPI/ISDN1

[macro-repondeur]
;   ${ARG1} - Extension  (we could have used ${MACRO_EXTEN} here as well
;   ${ARG2} - Device(s) to ring
; 
exten = s,1,Dial(${ARG2},15,rWw)   ; Ring the interface, 
15 seconds maximum
exten = s,2,Goto(s-${DIALSTATUS},1); Jump based on status
(NOANSWER,BUSY,CHANUNAVAIL,CONGESTION,ANSWER)
exten = s-NOANSWER,1,Voicemail(u${ARG1})   ; If unavailable, send to
voicemail w/ unavail announce
;exten = s-NOANSWER,2,Goto(default,s,1); If they press #, 
return to start
exten = s-BUSY,1,Voicemail(b${ARG1})   ; If busy, send to voicemail w/
busy announce
;exten = s-BUSY,2,Goto(default,s,1); If they press #, return to 
start
exten = _s-.,1,Goto(s-NOANSWER,1)  ; Treat anything else 
as no answer
exten = a,1,VoicemailMain(${ARG1}) ; If they press *, send the user
into VoicemailMain

[capi-in]

;standard: fait tout sonner
exten = 3090,1,Answer;
;exten = 3090,2,Macro(repondeur,8427,${OPENSPACE}${MARC}${PIERRE});
exten = 3090,2,Macro(repondeur,8427,${OPENSPACE}${PIERRE});


;Service technique
exten = 3091,1,Answer;
;exten = 3091,2,Macro(repondeur,3091,${OPENSPACE}${MARC});
exten = 3091,2,Macro(repondeur,3091,${OPENSPACE});


;Service commercial
exten = 3092,1,Answer;
exten = 3092,2,Macro(repondeur,3092,${PATRICK});


;Direction technique
exten = 3093,1,Answer;
;exten = 3093,2,Macro(repondeur,3093,${MARC});
exten = 3093,2,Macro(repondeur,3093,${OPENSPACE});


;non assigne pour le moment fait sonner uniquement le DECT
exten = 3094,1,Answer;
exten = 3094,2,Macro(repondeur,3094,${OPENSPACE});

___
--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] Asterisk voicemail problem with isdn avm fritz!card

2006-06-19 Thread Benjamin Sebbah


- Original Message -
From: Armin Schindler [EMAIL PROTECTED]
Date: Monday, June 19, 2006 1:48 pm
Subject: Re: [Asterisk-Users] Asterisk voicemail problem with isdn avm
fritz!card

 On Mon, 19 Jun 2006, Benjamin Sebbah wrote:
  Hello everyone,
  
  I have Asterisk SVN-trunk-r7498 installed on a server (celeron 
 2.4 Ghz,
  256MB) with a TDM40b a TDM04b and an avm fritz!card pci. 
  I experience a problem with voicemail: my messages are good 
 unless the
  incoming call comes from isdn, which means via the avm 
 fritz!card. In
  this case (and in this case only) the message is disjointed and I 
 can hear at most 1 second out of a 1 minute message.
  If the message comes from TDM400 then the message is perfect (even
  though I still have a problem to detect the end of the call but 
 that's no big deal)
  If the incoming call is answered (and not sent to voicemail 
 because busy
  or unavail) the sound is perfect.
 
 I never heard of such a problem before. Can you please create a log 
 of such 
 a call with
  set verbose 9
  capi debug
 (might be big)
 
 Armin
 
Actually I have just found a solution:

in capi.conf I've changed:
rxgain=0.8
txgain=0.8
echosquelch=1
echocancelold=yes

to 

rxgain=1
txgain=0.8
echosquelch=2
echocancelold=no

and this works. Thanks for your help.

  I hope you'll be able to help me.
  
  Thanks
  
  Benjamin SEBBAH
  ADUNEO France
  
  Here are my config files:
  /etc/asterisk/capi.conf
  [general]
  nationalprefix=0
  internationalprefix=00
  rxgain=0.8
  txgain=0.8
  language=fr  ;set default language
  
  
  [ISDN1]  ;this example interface gets name 'ISDN1' and 
 may be any
   ;name not starting with 'g' or 'contr'.
  isdnmode=DID ;'MSN' (point-to-multipoint) or 'DID' (direct 
 inward dial)
   ;when using NT-mode, 'DID' should be set in any 
 case incomingmsn=*;allow incoming calls to this list of 
 MSNs/DIDs, * = any
  controller=1 ;capi controller number to use
  group=9  ;dialout group
  softdtmf=on  ;enable/disable software dtmf detection, 
 recommended for AVM cards
  relaxdtmf=on ;in addition to softdtmf, you can use relaxed dtmf
  detection
  accountcode= ;Asterisk accountcode to use in CDRs
  context=capi-in  ;context for incoming calls
  echosquelch=1   ;_VERY_PRIMITIVE_ echo suppression
  echocancelold=yes;use facility selector 6 instead of correct 8
  (necessary for older eicon drivers)
  echotail=64 ;echo cancel tail setting
  devices=2;number of concurrent calls on this controller
   ;(2 makes sense for single BRI, 30 for PRI)
  
  
  
  and the interesting lines from /etc/asterisk/extensions.conf:
  [general]
  static=yes
  writeprotect=no
  autofallthrough=yes
  clearglobalvars=no
  priorityjumping=no
  
  [globals]
  PIERRE=Zap/1
  MARC=SIP/marc
  PATRICK=Zap/3
  PROSPECT=Zap/2
  OPENSPACE=Zap/4
  FT_FREE=Zap/5
  FT_ALICE=Zap/6
  VOIP_FREE=Zap/7
  VOIP_ALICE=Zap/8
  NUMERIS=CAPI/ISDN1
  
  [macro-repondeur]
  ;   ${ARG1} - Extension  (we could have used ${MACRO_EXTEN} here 
 as well
  ;   ${ARG2} - Device(s) to ring
  ; 
  exten = s,1,Dial(${ARG2},15,rWw)   ; Ring the 
 interface, 15 seconds maximum
  exten = s,2,Goto(s-${DIALSTATUS},1); Jump based on status
  (NOANSWER,BUSY,CHANUNAVAIL,CONGESTION,ANSWER)
  exten = s-NOANSWER,1,Voicemail(u${ARG1})   ; If unavailable, send to
  voicemail w/ unavail announce
  ;exten = s-NOANSWER,2,Goto(default,s,1); If they press 
 #, return to start
  exten = s-BUSY,1,Voicemail(b${ARG1})   ; If busy, send to 
 voicemail w/
  busy announce
  ;exten = s-BUSY,2,Goto(default,s,1); If they press #, 
 return to start
  exten = _s-.,1,Goto(s-NOANSWER,1)  ; Treat 
 anything else as no answer
  exten = a,1,VoicemailMain(${ARG1}) ; If they press *, 
 send the user
  into VoicemailMain
  
  [capi-in]
  
  ;standard: fait tout sonner
  exten = 3090,1,Answer;
  ;exten = 
 3090,2,Macro(repondeur,8427,${OPENSPACE}${MARC}${PIERRE}); exten 
 = 3090,2,Macro(repondeur,8427,${OPENSPACE}${PIERRE});
  
  
  ;Service technique
  exten = 3091,1,Answer;
  ;exten = 3091,2,Macro(repondeur,3091,${OPENSPACE}${MARC});
  exten = 3091,2,Macro(repondeur,3091,${OPENSPACE});
  
  
  ;Service commercial
  exten = 3092,1,Answer;
  exten = 3092,2,Macro(repondeur,3092,${PATRICK});
  
  
  ;Direction technique
  exten = 3093,1,Answer;
  ;exten = 3093,2,Macro(repondeur,3093,${MARC});
  exten = 3093,2,Macro(repondeur,3093,${OPENSPACE});
  
  
  ;non assigne pour le moment fait sonner uniquement le DECT
  exten = 3094,1,Answer;
  exten = 3094,2,Macro(repondeur,3094,${OPENSPACE});
  
  ___
  --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] Faxing with Asterisk using both ISDN and FXS

2006-05-19 Thread Benjamin SEBBAH
Hi everyone,I have a question about faxing. I am running
Asterisk SVN-trunk-r7498 on a ubuntu server and everything is going
fine. I have a tdm40b, a tdm04b and an avm fritz!card pci plugged on it.Here is what I'd like to do:
Receiving fax via the ISDN avm fritz!card, sending the fax via
email (for the moment I know I can do that) but also routing the fax
trough my old fax machine which would be plugged in an FXS port (which
means using the old fax machine as a printer).
Using the same old fax machine to send fax which means translating
the fax so that the ISDN card understand it and send it (which means
using the old fax machine as a scanner).Any idea if it is possible?
Thanks in advance,Benjamin SEBBAHAduneo France
___
--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