Re: [asterisk-users] dahdi kernel module

2017-07-30 Thread Greg Woods
On Sun, Jul 30, 2017 at 4:19 PM, Anthony Joseph Messina <
amess...@messinet.com> wrote:

>
>
> It looks like you're using F24, so you might be able to rebuild using the
> SRPMs https://messinet.com/pub/fedora/linux/updates/26/SRPMS/


Thanks very much for that. I've downloaded it, and when I get some free
time later this week, I'll try it out.

--Greg
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

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

Re: [asterisk-users] Moving call DAHDI from channel X to Y.

2017-07-30 Thread Steve Totaro
I remember seeing something like this a long time ago.  If memory serves me
correctly it was a problem at the physical layer and a couple of the PRI
cables got flipped and plugged into the wrong port.  I had to change the
configs since I didn't have physical access to the box.

Thanks,
Steve

On Sun, Jul 30, 2017 at 9:34 PM, Daniel Harper  wrote:

> I am seeing the in the asterisk logs that channels (PRI ISDN)  are
> being moved ..
>
> [Jul 29 16:31:48] VERBOSE[16125] logger.c: -- Moving call
> (DAHDI/57-1) from channel 57 to 58.
>
> I then see the moved channels with a "0:" in front of it.
>
> [Jul 29 16:31:48] VERBOSE[26691] logger.c: -- Hungup 'DAHDI/0:58-1'
>
> Any ideas why this could be happening?
>
> I believe these messages are coming from chan_dahdi.c and the
> "pri_fixup_principle" function.
>
> --
> Cheers,
>
> Daniel
>
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> Check out the new Asterisk community forum at: https://community.asterisk.
> org/
>
> New to Asterisk? Start here:
>   https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>
> 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 --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

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

[asterisk-users] Moving call DAHDI from channel X to Y.

2017-07-30 Thread Daniel Harper
I am seeing the in the asterisk logs that channels (PRI ISDN)  are
being moved ..

[Jul 29 16:31:48] VERBOSE[16125] logger.c: -- Moving call
(DAHDI/57-1) from channel 57 to 58.

I then see the moved channels with a "0:" in front of it.

[Jul 29 16:31:48] VERBOSE[26691] logger.c: -- Hungup 'DAHDI/0:58-1'

Any ideas why this could be happening?

I believe these messages are coming from chan_dahdi.c and the
"pri_fixup_principle" function.

-- 
Cheers,

Daniel

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

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


Re: [asterisk-users] dahdi kernel module

2017-07-30 Thread Anthony Joseph Messina
On Sunday, July 30, 2017 4:49:31 PM CDT Greg Woods wrote:
> Does anyone know if there are any plans to update the dahdi-linux kernel
> module code? It no longer compiles with recent kernels, and the last
> release of dahdi-linux appears to have been around March of 2016. I am
> currently running 4.6.3-300.fc24.x86_64 (on a Fedora system obviously) and
> the dahdi-linux-complete-2.11.1+2.11.1 release builds and runs under this
> kernel, but if I try to build it under any Fedora kernel more recent than
> this, I get:
> 
> [root@worldsys dahdi-linux-master]# make
> make -C drivers/dahdi/firmware firmware-loaders
> make[1]: Entering directory
> '/local/src/dahdi-linux-master/drivers/dahdi/firmware'
> make[1]: Leaving directory
> '/local/src/dahdi-linux-master/drivers/dahdi/firmware'
> make -C /lib/modules/4.11.12-100.fc24.x86_64/build
> SUBDIRS=/local/src/dahdi-linux-master/drivers/dahdi
> DAHDI_INCLUDE=/local/src/dahdi-linux-master/include DAHDI_MODULES_EXTRA=" "
> HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
> make[1]: Entering directory '/usr/src/kernels/4.11.12-100.fc24.x86_64'
>   CC [M]  /local/src/dahdi-linux-master/drivers/dahdi/dahdi-base.o
> /local/src/dahdi-linux-master/drivers/dahdi/dahdi-base.c: In function
> ‘dahdi_ioctl_iomux’:
> /local/src/dahdi-linux-master/drivers/dahdi/dahdi-base.c:5954:7: error:
> implicit declaration of function ‘signal_pending’
> [-Werror=implicit-function-declaration]
>if (signal_pending(current)) {
>^~
> cc1: some warnings being treated as errors
> scripts/Makefile.build:294: recipe for target
> '/local/src/dahdi-linux-master/drivers/dahdi/dahdi-base.o' failed
> make[2]: *** [/local/src/dahdi-linux-master/drivers/dahdi/dahdi-base.o]
> Error 1
> Makefile:1496: recipe for target
> '_module_/local/src/dahdi-linux-master/drivers/dahdi' failed
> make[1]: *** [_module_/local/src/dahdi-linux-master/drivers/dahdi] Error 2
> make[1]: Leaving directory '/usr/src/kernels/4.11.12-100.fc24.x86_64'
> 
> (This particular run was using the master download from github, but the
> results are the same if I try to build the 2.11.1+2.11.1  release from
> Digium's downloads site).
> 
> If I can't find a way around this, my only options are to junk a $600
> telephony card (I shudder to think how much it would cost to replace it now
> with one that has a maintained driver) or keep running a non-updateable
> kernel.
> 
> Thanks,
> --Greg

https://issues.asterisk.org/jira/browse/DAHLIN-354

I've patched my builds here:
https://messinet.com/rpms/browser/dahdi-linux-kmod/dahdi-linux-kmod.spec

It looks like you're using F24, so you might be able to rebuild using the 
SRPMs https://messinet.com/pub/fedora/linux/updates/26/SRPMS/


-- 
Anthony - https://messinet.com/ - https://messinet.com/~amessina/gallery
F9B6 560E 68EA 037D 8C3D  D1C9 FF31 3BDB D9D8 99B6


signature.asc
Description: This is a digitally signed message part.
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

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

[asterisk-users] dahdi kernel module

2017-07-30 Thread Greg Woods
Does anyone know if there are any plans to update the dahdi-linux kernel
module code? It no longer compiles with recent kernels, and the last
release of dahdi-linux appears to have been around March of 2016. I am
currently running 4.6.3-300.fc24.x86_64 (on a Fedora system obviously) and
the dahdi-linux-complete-2.11.1+2.11.1 release builds and runs under this
kernel, but if I try to build it under any Fedora kernel more recent than
this, I get:

[root@worldsys dahdi-linux-master]# make
make -C drivers/dahdi/firmware firmware-loaders
make[1]: Entering directory
'/local/src/dahdi-linux-master/drivers/dahdi/firmware'
make[1]: Leaving directory
'/local/src/dahdi-linux-master/drivers/dahdi/firmware'
make -C /lib/modules/4.11.12-100.fc24.x86_64/build
SUBDIRS=/local/src/dahdi-linux-master/drivers/dahdi
DAHDI_INCLUDE=/local/src/dahdi-linux-master/include DAHDI_MODULES_EXTRA=" "
HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
make[1]: Entering directory '/usr/src/kernels/4.11.12-100.fc24.x86_64'
  CC [M]  /local/src/dahdi-linux-master/drivers/dahdi/dahdi-base.o
/local/src/dahdi-linux-master/drivers/dahdi/dahdi-base.c: In function
‘dahdi_ioctl_iomux’:
/local/src/dahdi-linux-master/drivers/dahdi/dahdi-base.c:5954:7: error:
implicit declaration of function ‘signal_pending’
[-Werror=implicit-function-declaration]
   if (signal_pending(current)) {
   ^~
cc1: some warnings being treated as errors
scripts/Makefile.build:294: recipe for target
'/local/src/dahdi-linux-master/drivers/dahdi/dahdi-base.o' failed
make[2]: *** [/local/src/dahdi-linux-master/drivers/dahdi/dahdi-base.o]
Error 1
Makefile:1496: recipe for target
'_module_/local/src/dahdi-linux-master/drivers/dahdi' failed
make[1]: *** [_module_/local/src/dahdi-linux-master/drivers/dahdi] Error 2
make[1]: Leaving directory '/usr/src/kernels/4.11.12-100.fc24.x86_64'

(This particular run was using the master download from github, but the
results are the same if I try to build the 2.11.1+2.11.1  release from
Digium's downloads site).

If I can't find a way around this, my only options are to junk a $600
telephony card (I shudder to think how much it would cost to replace it now
with one that has a maintained driver) or keep running a non-updateable
kernel.

Thanks,
--Greg
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

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