Re: [Asterisk-Users] Anyone have bristuff's zaphfc module coexisting with wcfxs for the tdm400p?

2005-07-18 Thread Marc Sutter
# 4)Modules configuration for startup with zaphfc AND wcfxs on
# debian stable 3.1 sarge kernel 2.4.27-2-386

# Here a configuration to fix this issue at boottime




emacs /etc/modutils/zaptel

# match it to:

post-install zaphfc /sbin/ztcfg
#post-install tor2 /sbin/ztcfg
#post-install wcusb /sbin/ztcfg
#post-install wcfxo /sbin/ztcfg
#post-install ztdynamic /sbin/ztcfg
#post-install ztd-eth /sbin/ztcfg
#post-install wct1xxp /sbin/ztcfg
#post-install wct4xxp /sbin/ztcfg
#post-install wcte11xp /sbin/ztcfg
alias wctdm wcfxs
#post-install torisa /sbin/ztcfg
#post-install wcfxs /sbin/ztcfg

# end of file /etc/modutils/zaptel

#Update the /etc/modules.conf file with:

[EMAIL PROTECTED] update-modules

[EMAIL PROTECTED] emacs /etc/modules

# add a line like the following at end of the file 

zaphfc

# and finaly reboot for testing

[EMAIL PROTECTED] reboot



On mer, 2004-11-03 at 17:52 +0100, Klaus-Peter Junghanns wrote:
 Steve,
 
 please make sure that ztcfg is not run twice! Usually modprobing the
 TDM400P driver will trigger ztcfg automatically. After that, running
 it again manually will make the zaphfc cards totally non-responsive.
 This is known bug that is unfortunately still under investigation...
 
 So, do this:
 
 modprobe zaptel
 insmod zaphfc.o
 insmod wcfxs.o
 ztcfg
 
 best regards
 
 Klaus
 --
 Klaus-Peter Junghanns
 
 Am Di, den 02.11.2004 schrieb [EMAIL PROTECTED] um 19:04:
  Any advice:
  
  I have a customer who bought a TDM400P.  Turns out he has an HFC-S ISDN 
  card that he was using with Klaus' bristuff patch and the zaphfc module.
  
  He can't get the two working together.
  
  Either works by itself.
  
  I have succesfully configured a quadBRI and a TDM31B together on one box 
  with no problem, so it seems to be some issue specifically with the zaphfc 
  module.
  
  Does anyone have any clues for me on how to get this going for him?  I do
  see in the archive that others have hit this issue, but I didn't find any 
  solution...
  
  Thanks,
  Steve
 
 
 ___
 Asterisk-Users mailing list
 Asterisk-Users@lists.digium.com
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

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


Re: [Asterisk-Users] zaphfc: empty HDLC frame or bad CRC received

2005-07-18 Thread Marc Sutter
there is a list item about this issu:

http://lists.digium.com/pipermail/asterisk-users/2004-November/070918.html

alternatively you can try this solution on debian:


# 4)Modules configuration for startup with zaphfc AND wcfxs on
# debian stable 3.1 sarge kernel 2.4.27-2-386

# Here a configuration to fix this issue at boottime

emacs /etc/modutils/zaptel

# match it to:

post-install zaphfc /sbin/ztcfg
#post-install tor2 /sbin/ztcfg
#post-install wcusb /sbin/ztcfg
#post-install wcfxo /sbin/ztcfg
#post-install ztdynamic /sbin/ztcfg
#post-install ztd-eth /sbin/ztcfg
#post-install wct1xxp /sbin/ztcfg
#post-install wct4xxp /sbin/ztcfg
#post-install wcte11xp /sbin/ztcfg
alias wctdm wcfxs
#post-install torisa /sbin/ztcfg
#post-install wcfxs /sbin/ztcfg

# end of file /etc/modutils/zaptel

#Update the /etc/modules.conf file with:

[EMAIL PROTECTED] update-modules

[EMAIL PROTECTED] emacs /etc/modules

# add a line like the following at end of the file 

zaphfc

# and finaly reboot for testing

[EMAIL PROTECTED] reboot


On jeu, 2005-07-07 at 18:18 +0200, Yousef Herzallah wrote:
 I have this problem 
   zaphfc: empty HDLC frame or bad CRC received
 My configurations are 
 cat /proc/zaptel/1
 Span 1: ZTHFC1 HFC-S PCI A ISDN card 0 [NT] layer 1 ACTIVATED (G3)
 AMI/CCS
 
1 ZTHFC1/0/1 Clear
2 ZTHFC1/0/2 Clear
3 ZTHFC1/0/3 HDLCFCS
 
 cat /etc/zaptel.conf
 # hfc-s pci a span definition
 # most of the values should be bogus because we are not really zaptel
 loadzone=it
 defaultzone=it
 span=1,1,3,ccs,ami
 bchan=1-2
 dchan=3
 
 cat /etc/asterisk/zapata.conf
 ;
 ; Zapata telephony interface
 ;
 ; Configuration file
 
 [channels]
 language=it
 switchtype=euroisdn
 
 ; p2mp TE mode
 ;signalling=bri_cpe_ptmp
 ; p2p TE mode
 ;signalling=bri_cpe
 ; p2mp NT mode
 ;signalling=bri_net_ptmp
 ; p2p NT mode
 signalling=bri_net
 
 pridialplan=dynamic
 prilocaldialplan=local
 nationalprefix=0
 internationalprefix=00
 
 echocancel=yes
 echotraining=100
 echocancelwhenbridged=yes
 
 immediate=yes
 group=1
 context=default
 channel = 1
 channel = 2
 
 ztcfg -vv
 
 Zaptel Configuration
 ==
 
 SPAN 1: CCS/ AMI Build-out: 399-533 feet (DSX-1)
 
 Channel map:
 
 Channel 01: Individual Clear channel (Default) (Slaves: 01)
 Channel 02: Individual Clear channel (Default) (Slaves: 02)
 Channel 03: D-channel (Default) (Slaves: 03)
 
 3 channels configured.
 
 
 Help 
 
 ___
 Asterisk-Users mailing list
 Asterisk-Users@lists.digium.com
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

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


Re: [Asterisk-Users] festival and gcc 3.3.2 (Fedora Core 1)

2004-05-01 Thread Marc Sutter
Hi,

had the same problem... and we wrote a patch.

This patch's are for speech_tools 1.2.3 and festival 1.4.3.

to use in the corresponding directory with:

#patch -p1 patch.. 

Hope this help. If so let it know.

Have fun !!!


On Sat, 2004-05-01 at 02:35, Reed Wade wrote:
 Can someone tell me how to build festival on a machine with gcc 3.3.2?
 
 I've searched all around and even found a reference or two that the 
 problem exists but I'm not seeing the fix.
 
 thanks!
 -reed
 
 
 Symtoms are --
 
 ./configure, then
 
 [EMAIL PROTECTED] speech_tools]# make
 Check system type
 Remake modincludes.inc
  NATIVE_AUDIO
  ok
  EDITLINE
  config/modules/editline.mak
  SIOD
  siod/siod.mak
  WAGON
  stats/wagon/wagon.mak
  SCFG
  grammar/scfg/scfg.mak
  WFST
  grammar/wfst/wfst.mak
  OLS
  stats/ols.mak
  RXP
  rxp/rxp.mak
  LINUX16_AUDIO
  config/modules/linux16_audio.mak
 Making in directory ./siod ...
 making dependencies -- siodeditline.c cc1: warning: 
 -Wno-non-template-friend is valid for C++ but not for C/ObjC
 cc1: warning: -Wno-deprecated is valid for C++ but not for C/ObjC
 el_complete.c cc1: warning: -Wno-non-template-friend is valid for C++ 
 but not for C/ObjC
 cc1: warning: -Wno-deprecated is valid for C++ but not for C/ObjC
 editline.c cc1: warning: -Wno-non-template-friend is valid for C++ but 
 not for C/ObjC
 cc1: warning: -Wno-deprecated is valid for C++ but not for C/ObjC
 el_sys_unix.c cc1: warning: -Wno-non-template-friend is valid for C++ 
 but not for C/ObjC
 cc1: warning: -Wno-deprecated is valid for C++ but not for C/ObjC
 slib.cc slib_core.cc slib_doc.cc slib_file.cc slib_format.cc 
 slib_list.cc slib_math.cc slib_sys.cc slib_server.cc slib_str.cc 
 slib_xtr.cc slib_repl.cc siod_fringe.cc siod_server.cc io.cc trace.cc 
 EST_SiodServer.cc siod.cc siod_est.cc
 g++ -c -fno-implicit-templates -O3 -Wall -Wno-non-template-friend 
 -Wno-deprecated -DSUPPORT_EDITLINE -I../include slib.cc
 In file included from ../include/EST_String.h:50,
   from ../include/siod.h:17,
   from slib.cc:88:
 ../include/EST_iostream.h:54:26: strstream.h: No such file or directory
 make[1]: *** [slib.o] Error 1
 make: *** [siod] Error 2
 [EMAIL PROTECTED] speech_tools]#
 
 
 
 ___
 Asterisk-Users mailing list
 [EMAIL PROTECTED]
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
diff -ur festival.bad/src/modules/base/phrasify.cc festival/src/modules/base/phrasify.cc
--- festival.bad/src/modules/base/phrasify.cc	2001-04-04 13:55:20.0 +0200
+++ festival/src/modules/base/phrasify.cc	2004-04-25 15:57:52.0 +0200
@@ -218,7 +218,7 @@
 	EST_Val npbreak = wagon_predict(w,phrase_type_tree);
 	w-set(pbreak,npbreak.string());  // may reset to BB
 	}
-	pbreak = w-f(pbreak);
+	pbreak = w-f(pbreak).string();
 	if (pbreak == B)
 	w-set(blevel,3);
 	else if (pbreak == mB)
diff -ur festival.bad/src/modules/base/word.cc festival/src/modules/base/word.cc
--- festival.bad/src/modules/base/word.cc	2001-04-04 13:55:20.0 +0200
+++ festival/src/modules/base/word.cc	2004-04-25 15:59:55.0 +0200
@@ -64,10 +64,10 @@
 for (w=u-relation(Word)-first(); w != 0; w = next(w))
 {
 	lpos = NIL;
-	pos = ffeature(w,hg_pos);
+	pos = ffeature(w,hg_pos).string();
 // explicit homograph pos disambiguation
 	if (pos == 0)
-	pos = ffeature(w,pos);
+	pos = ffeature(w,pos).string();
 	if (pos != 0)
 	lpos = rintern(pos);
 
@@ -100,8 +100,8 @@
 //  from which a list can be read.
 EST_String p;
 
-if (((p = ffeature(w,phonemes)) != 0) ||
-	((p = ffeature(w,R:Token.parent.phonemes)) != 0))
+if (((p = ffeature(w,phonemes).string()) != 0) ||
+	((p = ffeature(w,R:Token.parent.phonemes).string()) != 0))
 {
 	LISP phones = read_from_lstring(strintern(p));
 
diff -ur festival.bad/src/modules/Intonation/int_tree.cc festival/src/modules/Intonation/int_tree.cc
--- festival.bad/src/modules/Intonation/int_tree.cc	2001-04-04 13:55:20.0 +0200
+++ festival/src/modules/Intonation/int_tree.cc	2004-04-25 15:58:42.0 +0200
@@ -87,11 +87,11 @@
 for (s=u-relation(Syllable)-first(); s != 0; s=next(s))
 {
 	if ((paccent = accent_specified(s)) == 0) // check if pre-specified
-	paccent = wagon_predict(s,accent_tree);
+	paccent = wagon_predict(s,accent_tree).string();
 	if (paccent != NONE)
 	add_IntEvent(u,s,paccent);
 	if ((ptone = tone_specified(s)) == 0)
-	ptone = wagon_predict(s,endtone_tree);
+	ptone = wagon_predict(s,endtone_tree).string();
 	if (ptone != NONE)
 	add_IntEvent(u,s,ptone);
 }
@@ -107,11 +107,11 @@
 EST_Item 

Re: [Asterisk-Users] chan_capi

2004-04-23 Thread Marc Sutter
Andrea,

Here is a little patch for compiling chan_capi.0.3.1 with latest
asterisk CVS.

I could read in the lists that a new chan_capi.0.3.2 will soon arrive.
In the wait time you can use this patch.

put the patch in the chan_capi directory and tip:

# patch -p1  patch.chan_capi-against-0.3.1.diff

It should compile now.

Have fun !

 


On Tue, 2004-04-20 at 17:32, Andreas Anderson wrote:
 Hi Guys,
 
 does anyone know how to fix chan_capi to work with the current CVS HEAD? 
 It's no
 longer possible  to compile after the recent changes in the locking...
 
 
 Regards,
 
 Andreas
 
 _
 There’s never been a better time to get Xtra JetStream @  
 http://xtra.co.nz/jetstream
 
 ___
 Asterisk-Users mailing list
 [EMAIL PROTECTED]
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
--- chan_capi.bad/chan_capi.c   2004-04-22 20:18:03.0 +0200
+++ chan_capi/chan_capi.c   2004-04-22 20:18:35.0 +0200
@@ -1184,7 +1184,7 @@
tv.tv_sec = 0;
tv.tv_usec = 10;
if ((f-frametype == AST_FRAME_VOICE)  (p-i-doDTMF == 1)  (p-i-vad != 
NULL)) {
-   f = ast_dsp_process(p-c,p-i-vad,f,0);
+   f = ast_dsp_process(p-c,p-i-vad,f);
if (f-frametype == AST_FRAME_NULL) {
return 0;
}


[Asterisk-Users] ISDN--asterisk-????-hylafax

2004-03-26 Thread Marc Sutter
hi all,

I'm looking for a config to bind asterisk and hylafax.

Asterisk just have to pass the line to hylafax in the dial plan.
I don't have any digium hardware, but this is certainly possible.

I got it with capi4hylafax, but this config is not acceptable in a large
system, the call is not going through the dial plan.
 
Thanks for your answers.
Marc

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] T100P T1 problem (Avaya - asterisk IVR)

2004-03-21 Thread marc . sutter
Hi Jeb,

Have a look on:

  http://www.voip-info.org/tiki-index.php?page=Asterisk%20Avaya

I think it's what you need.

Marc


-- Message original --
To: [EMAIL PROTECTED]
From: Jeb Campbell [EMAIL PROTECTED]
Subject: [Asterisk-Users] T100P T1 problem (Avaya - asterisk IVR)
Reply-To: [EMAIL PROTECTED]
Date: Sat, 20 Mar 2004 19:36:26 -0500


Hello all,
   I'm having a problem with a T1 connection to a Avaya PBX (asterisk is 
an IVR).
I could not get pri working and now I'm simply trying to get asterisk 
working with fxs_ks.

Questions:
1. Is there anyway to troubleshoot or see what is being sent on the T1.
   zttool shows no errors, and the Avaya rings the t1 if wct1xxp is 
loaded, and gives
   busy if it is not loaded -- so I think something is being sent down 
the line, I just
   don't know what it is (asterisk -vc shows nothing)

2. Is there anyone with Avaya PBX - asterisk experience on the list?  
I'm remote, but I can
   login -- I just don't know what commands can troubleshoot the 
connection.

Config:
zaptel.conf (relevant section)
span=1,1,0,esf,b8zs
fxsks=1-24

zapata.conf
[channels]
context = demo
switchtype = national
signalling = fxs_ks
group = 1
channel = 1-24

Thanks for any time and help

Jeb Campbell
[EMAIL PROTECTED]
Cell: 865-385-1437

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users