Re: [asterisk-users] ISDN BRI support with HFC-PCI cards?

2007-12-27 Thread Tzafrir Cohen
On Thu, Dec 27, 2007 at 04:00:49PM +0100, Jaap Winius wrote:
 Quoting Tzafrir Cohen [EMAIL PROTECTED]:
 
   cat /proc/zaptel/*
 
  Span 1: ZTHFC1 HFC-S PCI A ISDN card 0 [TE] layer 1 DEACTIVATED   
  (F4) AMI/CCS
 
  1 ZTHFC1/0/1 Clear (In use)
  2 ZTHFC1/0/2 Clear (In use)
  3 ZTHFC1/0/3 HDLCFCS (In use)
  Span 2: ZTHFC2 HFC-S PCI A ISDN card 1 [TE] layer 1 ACTIVATED (F7) 
  AMI/CCS
 
  4 ZTHFC2/0/1 Clear (In use)
  5 ZTHFC2/0/2 Clear (In use)
  6 ZTHFC2/0/3 HDLCFCS (In use)
 
  Looks like it's already configured and used by Asterisk.
 
 Indeed. It would appear that Asterisk now recognizes these cards. Of  
 course, I now have another set of problems, but I'll ask about those  
 in a new thread.
 
  However, I believe that the ports are disconnected, right?
 
 Physically? One had a cable in it, the other one didn't.

Sorry, and it is clearly stated above. I have just misread it.

So basically dial to Zap/g0/NUMBER and it should dial it to  and it should 
dial it to your provider.

Using pridialplan=unknown in zapata.conf may also help.

-- 
   Tzafrir Cohen
icq#16849755  jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]
http://www.xorcom.com  iax:[EMAIL PROTECTED]/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] ISDN BRI support with HFC-PCI cards?

2007-12-27 Thread Tzafrir Cohen
On Thu, Dec 27, 2007 at 06:03:09PM +1300, Matt Riddell wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Can Zaptel support HFC cards now (i.e. without mISDN?)

Zaptel drivers for PCI HFC-S cards (cards that use the single-port chips 
of Cologne Chips) is zaphfc from BRIstuff, or vzaphfc. See 
http://bristuff.org/ .

You'll also need support for BRI, PtMP and such in libpri and Asterisk.
That generally requires the libpri and Asterisk patches from bristuff.

 
 If so, does that include the Digium b410p card?

That card is uses the Cologne Chips HFC-4S chip. qozap from BRIstuff is
generally a driver for a similar hardware, but I assume it would need
some adaptations.

For instance, patches to adapt that driver to support the very similar
BeroNet cards can be found at http://blog.eth0.cc/zaptel-patchwork .
I have no idea what changes would be required to adapt the b410p card to
use qozap.

-- 
   Tzafrir Cohen
icq#16849755  jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]
http://www.xorcom.com  iax:[EMAIL PROTECTED]/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] ISDN BRI support with HFC-PCI cards?

2007-12-27 Thread Jaap Winius
Quoting Tzafrir Cohen [EMAIL PROTECTED]:

  cat /proc/zaptel/*

 Span 1: ZTHFC1 HFC-S PCI A ISDN card 0 [TE] layer 1 DEACTIVATED   
 (F4) AMI/CCS

 1 ZTHFC1/0/1 Clear (In use)
 2 ZTHFC1/0/2 Clear (In use)
 3 ZTHFC1/0/3 HDLCFCS (In use)
 Span 2: ZTHFC2 HFC-S PCI A ISDN card 1 [TE] layer 1 ACTIVATED (F7) AMI/CCS

 4 ZTHFC2/0/1 Clear (In use)
 5 ZTHFC2/0/2 Clear (In use)
 6 ZTHFC2/0/3 HDLCFCS (In use)

 Looks like it's already configured and used by Asterisk.

Indeed. It would appear that Asterisk now recognizes these cards. Of  
course, I now have another set of problems, but I'll ask about those  
in a new thread.

 However, I believe that the ports are disconnected, right?

Physically? One had a cable in it, the other one didn't.

Cheers,

Jaap

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


[asterisk-users] ISDN BRI support with HFC-PCI cards?

2007-12-26 Thread Jaap Winius
Hi all,

Could someone please point me in the direction of some reasonable instructions
for setting up ISDN BRI support for Asterisk 1.2 (Debian etch) with  
HFC-PCI cards (Cologne chips) and/or cards with Winbond W6692CF chips?

I keep finding solutions that involve running misdn-init. However,  
this approach seems to have been deprecated in favor of something else.

Thanks,

Jaap


___
--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] ISDN BRI support with HFC-PCI cards?

2007-12-26 Thread Tzafrir Cohen
On Wed, Dec 26, 2007 at 06:03:02PM +0100, Jaap Winius wrote:
 Hi all,
 
 Could someone please point me in the direction of some reasonable instructions
 for setting up ISDN BRI support for Asterisk 1.2 (Debian etch) with  
 HFC-PCI cards (Cologne chips) and/or cards with Winbond W6692CF chips?

  apt-get install asterisk zaptel-source
  m-a a-i zaptel
  echo #include zapata-channels.conf /etc/asterisk/zapata.conf
  genzaptelconf -sd

That should basically do it.

-- 
   Tzafrir Cohen
icq#16849755  jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]
http://www.xorcom.com  iax:[EMAIL PROTECTED]/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] ISDN BRI support with HFC-PCI cards?

2007-12-26 Thread Jaap Winius
Quoting Tzafrir Cohen [EMAIL PROTECTED]:

 Could someone please point me in the direction of some reasonable   
 instructions
 for setting up ISDN BRI support for Asterisk 1.2 (Debian etch) with
 HFC-PCI cards (Cologne chips) and/or cards with Winbond W6692CF chips?

   apt-get install asterisk zaptel-source
   m-a a-i zaptel
   echo #include zapata-channels.conf /etc/asterisk/zapata.conf
   genzaptelconf -sd

 That should basically do it.

That looks promising, but am I right that this requires the zaptel package to
be installed as well? Otherwise there's no genzaptelconf (or one that  
works). However, after installing the zaptel package, I get these  
errors:

# genzaptelconf -sd
Stopping Asterisk PBX: asterisk.
cat: /tmp/tmp.uiMna12463/span_termtype: No such file or directory
cat: /tmp/tmp.uiMna12463/span_termtype: No such file or directory
Starting Asterisk PBX: asterisk.
#

Looks like it's not creating its temporary directory in /tmp. Any ideas?

Thanks,

Jaap

___
--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] ISDN BRI support with HFC-PCI cards?

2007-12-26 Thread Tzafrir Cohen
On Wed, Dec 26, 2007 at 09:32:03PM +0100, Jaap Winius wrote:
 Quoting Tzafrir Cohen [EMAIL PROTECTED]:
 
  Could someone please point me in the direction of some reasonable   
  instructions
  for setting up ISDN BRI support for Asterisk 1.2 (Debian etch) with
  HFC-PCI cards (Cologne chips) and/or cards with Winbond W6692CF chips?
 
apt-get install asterisk zaptel-source
m-a a-i zaptel
echo #include zapata-channels.conf /etc/asterisk/zapata.conf
genzaptelconf -sd
 
  That should basically do it.
 
 That looks promising, but am I right that this requires the zaptel package to
 be installed as well? Otherwise there's no genzaptelconf (or one that  
 works). 

IIRC asterisk requires zaptel. (apt-cache depends asterisk)

 However, after installing the zaptel package, I get these  
 errors:
 
 # genzaptelconf -sd
 Stopping Asterisk PBX: asterisk.
 cat: /tmp/tmp.uiMna12463/span_termtype: No such file or directory
 cat: /tmp/tmp.uiMna12463/span_termtype: No such file or directory
 Starting Asterisk PBX: asterisk.

cat /proc/zaptel/*

 #
 
 Looks like it's not creating its temporary directory in /tmp. Any ideas?

Those temporary files is where it stores its configuration variables (to
pass information from a subshell to a parent shell). Did I mention that
this got later reqritten in Perl?

-- 
   Tzafrir Cohen
icq#16849755  jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]
http://www.xorcom.com  iax:[EMAIL PROTECTED]/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] ISDN BRI support with HFC-PCI cards?

2007-12-26 Thread Jaap Winius
Quoting Tzafrir Cohen [EMAIL PROTECTED]:

 However, after installing the zaptel package, I get these
 errors:

 # genzaptelconf -sd
 Stopping Asterisk PBX: asterisk.
 cat: /tmp/tmp.uiMna12463/span_termtype: No such file or directory
 cat: /tmp/tmp.uiMna12463/span_termtype: No such file or directory
 Starting Asterisk PBX: asterisk.

 cat /proc/zaptel/*

Here's the output from that command:

==

Span 1: ZTHFC1 HFC-S PCI A ISDN card 0 [TE] layer 1 DEACTIVATED (F4) AMI/CCS

1 ZTHFC1/0/1 Clear (In use)
2 ZTHFC1/0/2 Clear (In use)
3 ZTHFC1/0/3 HDLCFCS (In use)
Span 2: ZTHFC2 HFC-S PCI A ISDN card 1 [TE] layer 1 ACTIVATED (F7) AMI/CCS

4 ZTHFC2/0/1 Clear (In use)
5 ZTHFC2/0/2 Clear (In use)
6 ZTHFC2/0/3 HDLCFCS (In use)

==

Thanks,

Jaap

___
--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] ISDN BRI support with HFC-PCI cards?

2007-12-26 Thread dave cantera
the /tmp sometimes gets its sticky bit set...

# ls -ld /tmp

will tell you what permissions are set at

/tmp should read:

[EMAIL PROTECTED] ~]# ls -ld /tmp
drwxrwxrwx  7 root root 4096 Dec 26 08:13 /tmp

it may read, which would not allow file/directory creation (notice the 
't' in the other's permissions, I think it comes up in other anyway...):

drwxrwxrw*t*  7 root root 4096 Dec 26 08:13 /tmp

daveC

Jaap Winius wrote:
 Quoting Tzafrir Cohen [EMAIL PROTECTED]:

   
 Could someone please point me in the direction of some reasonable   
 instructions
 for setting up ISDN BRI support for Asterisk 1.2 (Debian etch) with
 HFC-PCI cards (Cologne chips) and/or cards with Winbond W6692CF chips?
   
   apt-get install asterisk zaptel-source
   m-a a-i zaptel
   echo #include zapata-channels.conf /etc/asterisk/zapata.conf
   genzaptelconf -sd

 That should basically do it.
 

 That looks promising, but am I right that this requires the zaptel package to
 be installed as well? Otherwise there's no genzaptelconf (or one that  
 works). However, after installing the zaptel package, I get these  
 errors:

 # genzaptelconf -sd
 Stopping Asterisk PBX: asterisk.
 cat: /tmp/tmp.uiMna12463/span_termtype: No such file or directory
 cat: /tmp/tmp.uiMna12463/span_termtype: No such file or directory
 Starting Asterisk PBX: asterisk.
 #

 Looks like it's not creating its temporary directory in /tmp. Any ideas?

 Thanks,

 Jaap

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



   

-- 
My wife's sister is in California.  
I should buy her a Videophone2008!

Truly, The Next Best Thing to Being There!
--

WorldWideVideoPhones.com
856.380.0894




___
--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] ISDN BRI support with HFC-PCI cards?

2007-12-26 Thread Tzafrir Cohen
On Thu, Dec 27, 2007 at 12:07:50AM +0100, Jaap Winius wrote:
 Quoting Tzafrir Cohen [EMAIL PROTECTED]:
 
  However, after installing the zaptel package, I get these
  errors:
 
  # genzaptelconf -sd
  Stopping Asterisk PBX: asterisk.
  cat: /tmp/tmp.uiMna12463/span_termtype: No such file or directory
  cat: /tmp/tmp.uiMna12463/span_termtype: No such file or directory
  Starting Asterisk PBX: asterisk.
 
  cat /proc/zaptel/*
 
 Here's the output from that command:
 
 ==
 
 Span 1: ZTHFC1 HFC-S PCI A ISDN card 0 [TE] layer 1 DEACTIVATED (F4) AMI/CCS
 
 1 ZTHFC1/0/1 Clear (In use)
 2 ZTHFC1/0/2 Clear (In use)
 3 ZTHFC1/0/3 HDLCFCS (In use)
 Span 2: ZTHFC2 HFC-S PCI A ISDN card 1 [TE] layer 1 ACTIVATED (F7) AMI/CCS
 
 4 ZTHFC2/0/1 Clear (In use)
 5 ZTHFC2/0/2 Clear (In use)
 6 ZTHFC2/0/3 HDLCFCS (In use)

Looks like it's already configured and used by Asterisk.

However, I believe that the ports are disconnected, right?

-- 
   Tzafrir Cohen
icq#16849755  jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]
http://www.xorcom.com  iax:[EMAIL PROTECTED]/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] ISDN BRI support with HFC-PCI cards?

2007-12-26 Thread Tzafrir Cohen
On Wed, Dec 26, 2007 at 06:12:13PM -0500, dave cantera wrote:
 the /tmp sometimes gets its sticky bit set...
 
 # ls -ld /tmp
 
 will tell you what permissions are set at
 
 /tmp should read:
 
 [EMAIL PROTECTED] ~]# ls -ld /tmp
 drwxrwxrwx  7 root root 4096 Dec 26 08:13 /tmp
 
 it may read, which would not allow file/directory creation (notice the 
 't' in the other's permissions, I think it comes up in other anyway...):
 
 drwxrwxrw*t*  7 root root 4096 Dec 26 08:13 /tmp

Considering that this is root running the script, the permissions on the
directory really don't matter.

And that file is actually in a subdirectory (created with mktemp(1) )
under /tmp. That subdirectory is not world-writable and/or sticky.

-- 
   Tzafrir Cohen
icq#16849755  jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]
http://www.xorcom.com  iax:[EMAIL PROTECTED]/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] ISDN BRI support with HFC-PCI cards?

2007-12-26 Thread Matt Riddell
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Can Zaptel support HFC cards now (i.e. without mISDN?)

If so, does that include the Digium b410p card?

- --
Kind Regards,

Matt Riddell
Director
___

http://www.venturevoip.com (Great new VoIP end to end solution)
http://www.venturevoip.com/news.php (Daily Asterisk News - html)
http://www.venturevoip.com/newrssfeed.php (Daily Asterisk News - rss)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHczINDQNt8rg0Kp4RAlZ+AKCwHFWwPo0str+FOXxc2AKTWbyz+ACgpY89
3jslxPIxb4Ay/MMS6moyUD8=
=Ym73
-END PGP 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