Re: [asterisk-users] DAHDI driver question for custom card

2015-11-05 Thread Russ Meyerriecks
On Thu, Nov 5, 2015 at 11:36 AM, Roberto Fichera <ker...@tekno-soft.it> wrote:
> The question is, can I call the dahdi_transmit() from the TX DMA callback and 
> the dahdi_receive() from
> the RX DMA callback or should use a particular order for them?

I don't think it will be a problem to call them asynchronously.
Depending on your signal, _dahdi_transmit() and _dahdi_recieve() can
potentially do a lot of processing. They're better suited in a bottom
half than in interrupt context.


-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com & www.asterisk.org

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] Tdm4010p 4 port card

2015-07-10 Thread Russ Meyerriecks
Tom,

  A Digium TDM410 is supported and functioning properly on dahdi
2.10.2 and asterisk 13. Usually when I see the driver load properly
but asterisk not show anything, I'll find out that I've messed up the
config files in asterisk somewhere. I might take a look at
/etc/asterisk/chan_dahdi.conf and/or
/etc/asterisk/dahdi-channels.conf.

On Fri, Jul 10, 2015 at 10:37 AM, Tom Judge tvju...@gmail.com wrote:


 Hi running asterisk 13.x and dahdi-linux-complete-2.10.2+2.10.2. It looks
 like the kernel drivers lod but in asterisk console dahdi show anything not
 working. Trina to use a TDM410P pci card. Is this just too old and extinct
 card?
 Any suggestions gratefully apprecuated. We are a small non profit based on
 FOSS education. Learn Ubuntu Org inc. Low budget no budget any help greatly
 appreciated.

 Sent from my T-Mobile 4G LTE Device

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

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



-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] When are /proc/dahdi files created

2015-02-05 Thread Russ Meyerriecks
On Wed, Feb 4, 2015 at 5:54 PM, Michelle Dupuis mdup...@ocg.ca wrote:
 Can someone tell me when the /proc/dahdi files are created for spans?

That file structure is created by dahdi and the associated board
driver after they are modprobed into the kernel.

-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] dahdi_genconf fails with Empty configuration - no spans

2015-01-15 Thread Russ Meyerriecks
On Thu, Jan 15, 2015 at 2:05 AM, Bertrand LUPART - Linkeo.com
bertrand.lup...@linkeo.com wrote:
 However, dahdi_genconf keeps finding no span:
 What am i missing?

It looks like your driver is loaded correctly. My guess would be maybe
the dahdi-tools is packaged as an older version that doesn't know
about the newer te435 card. You could hand craft the config file using
the info in the card's manual
http://www.digium.com/sites/digium/files/quad-span-digital-card-user-manual.pdf

or you could try compiling from source.
https://wiki.asterisk.org/wiki/display/DAHDI/Quick+Start+From+Source

Also, you could give Digium support a call. That would probably be
your quickest path to resolution.

-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] On kernel 3.16.2 : dahdi_rec: Invalid argument

2014-09-17 Thread Russ Meyerriecks
Patch for this has been committed to master here:
http://git.asterisk.org/gitweb/?p=dahdi/linux.git;a=commitdiff;h=b9a8000bbd1b6120f22627c105a2c2194dcc793d

I expect to release a v2.10.1 for this soon.
Thanks for the report.

-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] On kernel 3.16.2 : dahdi_rec: Invalid argument

2014-09-15 Thread Russ Meyerriecks
On Sat, Sep 13, 2014 at 6:25 PM, Anthony Messina amess...@messinet.com wrote:
 On Saturday, September 13, 2014 03:15:57 PM sean darcy wrote:
 On 09/13/2014 01:52 PM, sean darcy wrote:
  On 09/13/2014 12:09 PM, sean darcy wrote:
  On Fedora 20, just updated to kernel 3.16.2. Rebuilt dahdi 2.9.2 against
  it. dahdi show channels works fine, but when I try to place a call:
 
  chan_dahdi.c:9345 dahdi_read: dahdi_rec: Invalid argument
 
  Any help appreciated.
 
  sean
 
  Updated to dahdi-2.10.0. No joy.
 
  Went back to kernel 3.15.10 - it works.
 
  sean

 FWIW, asterisk-11.10.2.

 I can report a similar issue using DAHDI 2.10.0 and Asterisk 13.0.0-beta1
 where Asterisk overwhelms the log system, repeating the following until
 Asterisk and syslog consume all available CPU time, bringing the system to
 it's knees.

 chan_dahdi.c:11556 do_monitor: Read failed with -1: Invalid argument

 Unfortunately, I haven't found a solution, but reverting to kernel-3.15.10
 resolves this issue as well.

Thanks for the report, we're looking into it today. Issue is being
tracked here : https://issues.asterisk.org/jira/browse/DAHLIN-340

-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] http://downloads.asterisk.org/pub/telephony/dahdi-linux/ not showing lastest changelog

2014-07-14 Thread Russ Meyerriecks
On Mon, Jul 14, 2014 at 2:56 AM, Olivier oza.4...@gmail.com wrote:
 Is it me or unlike http://downloads.asterisk.org/pub/telephony/asterisk/,
 http://downloads.asterisk.org/pub/telephony/dahdi-linux/ is not showing
 lastest changelog anymore ?

dahdi project dropped generating this specific changelog during the
svn to git migration. Honestly, we didn't think anybody used it and
the information is replicated elsewhere.

diffstats and patch shortlogs are generated for each release email. We
also keep sane shortlog synopsis for each patch which makes it a lot
easier to browse the git logs here, if you're looking for something
specific:

http://git.asterisk.org/gitweb/?p=dahdi/linux.git
http://git.asterisk.org/gitweb/?p=dahdi/tools.git


-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] TE131 kernel panic

2014-07-01 Thread Russ Meyerriecks
On Tue, Jul 1, 2014 at 1:56 PM, Matt Behrens m...@zigg.com wrote:
 Having some issues with a TE131 apparently causing kernel panics.  This is
 on CentOS 5.10 with DAHDI 2.9.1 (also tried 2.9.2-rc1, no difference.)
 There’s also an

 Tracebacks are very similar to this one:
 https://pbs.twimg.com/media/BrdrQf3CAAE3RXQ.jpg

We're going to need the exact trace for the panic you're encountering.
This image shows a panic involving both the te13x and an wcaxx analog
card. The easiest way to do this would be to contact Digium support
and they'll walk you through collecting all the info we will need to
debug this.


 (it’s 1.4 due to applications that need it… I doubt that a
 newer Asterisk would help though?
Asterisk isn't really implicated in kernel panics. Version shouldn't
matter here.


-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] Flashing Red Lights in TE420 (5th Gen) Card

2014-05-30 Thread Russ Meyerriecks
On Fri, May 30, 2014 at 4:07 AM, Lee, John (Sydney)
john@compuware.com wrote:
 Even without plugging in the ISDN into span 1, all 4 spans are flashing red.

Blinking red led is normal for spans which have been configured, but
are receiving no signal.
I might try plugging up a physical loopback plug to the port to rule
out a bad incoming signal.


 wct4xxp :04:08.0: TE4XXP: Span 1 configured for CCS/HDB3/CRC4
 wct4xxp :04:08.0: Span 2 configured for ESF/B8ZS
 wct4xxp :04:08.0: All spans in alarm : No validspan to source RCLK from

This looks like a normal startup for mixed-mode configuration with
nothing connected to the ports. I might try setting all spans to T1 or
all spans to E1 and plugging one or the other back up to test the
connections.

-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] Terrible dahdi_test results

2014-05-15 Thread Russ Meyerriecks
On Thu, May 15, 2014 at 9:10 AM, Mike Leddy m...@loop.com.br wrote:

 --- Results after 72 passes ---
 Best: 99.401% -- Worst: 69.357% -- Average: 90.260025%
 Cummulative Accuracy (not per pass): 92.402

 I suspect it may not be good enough yet for production but a
 step in the right direction :-)


What was the result of the /proc/interrupt test? How many interrupts did
the te110 fire in 1 second?
What happens if you rmmod the wct1xxp driver and ran dahdi_test against
just dahdi  dahdi_dummy modules?

-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] Terrible dahdi_test results

2014-05-14 Thread Russ Meyerriecks
On Wed, May 14, 2014 at 3:41 PM, Mike Leddy m...@loop.com.br wrote:

 Hi Eric,

 I plugged an E1 into the card and it doesn't make any difference.


Check to see if the card is interrupting 1000 times per second with
something like:
cat /proc/interrupts | grep wc  sleep 1  cat /proc/interrupts | grep wc

You could also try manually compiling dahdi_dummy by commenting it back in,
in the file:
drivers/dahdi/Kbuild
Then modprobe dahdi_dummy
This module forces the use of the high res timers

-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] Terrible dahdi_test results

2014-05-13 Thread Russ Meyerriecks
On Tue, May 13, 2014 at 7:28 AM, Mike Leddy m...@loop.com.br wrote:

 But on examination the /etc/init.d/dahdi start was only loading
 the dahdi module.


With this in mind I might start looking around the system for things which
might cause jitter in the servicing of system timer interrupts:

Are you running under a virtualized environment?
Are you running a tickless kernel? (maybe try adding nohz=off to your
kernel boot parameters)
Is there some sort of processor power saving or frequency scaling going on
that interrupts the system timer?

-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] Terrible dahdi_test results

2014-05-12 Thread Russ Meyerriecks
On Mon, May 12, 2014 at 4:57 PM, Mike Leddy m...@loop.com.br wrote:

 [   39.223031] wcopenpci: Module loaded
 [   39.751770] wcte1xxp: Setting yellow alarm

 # dahdi_hardware
 pci::06:00.0 wcte11xp+e159:0001 Digium Wildcard TE110P T1/E1
 Board


Mike,
  This stuff predates my time on this project, but it looks like wcopenpci
and wcte1xxp might be conflicting on your system because they register
against the same hardware. I might try blacklisting the wcopenpci driver in
/etc/modprobe.d/dahdi.blacklist.conf and rebooting or reloading dahdi.

-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] les opérations ajouter,supprimer,modifier un client avec jEE et asterisk

2014-05-08 Thread Russ Meyerriecks
2014-05-07 15:55 GMT-05:00 Meriem Abid m.meriem.a...@gmail.com:

 salut,

 je suis entrain de developper une application jEE avec asterisk qui
 consiste à ajouter, supprimer,modifier des clients en utilisant Asterisk au
 lieu de base de donnée, donc je suis débutante dans ce domaine,j'ai fait
 pour l'instant une connection via asterisk avec API manager , mais je
 n'arrive pas a faire la manipulation d'ajout,supprime..Client car je n'ai
 pas saisie le client a modifier dans Asterisk c'est quoi, le usr ou peer ou
 quoi? et en API Asterisk en java je ne trouve pas des méthodes prédéfinies
 qui me permettent d'arriver à mes fins.
 Autre question:l'approche d'utiliser les sockets est-elle possible pour
 réaliser le CRUD de Client ?

 une aide me serait bien utile.


Je regrette mon français est très mauvais, mais je pense que je vous
comprends. On ce moment, c´nest pas possible ajouter ou supprimer des
clients avec Asterisk API. Autre options pour vous:

Asterisk dynamic realtime
https://wiki.asterisk.org/wiki/display/AST/Realtime+Database+Configuration#RealtimeDatabaseConfiguration-RealtimeSIPfriends
ou écrire votre configuration fichier avec la application.

Avez-vous voir Asterisk-java?
http://www.asterisk-java.org/development/tutorial.html


-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] DAHDI loading issue on Asterisk

2014-04-18 Thread Russ Meyerriecks
On Fri, Apr 18, 2014 at 12:22 PM, st...@vanwambeck.net wrote:

 This is because the file permissions are not set correctly on the
 /dev/dahdi/channel:


Steve,
  The default dahdi.rules file specifies the /dev/dahdi/ directory to be
owned by asterisk:asterisk. What's the contents of your
/etc/udev/rules.d/dahdi.rules file?

-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] DAHDI loading issue on Asterisk

2014-04-18 Thread Russ Meyerriecks
On Fri, Apr 18, 2014 at 2:58 PM, st...@vanwambeck.net wrote:

 Russ,
 Here is what I am showing:

 asteriskpbx@asterisk-pbx:/etc/udev/rules.d$ cat dahdi.rules

 ACTION!=add,  GOTO=dahdi_add_end

 # DAHDI devices with ownership/permissions for running as non-root
 SUBSYSTEM==dahdi, OWNER=asterisk, GROUP=asterisk,
 MODE=0660


Hmm, this looks right. Does chan_dahdi.so load up properly if you chown -R
asterisk:asterisk /dev/dahdi ?

-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] DAHDI loading issue on Asterisk

2014-04-18 Thread Russ Meyerriecks
On Fri, Apr 18, 2014 at 3:36 PM, st...@vanwambeck.net wrote:

 Russ,
 I think that got it... I had to make a slight change to the command
 though:
 root@asterisk-pbx:/etc/dahdi# chown -R asteriskpbx:asteriskpbx
 /dev/dahdi

 Astersisk is now showing the dahdi and pri commands. I can see channels
 now from the pri show channels command. I think I am good to go now.

 Thanks for the guidance, have a wonderful weekend!
 Steve


Oh I see, udev must have been setting the ownership to root because the
asterisk user/group doesn't exist on your system.

# DAHDI devices with ownership/permissions for running as non-root
 SUBSYSTEM==dahdi, OWNER=asterisk, GROUP=asterisk,
 MODE=0660


In the dahdi.rules file, change the owner and group on this line to
asteriskpbx so this fix will persist through a module reload.

-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] DAHDI loading issue on Asterisk

2014-04-18 Thread Russ Meyerriecks
On Fri, Apr 18, 2014 at 4:06 PM, st...@vanwambeck.net wrote:

 Russ,

 I did push the server through a restart to see if it would come up and
 indeed it did not. Looking at the /dev/dahdi directory everything is set
 back to root/root! Time to rebuild the system with the username of
 asterisk and go home!!!


My only guess here would be that either the asteriskpbx user or group
doesn't actually exist in one of the two system files /etc/shadow or
/etc/group. I might check there to be sure. If they were missing you could
just do the usual useradd and groupadd to add them.

-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] How to read IRQs and timing slips values

2014-02-03 Thread Russ Meyerriecks
On Mon, Feb 3, 2014 at 6:52 AM, Olivier oza.4...@gmail.com wrote:
 [   42.969568] dahdi: Version: SVN-trunk-r10414
I would suggest updating DAHDI. We moved from svn to git years ago and
that repository is not maintained.

   17:   22167235841   IO-APIC-fasteoi   ehci_hcd:usb1, wct2xxp
 Does it qualify as incompatible with Dahdi because of shared IRQ or can I
 get along  and keep testing on this machine ?
This is fine. I would only worry about sharing irqs with hardware that
would compete for interrupt time, like a network controller or disk
controller.

 At the same time, I'm seeing timing slips as with:
 The rate is 3 slips/minute.
 Has this figure any meaning (I don't have any other card to compare with) ?
3 slips a minute is too high. You'll likely hear audio artifacts like
clicks or pops if you were listening to audio on the line.
This may give you a bit more info on acceptable slip rates.
http://www.youtube.com/watch?v=2UNfzEuv1uk#t=1578

 my_handle_dchan_exception: PRI got event: HDLC Abort (6) on D-channel of
 Thoughts ?
HDLC aborts are a symptom of timing slips, typically.

If you're legitimately recovering timing from the network properly,
then I would look at what the upstream provider is doing. Your
provider should be able to run long term loop/pattern tests to your
smartjack to determine link quality issues.

-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] B410P BRI card testing with patgen / pattest

2014-01-29 Thread Russ Meyerriecks
On Tue, Jan 28, 2014 at 11:56 AM, Rodrigo Borges Pereira
rodrigoborgespere...@gmail.com wrote:

 (.Error 44119): Unexpected result, 255 != 0, 1 bytes since last error.

 Would this be the kind of output that matches a problem card or something
 may be wrong in my setup? I'm using DAHDI 2.8.0.1.

patlooptest works by sending an incremental sequence of bytes down the
transmit side (1,2,3,4,...). Then on the receive side, it watches for
the same sequence.

In this case, you aren't receiving any valid patterns.
It's likely a configuration error (unless the card is known bad). You
might try double checking your test procedure.

-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] B410P BRI card testing with patgen / pattest

2014-01-29 Thread Russ Meyerriecks
On Wed, Jan 29, 2014 at 3:56 PM, Rodrigo Borges Pereira
rodrigoborgespere...@gmail.com wrote:
 Actually this was with pattest and patgen, not patlooptest. I don't know if
 I can use patlooptest with B410P, should I?

Sorry for the confusion. They all do the same thing. Patlooptest is
patgen + pattest combined into one program. Just use whichever is
easiest for your scenario.


-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] patlooptest output - errors

2014-01-14 Thread Russ Meyerriecks
On Tue, Jan 14, 2014 at 11:58 AM, Rodrigo Borges Pereira
rodrigoborgespere...@gmail.com wrote:

 Cause for concern?

For patlooptest ensure that:
- Your ethernet cable is straight through and not crossover
- The span you're testing is set to provide timing, not recover
- In dahdi_tools you can make utils and just use dahdi_maint to put
the card into loopback without messing with cables.


-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] patlooptest output - errors

2014-01-14 Thread Russ Meyerriecks
On Tue, Jan 14, 2014 at 12:54 PM, Rodrigo Borges Pereira
rodrigoborgespere...@gmail.com wrote:
 Interestingly, span 2 goes into loop mode, but patlooptest can't access it:

 patlooptest /dev/dahdi/2 -t 300 -v
 /dev/dahdi/2: Device or resource busy

 And I do not have Asterisk running.
You should be able to use lsof /dev/dahdi/2 to find out what process
has the file open.

 So I
 am a bit confused in what's the most correct way of doing this kind of
 tests. patlooptest + physical loopback? patlooptest alone? physical loopback
 with some other method?
Physical loopback devices are nice because they encompass the cable
into testing.
Digital loopbacks are nice because you don't have to get up from your
desk and plug something in :-) We use them a lot in our automated
testing.

One other thing to note. Sometimes patlooptest can be starved by the
process scheduler. When this happens, it won't have enough time to
produce or consume all the sequential bytes that it needs to. Then it
will report errors. You can try increasing the scheduler priority
with:
chrt 99 patlooptest span ...

-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] Trouble with upgrading - RBS T1

2013-12-10 Thread Russ Meyerriecks
:41] DTMF[5283] channel.c: DTMF end '6' received on
 DAHDI/9-1, duration 80 ms
 [Dec  5 00:51:41] DTMF[5283] channel.c: DTMF end '0' received on
 DAHDI/9-1, duration 80 ms
 [Dec  5 00:51:41] DTMF[5283] channel.c: DTMF end '0' received on
 DAHDI/9-1, duration 80 ms

 And '715-7600' is the DID number I dialed.  So why is the new box
 immediately answering the call before it gets all the ANI digits?  I've
 poured over all Sangoma's docs online for debugging RBS lines - I'm not
 having any transmission errors, no overruns, and even the audio of 'invalid
 extension' seems clear before it hangs up on me.

 The next maintenance window I swapped out the A104D for a Digium TE122.
 Exactly the same issue!  Some problem with Dahdi then?

 Any ideas?

 Thanks,

 Jeff LaCoursiere
 SunFone

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

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



 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

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



-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] Troubleshooting TDMs (Packet capture like debugging)

2013-12-05 Thread Russ Meyerriecks
On Thu, Dec 5, 2013 at 9:43 AM, James Bensley jwbens...@gmail.com wrote:
 If I re-route traffic away from this box (having never installed DAHDI
 before) can I simply shutdown Asterisk, checkout the latest SVN,
 compile, reload the kernel module and restart Asterisk?

The dahdi project moved from svn to git about a year ago. The existing
dahdi svn repo is stale and is for archival purposes only. Here is a
quickstart that should get you up and running with the dahdi git repo:

https://wiki.asterisk.org/wiki/display/DAHDI/Quick+Start+From+Source

You might want to skip the dahdi_genconf system step, as it will
overwrite your current /etc/dahdi/system.conf configuration.

Good luck!
-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] DAHDI-Linux and DAHDI-Tools 2.8.0-rc5 Now Available

2013-12-04 Thread Russ Meyerriecks
On Wed, Dec 4, 2013 at 9:03 AM, Tech Support aster...@voipbusiness.us wrote:

 Is there a general timeframe for when you think a stable 2.8.0 release will 
 be available?

v2.8.0 will probably be released within a week.

There is a bit more churn on this release cycle due to:
* Accommodating all stakeholders
* Circumstances outside of our control (centos 6.5 kernel backporting)
* Me mis-tagging a couple releases :-P

The dahdi project development philosophy is to strive to keep the
master branch and tagged releases stable and production ready. This
includes the release candidates.

-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] dahdi-tools 2.8.0-rc4 - udev rules not installed?

2013-12-03 Thread Russ Meyerriecks
This is why we love release candidate feedback! Thanks! I've managed to
mis-tag rc4 and missed all of Oron's commits.

Cutting a v2.7.0.2 and a (correct) v2.8.0-rc5 today.


On Mon, Dec 2, 2013 at 11:10 PM, Patrick Lists 
asterisk-l...@puzzled.xs4all.nl wrote:

 Hi,

 I just looked at 2.8.0-rc4 and noticed the udev rules/apps change which
 are now supposed to be part dahdi-tools. After make, make install and
 make config it seems the dahdi.rules are not installed. I couldn't find
 a reference to it in the Makefile either. Did I miss something or has
 the move to dahdi-linux not yet been completed?

 Regards,
 Patrick

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

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




-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] Problems compiling dahdi modules

2013-12-02 Thread Russ Meyerriecks
This is fixed on the dahdi-linux master branch and will be included in the
next release:

More info:
http://git.asterisk.org/gitweb/?p=dahdi/linux.git;a=summary
http://git.asterisk.org/gitweb/?p=dahdi/linux.git;a=commitdiff;h=5ec9d756aac1a0eb5c1f48eb110e80946b43f41a
https://issues.asterisk.org/jira/browse/DAHLIN-330


On Mon, Dec 2, 2013 at 8:37 AM, Matias Kreder mkre...@gmail.com wrote:

 Hi,

 I am having the following issue after upgrading the kernel in a CentOS
 machine.

 [root@localhost dahdi-linux-complete-2.7.0.1+2.7.0.1]# make
 make -C linux all
 make[1]: Entering directory
 `/usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux'
 make -C drivers/dahdi/firmware firmware-loaders
 make[2]: Entering directory
 `/usr/src/dahdi-linux-complete-2.7.0.1+
 2.7.0.1/linux/drivers/dahdi/firmware'
 make[2]: Leaving directory
 `/usr/src/dahdi-linux-complete-2.7.0.1+
 2.7.0.1/linux/drivers/dahdi/firmware'
 make -C /lib/modules/2.6.32-431.el6.x86_64/build
 M='/usr/src/dahdi-linux-complete-2.7.0.1+
 2.7.0.1/linux/drivers/dahdi/oct612x'
 make[2]: Entering directory `/usr/src/kernels/2.6.32-431.el6.x86_64'
   Building modules, stage 2.
   MODPOST 0 modules
 make[2]: Leaving directory `/usr/src/kernels/2.6.32-431.el6.x86_64'
 make -C /lib/modules/2.6.32-431.el6.x86_64/build
 SUBDIRS=/usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux/drivers/dahdi
 DAHDI_INCLUDE=/usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux/include
 DAHDI_MODULES_EXTRA=  HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
 make[2]: Entering directory `/usr/src/kernels/2.6.32-431.el6.x86_64'
   CC [M]  /usr/src/dahdi-linux-complete-2.7.0.1+
 2.7.0.1/linux/drivers/dahdi/dahdi-base.o
 In file included from
 /usr/src/dahdi-linux-complete-2.7.0.1+
 2.7.0.1/linux/drivers/dahdi/dahdi-base.c:66:
 /usr/src/dahdi-linux-complete-2.7.0.1+
 2.7.0.1/linux/include/dahdi/kernel.h:1407:
 error: redefinition of ‘PDE_DATA’
 include/linux/proc_fs.h:328: note: previous definition of ‘PDE_DATA’ was
 here
 make[3]: *** [/usr/src/dahdi-linux-complete-2.7.0.1+
 2.7.0.1/linux/drivers/dahdi/dahdi-base.o]
 Error 1
 make[2]: *** [_module_/usr/src/dahdi-linux-complete-2.7.0.1+
 2.7.0.1/linux/drivers/dahdi]
 Error 2
 make[2]: Leaving directory `/usr/src/kernels/2.6.32-431.el6.x86_64'
 make[1]: *** [modules] Error 2
 make[1]: Leaving directory `/usr/src/dahdi-linux-complete-2.7.0.1+
 2.7.0.1/linux'
 make: *** [all] Error 2

 I have the correct kernel-devel and kernel-headers version installed

 # uname -a
 Linux localhost.localdomain 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22
 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
 # rpm -q kernel-devel
 kernel-devel-2.6.32-431.el6.x86_64
 # rpm -q kernel-headers
 kernel-headers-2.6.32-431.el6.x86_64

 Regards
 Matias

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

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




-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] Problems compiling dahdi modules

2013-12-02 Thread Russ Meyerriecks
There is a 100% chance that this will be rolled into v2.8.0-rc3 :-)


On Mon, Dec 2, 2013 at 9:26 AM, Patrick Lists 
asterisk-l...@puzzled.xs4all.nl wrote:

 On 12/02/2013 04:19 PM, Russ Meyerriecks wrote:
  This is fixed on the dahdi-linux master branch and will be included in
  the next release:
 
  More info:
  http://git.asterisk.org/gitweb/?p=dahdi/linux.git;a=summary
 
 http://git.asterisk.org/gitweb/?p=dahdi/linux.git;a=commitdiff;h=5ec9d756aac1a0eb5c1f48eb110e80946b43f41a
  https://issues.asterisk.org/jira/browse/DAHLIN-330

 Thanks Russ. Any chance there will be a v2.8.0-rc3 release with these
 fixes?

 Regards,
 Patrick

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

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




-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] issue after install dahdi

2013-10-23 Thread Russ Meyerriecks
On Wed, Oct 23, 2013 at 11:27 AM, Salaheddine Elharit 
salah.elharit...@gmail.com wrote:

 hi

 the issue has been solved after change the span from span =1,1,0,ccs,hdb3
 to span =1,0,0,ccs,hdb3
 thanks for everyone


Salaheddine,

Just a comment here: I'm not sure who your spans are connected to but, it
is highly unlikely that this changed is what fixed your problem. I think
it's more likely that the process of reloading something else actually
fixed it. What you are doing here is telling span 1 to provide (or ignore)
timing to the other end. If it's the case that you're connected to a public
e1 pri provider, this probably isn't the correct configuration and will
likely cause further problems like slips and alarms. If it's connected to
something internal to your business, (like a channel bank), then it's fine.

-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] CAS E1 signalling

2013-10-17 Thread Russ Meyerriecks
On Thu, Oct 17, 2013 at 7:53 AM, Johan Wilfer li...@jttech.se wrote:

1. In asterisk can I get the channel-number of the call so I can have
 different logic for the different channels?

Sure, I guess I would just create different incoming contexts for your
various channels in chan_dahdi.conf. Or you could write some dialplan foo.



 2. How do I handle answer / hangup with CAS?  Will DAHDI keep this
 channels up, or should I query the state of the channels (how?) and bring
 them up myself if they are down (Dial?)

DAHDI will interpret the CAS signalling and pass those up to userspace as
hookstates. All of this should be seamless to you as an Asterisk user. The
usual channel Answer() and Hangup() is all that's needed, just like on any
other type of channel.

Have fun

-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] loop-start and ground-start

2013-10-05 Thread Russ Meyerriecks
 First of all could you please explain loop-start and ground-start for me?
 What are they used for?

Loop start is the simplest type of analog phone signalling. It's used to
connect an FXS (like a central office) with a very simple FXO device (like
a handset). In this signalling mode, the FXS device basically sends a DC
current down the line to the FXO. When the FXO device (handset) goes
offhook, it shorts both wires (tip and ring). The FXS device will then
detect this offhook state from the DC current that returns on the loop.

Kewl start is Asterisk's name for Loop Start with the disconnect
supervision feature. This is most likely what you want to select over
regular loop start. http://en.wikipedia.org/wiki/Disconnect_supervision

Ground start is typically used to connect an FXS (like a central office) to
something more complicated like a PBX. In this signalling mode, both
devices are able to provide a DC current on the line. This affords some
extra line supervision options that are handy to have with a PBX. From what
I understand, this is a pretty rare mode these days ...


 Next, I have the following configurations:



 dahdi-channels.conf :

 context=pstn-channels
 signalling=fxs_ks
 channel=130
 context=phone-channels
 signalling=fxo_ks
 channel=127

 chan_dahdi.conf :

 [channels]
 cidsignalling=dtmf
 cidstart=dtmf

 signalling=fxo_ls
 pulsedial=no
 usecallerid=yes
 context=pstn-channels
 channel=130

Signalling is determined by the device you want to signal TO. So if channel
130 is connected to the pstn, you likely want fxs signalling. This would
mesh with how you have dahdi-channels.conf and /etc/dahdi/system.conf.


 signalling=fxs_ls
 context=phone-channels
 channel=127

Same here as above. If channel 127 is connected to phones (fxo) you
probably want fxo signalling here.
Also, dahdi-channels.conf is generated by dahdi's best guess and is
typically intended to be #included at the bottom of chan_dahdi.conf. Not
sure if you left that out on purpose.



 extensions.conf :

 [pstn-channels]
 exten=_.,1,Dial(DAHDI/127/${EXTEN})

 [phone-channels]
 exten=_.,1,Dial(DAHDI/130/${EXTEN})

 /dahdi/system.conf
 fxoks=125-128
 fxsks=129-132

 I can hear the dial tone from the phone with these configurations. As soon
 as I comment signalling type in chan_dahdi.conf, dial tone comes up.
 What's the problem with these configurations?


 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

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




-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] problem to install asterisk on vps digitalocean

2013-06-04 Thread Russ Meyerriecks
On Tue, Jun 04, 2013 at 12:09:24PM -0600, troxlinux wrote:
 You do not appear to have the sources for the
 2.6.32-358.6.2.el6.x86_64 kernel installed.  make: ***
 [modules] Error 1

What is the output of:
ls -lat /lib/modules/`uname -r`/build
and
ls -lat /lib/modules/`uname -r`/build/

-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] problem to install asterisk on vps digitalocean

2013-06-04 Thread Russ Meyerriecks
On Tue, Jun 04, 2013 at 12:50:41PM -0600, troxlinux wrote:
  ls -lat /lib/modules/`uname -r`/build
 lrwxrwxrwx 1 root root 50 May 23 13:06
 /lib/modules/2.6.32-358.6.2.el6.x86_64/build -
 ../../../usr/src/kernels/2.6.32-358.6.2.el6.x86_64
This looks good.

 ls -lat /lib/modules/`uname -r`/build/
 total 8
 drwxr-xr-x 3 root root 4096 May 24 22:02 ..
 drwxr-xr-x 2 root root 4096 May 23 19:50 .
 lrwxrwxrwx 1 root root   48 May 23 19:50
 linux-headers-2.6.32-358.6.2.el6.x86_64 -
 /usr/src/linux-headers-2.6.32-358.6.2.el6.x86_64
 lrwxrwxrwx 1 root root   34 May 23 19:34 2.6.32-358.6.2.el6.x86_64 -
 kernels/2.6.32-358.6.2.el6.x86_64/
Oops. It looks like your build directory didn't get setup
correctly. I'd take a look at your -devel and -headers rpms to
see what's up.

As a workaround, you may be able to specify your headers directly
with:
KSRC=/usr/src/linux-headers-2.6.32-358.6.2.el6.x86_64 make

Also, thanks for using -rc! It really helps us out.
-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] problem to install asterisk on vps digitalocean

2013-06-04 Thread Russ Meyerriecks
On Tue, Jun 04, 2013 at 01:33:56PM -0600, troxlinux wrote:
 thnk Russ , I have seen the Makefile, but I see many KSRC, where exactly would
 put
 
 KVERS:=$(shell uname -r)
 endif
 ifndef KSRC
   ifneq (,$(wildcard /lib/modules/$(KVERS)/build))
 KSRC:=/lib/modules/$(KVERS)/build
   else
 KSRC_SEARCH_PATH:=/usr/src/linux
 KSRC:=$(shell for dir in $(KSRC_SEARCH_PATH); do if [ -d $$dir ]; then
 echo $$dir; break; fi; done)
   endif
 endif

No need to modify the Makefile. (Unless you really want to). Just
use the following command at your prompt. Bash will pass in the
KSRC variable into the make system.

KSRC=/usr/src/linux-headers-2.6.32-358.6.2.el6.x86_64 make

Also, you might try forcing a reload of the -devel package, then
seeing if that fixes the build directory.

-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] problem to install asterisk on vps digitalocean

2013-06-04 Thread Russ Meyerriecks
On Tue, Jun 04, 2013 at 01:59:05PM -0600, troxlinux wrote:
 Hi here again, I've tried both ways
 
 [root@shark dahdi-linux-2.6.3-rc1]#
 KSRC=/usr/src/linux-headers-2.6.32-358.6.2.el6.x86_64 make
 make -C drivers/dahdi/firmware firmware-loaders
 make[1]: Entering directory
 `/usr/src/dahdi-linux-2.6.3-rc1/drivers/dahdi/firmware'
 make[1]: Leaving directory
 `/usr/src/dahdi-linux-2.6.3-rc1/drivers/dahdi/firmware'
 You do not appear to have the sources for the 2.6.32-358.6.2.el6.x86_64
 kernel installed.
 make: *** [modules] Error 1

Let us see the following:
ls -lat /usr/src/linux-headers-2.6.32-358.6.2.el6.x86_64

-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] problem to install asterisk on vps digitalocean

2013-06-04 Thread Russ Meyerriecks
On Tue, Jun 04, 2013 at 02:53:07PM -0600, troxlinux wrote:
  ls -lat /usr/src/linux-headers-2.6.32-358.6.2.el6.x86_64
 ls: cannot access /usr/src/linux-headers-2.6.32-358.6.2.el6.x86_64: No such
 file or directory
Oops. I got turned around by that broken symlink.

Okay, i'm pretty sure your -devel package isn't installed correctly. Try to use 
yum to remove the -devel package and re-install it. Then check if the 
/lib/modules/`uname -r`/build directory was installed correctly.

As a workaround, the following might work:
Check to make sure that this file exists:
/usr/src/kernels/2.6.32-358.6.2.el6.x86_64/.config

If so, then try:
KSRC=/usr/src/kernels/2.6.32-358.6.2.el6.x86_64/ make

-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] DAHDI 2.6 and OPENVOX cards

2013-06-03 Thread Russ Meyerriecks
On Mon, Jun 03, 2013 at 06:34:42PM +0300, Mordechay Kaganer wrote:
 The card is recognized by DAHDI as 'Wildcard TE410P (2nd Gen)' and it uses
 wct4xxp driver.

What's the output of 'lspci -n' ?

-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] DAHDI 2.6 and OPENVOX cards

2013-06-03 Thread Russ Meyerriecks
On Mon, Jun 03, 2013 at 07:46:42PM +0300, Mordechay Kaganer wrote:
 # lspci -n
 04:01.0 0780: d161:0410 (rev 02)
 
 #lspci
 04:01.0 Communication controller: Digium, Inc. Wildcard TE410P/TE412P
 quad-span T1/E1/J1 card 3.3V (rev 02)

Strange that another manufacturer is using Digium's pci vendor and device
ids. This is not a bug in DAHDI. If this card ever worked with DAHDI, it's
only by coincidence. You'll probably need to contact your manufacturer for
support.

-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] erro compiling dahdi

2013-04-16 Thread Russ Meyerriecks
On Tue, Apr 16, 2013 at 09:03:21PM +0200, Jonas Kellens wrote:
 when compiling dahdi (CentOS 2.6.18-348.3.1.el5) I get the following error :
 
 /usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/xpp/xdefs.h:152:
 error: conflicting types for 'bool'

This is fixed in dahdi 2.6.2

-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] Getting compilation error while installing Dhadi

2013-02-27 Thread Russ Meyerriecks
 error: conflicting types for âboolâ
 include/linux/types.h:36: error: previous declaration of âboolâ was here

This issue is resolved by the latest dahdi-linux release 2.6.2-rc1.

You can download a tarball of the release here:
http://downloads.asterisk.org/pub/telephony/dahdi-linux/dahdi-linux-2.6.2-rc1.tar.gz

Or you can check out the v2.6.2-rc1 tag from git:
git clone git.asterisk.org/dahdi/linux dahdi-linux
cd dahdi-linux
git checkout v2.6.2-rc1

-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] dahdi-linux dahdi-tools and libpri/libpri-

2013-02-15 Thread Russ Meyerriecks
 /usr/src/dahdi-linux-2.6.1/drivers/dahdi/xpp/xdefs.h:152: error:
 conflicting types for âboolâ

This issue is resolved by the latest dahdi-linux release 2.6.2-rc1.

You can download a tarball of the release here: 
http://downloads.asterisk.org/pub/telephony/dahdi-linux/dahdi-linux-2.6.2-rc1.tar.gz

Or you can check out the v2.6.2-rc1 tag from git:
git clone git.asterisk.org/dahdi/linux dahdi-linux
cd dahdi-linux
git checkout v2.6.2-rc1

-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] weird RED alarm on FXO channel

2013-02-04 Thread Russ Meyerriecks
On Mon, Feb 04, 2013 at 04:23:21PM -0500, neo haux wrote:
 I have a recurrent problem on my asterisk box. I have VIA Samuel 2 as a
 CPU. With  asterisk v11.1.0 and dahdi-linux-complete-2.6.1+2.6.1 compiled
 from source.
 
 I get a RED alrm drom the port 1( FXO) two or three times per day:

If your red alarms are originating from call alarm transitions that get
stuck, you could try dahdi-linux 2.6.2-rc1. It has a patch that addresses a
stuck red alarm.

Tarball:
http://downloads.asterisk.org/pub/telephony/dahdi-linux/dahdi-linux-2.6.2-rc1.tar.gz

Git source:
git://git.asterisk.org/dahdi/linux.git

Patch that fixes stuck red alarms:
http://git.asterisk.org/gitweb/?p=dahdi/linux.git;a=commitdiff;h=8bf04348963b440b57e308fdec6cc57c64fcdd3f

-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] Unable to build DAHDI

2013-01-04 Thread Russ Meyerriecks
Looks like this issue:

https://issues.asterisk.org/jira/browse/DAHTOOL-60

-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] bug? 'dahdi show channel x' HWEC echo cancellation display is incorrect while not on a call

2012-12-20 Thread Russ Meyerriecks
On Thu, Dec 20, 2012 at 03:13:01PM -0800, Justin Killen wrote:
 When doing a 'dahdi show channel X' from the asterisk console, when the line
 is not part of a call the echo cancellation line ALWAYS says 'currently OFF'.
 Once a call is in progress, it will change to 'ON'.  Is this a bug, or is the
 behavior by design?

This is expected behavior. From a DAHDI perspective: The echocan chip's
channels are allocated on demand during channel setup and de-allocated on
channel teardown.

-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] USB FXS device

2012-10-31 Thread Russ Meyerriecks
On Wed, Oct 31, 2012 at 01:38:54PM -0500, Jeff LaCoursiere wrote:
 Anyone manage to make one of these work *on* an asterisk server?
 Have been researching most of the morning and have only found
 windows-centric devices that talk SIP to asterisk (of course).  I
 want one that has a Linux driver that preferably could be an
 asterisk channel itself.  WIthout spending a gazillion dollars of
 course :)

Xorcom's Astribanks have native support in DAHDI
http://www.xorcom.com/telephony-interfaces/astribank-usb-channel-banks.html

-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] Stopping dahdi: Unloading DAHDI hardware modules: ERROR: Module dahdi is in error

2012-10-30 Thread Russ Meyerriecks
On Tue, Oct 30, 2012 at 03:17:01AM -0500, Jared Baxley wrote:
 This issue has been ongoing for some months.. but never really bothered me.
 However Now I'm experiencing random system lockups which require a hard
 reset to bring the system back up.
It maybe worth running some integrity checks. You could have a bad disk or 
memory.

 PRI card is a Sangoma B601 with HEC ... of which I have another using
 without this issue.
I'm not sure in what way Sangoma modifies DAHDI but from the oops it looks like
maybe the card's base driver is unregistering incorrectly on a shutdown, then
_process_masterspan is running in a broken context. I think your best bet here
would be to contact Sangoma tech support directly.

-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] DAHDI and Tiger320 Chip

2012-10-26 Thread Russ Meyerriecks
On Thu, Oct 25, 2012 at 10:46:12AM -0200, Antonio Modesto wrote:
 Hi,
 
 I've got a ISDN Interface: *Tiger Jet* Network Inc. Tiger3XX Modem/ISDN
 interface, I'm trying to use it with DAHDI 2.6 but it doesn't work, I'm
 thinking that dahdi doesn't support this device, I've loaded all of
 available dahdi drivers and none of them worked. Does anybody know what I
 can do to use it with DAHDI/Asterisk? I load dahdi and the modules, but it
 doesn't recognize any channel under /dev/dahdi/*

DAHDI hasn't officially supported any card with the tigerjet chip in many
years. Just for giggles, I threw in an old Digium TC400 and it is broken in
trunk. If you're looking for analog connectivity, you might check out our 410
line: http://www1.digium.com/en/products/telephony-cards/analog/4-port


-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] DAHDI and Tiger320 Chip

2012-10-26 Thread Russ Meyerriecks
On Fri, Oct 26, 2012 at 02:46:22PM -0500, Russ Meyerriecks wrote:
 I threw in an old Digium TC400
Oops, I meant tdm400p. The tc400 works great :O)

-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] DAHDI 2.6.1 and Kernel 2.6.18-308.16.1.el5

2012-10-05 Thread Russ Meyerriecks
On Fri, Oct 05, 2012 at 12:01:58PM -0500, Vladimir Mikhelson wrote:
 I do not seem to be able to compile DAHDI 2.6.1 against the new kernel
 as well.
 
 See https://issues.asterisk.org/jira/browse/ANOW-168 and
 https://issues.asterisk.org/jira/browse/DAHLIN-303

According to your build output, you have successfully built dahdi. Are you
having trouble running dahdi?

-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] On which kernel version the DAHDI-2.0 release will work ??

2012-10-04 Thread Russ Meyerriecks
On Thu, Oct 04, 2012 at 07:40:57PM +0530, upendra wrote:
 Hi,
 
 
 Can any one tell me on which linux kernel version i can compile and run the
 DAHDI-2.0 release and test it .

Probably 2.6.18 is your best bet. I'm genuinly curious as to why you would want
to run a version of dahdi from four years ago?

-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] problem with 8 port card

2012-07-30 Thread Russ Meyerriecks
On Mon, Jul 30, 2012 at 04:32:16PM +0530, akhilesh chand wrote:
 Hi,
 After upgrading the dahdi-Linux now I'm get failed probing type for channel
 1 at /usr/lib/perl5/site_perl/5.8.8/dahdi/config/gen/system.pm
This could be an incorrect dahdi-tools version problem.

 
 Regards
 Akhilesh
 
 On Monday, July 30, 2012, akhilesh chand wrote:
 
  Hi,
  I'm not able to configure 8 port card whenever I configure it is showing
  fatal: error inserting
  wct4xxp(/lib/modules/2.6.18-128.el5/dahdi/wct4xxp/wct4xxp.ko):unknown
  symbol in module, or unknown parameter
This is because dahdi-linux was built against a different kernel version from 
the one you're running.

 
  Please help.
 
  Regards
  Akhilesh
 
 

These are pretty general support questions. The fastest way for you to resolve
these sort of install issues would be to contact your card's manufacturer. They
should be able to walk you through any specific installation issues you may be
having, very quickly. 

-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] DAHDI problems

2012-07-24 Thread Russ Meyerriecks
On Tue, Jul 24, 2012 at 01:45:01PM -0300, equis software wrote:
 Is a normal functionality?
 when I do
 #dahdi_cfg -vv
 If I do this a lot of times...then
In rapid succession, or over spread out over a long timeframe?

 [Jul 24 13:39:22] WARNING[30264]: chan_dahdi.c:4332 handle_alarms: Detected
 alarm on channel 1: Yellow Alarm
 .
 .
Is the channel hanging in yellow indefinitly?


-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] DAHDI problems

2012-07-24 Thread Russ Meyerriecks
On Tue, Jul 24, 2012 at 02:36:04PM -0300, equis software wrote:

 The alarm clrears few seconds later...

Then I don't see anything wrong here? You're just re-configuring the span and
the pri stack is dealing with the temporary outage.

-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] TDM400P: Lifetime Replacement

2012-05-08 Thread Russ Meyerriecks
On Mon, May 07, 2012 at 10:10:24AM -0600, Greg Woods wrote:
 On Mon, 2012-05-07 at 10:26 -0500, Russ Meyerriecks wrote:
  On Sun, May 06, 2012 at 10:42:16AM -0600, Greg Woods wrote:
   I have a Digium TDM400P card that appears to have died. The first noted
   symptoms were that dahdi would fail to reload on boot. On closer
   inspection, the card looks totally dead; no lights on at all.
  
  Does the device show up in lspci?
 
 I just checked, and as expected, it does not show up with lspci (all of
 the other PCI devices do).

Greg,

There were a few compatability issues with the tdm400's pci interface chip
and certain motherboards. Before you start writing its eulogy, I would pull
all the modules off and plug it into a separate server to check for lspci
enumeration again.

-- 
Russ Meyerriecks
Digium, Inc. | Brogrammer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] TDM400P: Lifetime Replacement

2012-05-07 Thread Russ Meyerriecks
On Sun, May 06, 2012 at 10:42:16AM -0600, Greg Woods wrote:
 I have a Digium TDM400P card that appears to have died. The first noted
 symptoms were that dahdi would fail to reload on boot. On closer
 inspection, the card looks totally dead; no lights on at all.

Does the device show up in lspci?

-- 
Russ Meyerriecks
Digium, Inc. | Brogrammer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] disable dahdi pri

2012-03-15 Thread Russ Meyerriecks
On Thu, Mar 15, 2012 at 05:44:53PM +0100, Johann Steinwendtner wrote:

 is there a way to disable a span for maintenance purpose (i.e. send yellow 
 alarm) ?
This could be a good feature to add to the dahdi_maint utility.

 What would be the correct ioctl definition ? DAHDI_MAINT seems not to be the 
 right
 candidate.
You could add an additional context in the DAHDI_MAINT ioctl handler of your
base card to set/unset the yellow alarm bit in the framer. For an example, see
the Yellow Alarm handler in t4_check_alarms() and the DAHDI_MAINT ioctl handler
in t4_maint() in drivers/dahdi/wct4xxp/base.c

 Would DAHDI_SHUTDOWN send an alarm ?
No. This will shutdown the entire card.

-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] Timing Slips CRC E-Bit Errors - Asterisk - Trixbox 2.8.0.4

2012-01-23 Thread Russ Meyerriecks
On Mon, Jan 23, 2012 at 01:16:51PM -0500, Liban Abdi wrote:
 Hi,
 
 I've searched and searched on the possible problems. If anyone can help me
 that would be great.
 
 
 Span 1: TE2/0/1 T2XXP (PCI) Card 0 Span 1 (MASTER) B8ZS/ESF
 CRC4 error count: 4750
 E-bit error count: 5023
 Timing slips: 72
 

The two main causes of timing problems:
1) Misconfiguration with the device on the other side of the link
2) Physical defect in the link itself 

Assuming you are hooked up with a T1 provider, you can contact their support
and run a number of loop tests to determine the cause.

-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] How does Digium Repo install Dahdi on a virtual container while I can't do the same trying from source install?

2012-01-16 Thread Russ Meyerriecks
On Mon, Jan 16, 2012 at 01:41:30PM -0500, asterisk jobs wrote:
 1- Based on above error and Google search I have concluded that dahdi-linux
 module should be installed on mother node. So, I am puzzled. How does
 Digium yum repository achive this without acessing the mother node?
The repo files are pre-compiled and do not require the kernel headers. If you
wish to compile dahdi from source, you'll need access to the same headers your
VM is running.

 
 2- Do I even need Dahdi, if the server doesn't connect to PSTN at all and
 it's all SIP? If yes, what do I need it for?
Dahdi is a set of drivers for telephony hardware. You won't need it for pure
sip Asterisk implementations.

-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] dahdi: Unknown symbol kasprintf

2011-12-21 Thread Russ Meyerriecks
On Wed, Dec 21, 2011 at 12:50:09AM -0800, Vieri wrote:
 When I compile dahdi I see these warnings:
 
 WARNING: kasprintf 
 [dahdi-linux-2.5.0.2/drivers/dahdi/wctdm24xxp/wctdm24xxp.ko] undefined!
 WARNING: kasprintf [dahdi-linux-2.5.0.2/drivers/dahdi/dahdi.ko] undefined!
  
 And modinfo dahdi shows that the driver was built for a 2.6.17 kernel,  SMP 
 mod_unload 586 4KSTACKS gcc-4.1

What distro are you running?

-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] Errors on RBS T1

2011-12-16 Thread Russ Meyerriecks
- Original Message -
 From: Jeff LaCoursiere j...@sunfone.com
 I am seeing errors accumulate on an RBS T1 and am wondering what to
 make
 of them:

Could we take a peek at /etc/dahdi/system.conf and /proc/dahdi/1 ?

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] Digium TE205P leds flash red on startup

2011-12-15 Thread Russ Meyerriecks
- Original Message -
 From: Vieri rentor...@yahoo.com

 As soon as I boot the machine, the card's leds flash red (ports 1 and
 2) - even when in the BIOS.
 
 That's not good, right?

This is normal, no need to be concerned.

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] Any Method for capturing ISUP packets in DAHDI/ASTERISK

2011-08-18 Thread Russ Meyerriecks
On Wed, Aug 17, 2011 at 10:51:48AM +0530, DHAVAL INDRODIYA wrote:
 Hi Russ,
 
 I have tried given patch and successfully compiled dahdi_pcap but when i try
 to run below command it gives me error.
 
 *./dahdi_pcap lapd 16 test.pcap *
 
 error setting channel err=-1!
 error setting channel err=-1!
 error setting channel err=-1!
 error setting channel err=-1!
 Segmentation fault
 
 I have TE112 Card configured on my machine.
 
 Regards
 Dhaval

1) Try ./dahdi_pcap -p lapd 16 test.pcap but i'll assume that's a typo

2) Make sure you #define CONFIG_DAHDI_MIRROR in
drivers/dahdi/dahdi-base.c That's an error I might expect to see if the
DAHDI_RXMIRROR or DAHDI_TXMIRROR ioctl's weren't enabled.

-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] Any Method for capturing ISUP packets in DAHDI/ASTERISK

2011-08-11 Thread Russ Meyerriecks
On Thu, Aug 11, 2011 at 11:57:46AM +0530, DHAVAL INDRODIYA wrote:
 Hi All,
 
 I want packets [request/response] capture for ISUP packets , i have E1 line
 terminated to my digium card
 i just want a packets flow between my machine and teleco side, is any tool
 or utility [command] availabele for
 observation this packets and data.

This issue and patch added pcap support for a guy who wanted to monitor
ss7 traffic. You'll need to use dahdi 2.5. You'll also need to compile
the dahdi_pcap program on your own, or write a script to exercise the
DAHDI_RXMIRROR and DAHDI_TXMIRROR ioctl's. This is an unsupported
interface.

-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] Any Method for capturing ISUP packets in DAHDI/ASTERISK

2011-08-11 Thread Russ Meyerriecks
On Thu, Aug 11, 2011 at 12:43:43PM -0500, Russ Meyerriecks wrote:
 On Thu, Aug 11, 2011 at 11:57:46AM +0530, DHAVAL INDRODIYA wrote:
  Hi All,
  
  I want packets [request/response] capture for ISUP packets , i have E1 line
  terminated to my digium card
  i just want a packets flow between my machine and teleco side, is any tool
  or utility [command] availabele for
  observation this packets and data.
 
 This issue and patch added pcap support for a guy who wanted to monitor
 ss7 traffic. You'll need to use dahdi 2.5. You'll also need to compile
 the dahdi_pcap program on your own, or write a script to exercise the
 DAHDI_RXMIRROR and DAHDI_TXMIRROR ioctl's. This is an unsupported
 interface.

Forgot to link to the feature request:
https://issues.asterisk.org/view.php?id=16831

-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com  www.asterisk.org

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] Page() bumps user out of a call

2011-06-14 Thread Russ Meyerriecks

On 6/14/11 9:26 AM, Cassius Smith wrote:

Hello all,
I'm having a problem with my intercom function that I use for under-chin
paging. I'm running 1.6.2.13 on this server, and we use Linksys SPA-942's
for our general phones. I have a global defined which has all the SIP
channels concatenated together - this is ${ALL-PAGE-EXTS}.

The problem comes when a user is on the line, and someone else uses the
intercom function to page all extensions, the call in progress gets
disconnected. I'm wondering if there is a way to either:
1. dynamically figure out the subset of extensions that are not in a call,
or
2. use some other function that will not bump a call?

Has anyone else run into this?

Thanks
Cassius

Here is my intercom context:

[intercom]
exten =  s,1,Answer
exten =  s,n,Playback(beep)
exten =  s,n,Set(TIMEOUT(digit)=5)
exten =  s,n,WaitExten(10)

exten =  t,1,NoOp(timeout)
exten =  t,n,Playback(sorry-youre-having-problemsgoodbye)
exten =  t,n,Hangup()

exten =  *,1,SIPAddHeader(Call-Info:sip:${SERVER_IP}\;answer-after=0)
exten =  *,n,Page(${ALL-PAGE-EXTS}) ; add all your devices here

exten =  _,1,SIPAddHeader(Call-Info:
sip:${SERVER_IP}\;answer-after=0) ; 4 digit extensions
exten =  _,n,Dial(SIP/${EXTEN})


Hey Cassius!
  Nice to hear from you, what crazy country are you deploying Asterisk 
in now? You might want to checkout the DEVICE_STATE() function. Should 
be able to build your ALL-PAGE-EXTS while leaving out the busy 
extensions. Probably not the best solution, but the first one I thought of.


--
Russ Meyerriecks
Digium | Linux Kernel Developer

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

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


Re: [asterisk-users] Page() bumps user out of a call

2011-06-14 Thread Russ Meyerriecks

On 6/14/11 4:25 PM, Russ Meyerriecks wrote:

On 6/14/11 9:26 AM, Cassius Smith wrote:

Hello all,
I'm having a problem with my intercom function that I use for under-chin
paging. I'm running 1.6.2.13 on this server, and we use Linksys SPA-942's
for our general phones. I have a global defined which has all the SIP
channels concatenated together - this is ${ALL-PAGE-EXTS}.

The problem comes when a user is on the line, and someone else uses the
intercom function to page all extensions, the call in progress gets
disconnected. I'm wondering if there is a way to either:
1. dynamically figure out the subset of extensions that are not in a
call,
or
2. use some other function that will not bump a call?

Has anyone else run into this?

Thanks
Cassius

Here is my intercom context:

[intercom]
exten = s,1,Answer
exten = s,n,Playback(beep)
exten = s,n,Set(TIMEOUT(digit)=5)
exten = s,n,WaitExten(10)

exten = t,1,NoOp(timeout)
exten = t,n,Playback(sorry-youre-having-problemsgoodbye)
exten = t,n,Hangup()

exten = *,1,SIPAddHeader(Call-Info:sip:${SERVER_IP}\;answer-after=0)
exten = *,n,Page(${ALL-PAGE-EXTS}) ; add all your devices here

exten = _,1,SIPAddHeader(Call-Info:
sip:${SERVER_IP}\;answer-after=0) ; 4 digit extensions
exten = _,n,Dial(SIP/${EXTEN})


Hey Cassius!
Nice to hear from you, what crazy country are you deploying Asterisk in
now? You might want to checkout the DEVICE_STATE() function. Should be
able to build your ALL-PAGE-EXTS while leaving out the busy extensions.
Probably not the best solution, but the first one I thought of.



This may be a better solution, actually. Checkout example 1. It sets up 
a macro to handle the check for each extension.


http://www.voip-info.org/wiki/view/Asterisk+cmd+Page

--
Russ Meyerriecks
Digium | Linux Kernel Developer

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

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


Re: [asterisk-users] scratchy sound on TE410P

2010-11-12 Thread Russ Meyerriecks
On 11/11/10 11:06 PM, Carlos Chavez wrote:
 On Thu, 11 Nov 2010 20:08:09 -0600, Russ Meyerriecks wrote
 On 11/11/10 7:23 PM, Carlos Chavez wrote:

 I seem to be having the same problem with a new server.  I am using a
 TE220 with a VPM450 module.  Using Dahdi 2.4.0 and Asterisk 1.6.2.13 on
 a Dell server.  All calls to the outside have bad voice quality (echo
 and distortion).  Internal calls between extensions sound fine.

 Dahdi_main for Span 2 (20 days uptime).

 Span 2:
 FEC : 103:
 CEC : 0:
 CVC : 0:
 EBC : 0:
 BEC : 0:
 PRBS: 72:
 GES : 4054:

 Span 2: TE2/0/2 T2XXP (PCI) Card 0 Span 2 (MASTER) HDB3/CCS
 Timing slips: 1566

 With framing errors and slips it could be a timing issue.

 Let's see your /etc/dahdi/system.conf


 Here it is.
 # Span 2: TE2/0/2 T2XXP (PCI) Card 0 Span 2 (MASTER)
 span=2,1,0,ccs,hdb3

   I have a hunch your Errored Seconds are incrementing due to the 
timing slips. But it looks like you're configured to recover timing from 
the line properly. I'm uncertain as to what could cause this beyond a 
jittery trunk. The framing errors give evidence to support something is 
wrong with the trunk, as well.

   It might be worth getting with your service provider and running some 
loopback tests. You can put your digium card in a network facing 
loopback by using dahdi_maint as such:

dahdi_maint -s 2 --loopback networkline

This will allow your telco to run patterns towards your connection, for 
a while, to determine if there are any errors.

-- 
Russ Meyerriecks
Digium | Linux Kernel Developer

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] scratchy sound on TE410P

2010-11-12 Thread Russ Meyerriecks
On 11/12/10 10:44 AM, Jeff LaCoursiere wrote:


 On Thu, 11 Nov 2010, Russ Meyerriecks wrote:


 Yes, this is a snapshot after about 24 hours since I cleared the counters.
 I see what you mean - how can I have 76 seconds of errors but no bumped
 error counters.  I ran again just now:

 r...@vigw3:/etc/asterisk# dahdi_maint -s 1
 Span 1:
 FEC : 0:
 CEC : 0:
 CVC : 0:
 EBC : 0:
 BEC : 0:
 PRBS: 0:
 GES : 248:

 Here's to hoping that the error in error is the GES, and that actually I
 have no errors ;)

 Cheers,

 j


 Could you paste a cat of /proc/dahdi/1 for me here?


 Sure thing:

 r...@vigw3:/etc/asterisk# cat /proc/dahdi/1
 Span 1: TE4/0/1 T4XXP (PCI) Card 0 Span 1 (MASTER) B8ZS/ESF


Jeff,
   Hmm, I was expecting to see timing slips here. It looks like the 
framer is reporting something through GES that isn't exported elsewhere. 
I'll need to dig around for a bit to find it. You aren't having any 
audio quality issues are you?

-- 
Russ Meyerriecks
Digium | Linux Kernel Developer

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] scratchy sound on TE410P

2010-11-11 Thread Russ Meyerriecks
 On Tue, 9 Nov 2010, Daniel Tryba wrote:

 I am curious about the tool dahdi_maint... what do the various
 acronyms stand for?
Yea there seemed to be a bit of confusion here as well so I patched 
trunk with some more descriptive error counter labels :O)

 FEC : 0:
Framing Errors

 CEC : 0:
CRC Errors

 CVC : 0:
Code Violations

 EBC : 0:
E-Bit Counter

 BEC : 0:
 PRBS: 0:
Both of these were removed due to stale code

 GES : 76:
General Errored Seconds

Was this output a snapshot of your current system. Do you really have 
zeroed counters everywhere, but 76 errored seconds? If so, I'll probably 
need to investigate.

-- 
Russ Meyerriecks
Digium | Linux Kernel Developer

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] scratchy sound on TE410P

2010-11-11 Thread Russ Meyerriecks
On 11/11/10 5:44 PM, Jeff LaCoursiere wrote:


 On Thu, 11 Nov 2010, Russ Meyerriecks wrote:

 On Tue, 9 Nov 2010, Daniel Tryba wrote:

 I am curious about the tool dahdi_maint... what do the various
 acronyms stand for?
 Yea there seemed to be a bit of confusion here as well so I patched
 trunk with some more descriptive error counter labels :O)

 FEC : 0:
 Framing Errors

 CEC : 0:
 CRC Errors

 CVC : 0:
 Code Violations

 EBC : 0:
 E-Bit Counter

 BEC : 0:
 PRBS: 0:
 Both of these were removed due to stale code

 GES : 76:
 General Errored Seconds

 Nice!  Perfect.


 Was this output a snapshot of your current system. Do you really have
 zeroed counters everywhere, but 76 errored seconds? If so, I'll probably
 need to investigate.


 Yes, this is a snapshot after about 24 hours since I cleared the counters.
 I see what you mean - how can I have 76 seconds of errors but no bumped
 error counters.  I ran again just now:

 r...@vigw3:/etc/asterisk# dahdi_maint -s 1
 Span 1:
 FEC : 0:
 CEC : 0:
 CVC : 0:
 EBC : 0:
 BEC : 0:
 PRBS: 0:
 GES : 248:

 Here's to hoping that the error in error is the GES, and that actually I
 have no errors ;)

 Cheers,

 j


Could you paste a cat of /proc/dahdi/1 for me here?

-- 
Russ Meyerriecks
Digium | Linux Kernel Developer

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] scratchy sound on TE410P

2010-11-11 Thread Russ Meyerriecks
On 11/11/10 7:23 PM, Carlos Chavez wrote:

   I seem to be having the same problem with a new server.  I am using a
 TE220 with a VPM450 module.  Using Dahdi 2.4.0 and Asterisk 1.6.2.13 on
 a Dell server.  All calls to the outside have bad voice quality (echo
 and distortion).  Internal calls between extensions sound fine.

 Dahdi_main for Span 2 (20 days uptime).

 Span 2:
 FEC : 103:
 CEC : 0:
 CVC : 0:
 EBC : 0:
 BEC : 0:
 PRBS: 72:
 GES : 4054:

 Span 2: TE2/0/2 T2XXP (PCI) Card 0 Span 2 (MASTER) HDB3/CCS
   Timing slips: 1566

With framing errors and slips it could be a timing issue.

Let's see your /etc/dahdi/system.conf

-- 
Russ Meyerriecks
Digium | Linux Kernel Developer

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] cat /proc/zaptel/*

2010-04-13 Thread Russ Meyerriecks

On Apr 13, 2010, at 7:53 AM, Jaap Winius wrote:

 Hi all,
 
 On an Asterisk/Zaptel 1.4 system, one way to gather diagnostic info is:
 
 ~# cat /proc/zaptel/*
 Span 1: ZTHFC1 HFC-S PCI A Zaptel Driver card 0 [TE] (MASTER) 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 Zaptel Driver card 1 [TE] AMI/CCS
 
  4 ZTHFC2/0/1 Clear
  5 ZTHFC2/0/2 Clear
  6 ZTHFC2/0/3 HDLCFCS
 
 These are two HFC-S PCI A cards. But, what exactly does all of this mean?
 In particular:
 
 * Span - In telephony, what is the definition of this term?
 * MASTER - How is this relevant? Only for timing purposes?
 * Clear - Is this said because only B-channels use ISDN clear codes?
 * HDLCFCS - Why say this about D-channels? Why not just say HDLC?
 * (In use) - What does this mean and how is this state determined?
 * 1 ZTHFC1/0/1 Clear (In use) - What do each of these columns specify?
 
 Thanks,
 
 Jaap
 
 -- 
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello
 
 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Hi Jaap,
  Most of these questions are covered in the README in the base of our DAHDI 
driver directory. The most up-to-date readme is maintained by Tzafrir at 
http://docs.tzafrir.org.il/dahdi-linux/README.html

1) A span is a physical plug. It can either be a single channel analog port 
or a T1/E1 port with lots of channels.
2) MASTER is zaptel/dahdi's current source of timing for the entire system. 
This is what Asterisk will use to time meetme conferences.
3) Clear means that there is no signaling or anything on that channel, so the 
data is provided and can be read as is
4) It's the specific type of hdlc your hardware is using? You could source dive 
for more info
5) This means that asterisk is currently using the channel, probably determined 
by a file lock

---
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer




-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


[asterisk-users] Dahdi-linux Dahdi-tools 2.2.1.1 Release Announcement

2010-03-24 Thread Russ Meyerriecks
The Asterisk Development Team is pleased to announce the release of
DAHDI-Linux and DAHDI-Tools version 2.2.1.1.

DAHDI-Linux 2.2.1.1, DAHDI-Tools 2.2.1.1, and DAHDI-Linux-Complete
are available for immediate download at 
http://downloads.asterisk.org/pub/telephony/dahdi-linux
http://downloads.asterisk.org/pub/telephony/dahdi-tools
http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete

These releases contain wct4xxp driver support for Lantiq's updated Quadfalc 3.1 
T1/E1 framer chip.

For a full list of changes in these releases, please see the
ChangeLogs at 
http://svn.asterisk.org/svn/dahdi/linux/tags/2.2.1.1/ChangeLog and
http://svn.asterisk.org/svn/dahdi/tools/tags/2.2.1.1/ChangeLog

Issues found in these releases can be reported at
http://issues.asterisk.org

Thank you for your continued support of Asterisk!-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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