0% found this document useful (0 votes)
2K views3 pages

ss7 Installation CP

Uploaded by

Hari
The document describes the author's attempts to configure Asterisk with SS7 signaling by loading the libss7 module. Several issues were encountered: 1) Libss7.so failed to load into Asterisk due to registration errors 2) Editing the chan_dahdi.conf file to configure SS7 parameters was ignored on reload 3) Attempts to compile and load alternative SS7 modules like chan_ss7.so were unsuccessful due to undefined symbols 4) Downgrading DAHDI version caused kernel compatibility problems during compilation So in summary, the author was unable to successfully load an SS7 module into Asterisk to enable SS7 signaling functionality after encountering various errors.

Copyright:

© All Rights Reserved

Available Formats

Download as TXT, PDF, TXT or read online on Scribd
Download as txt, pdf, or txt
0% found this document useful (0 votes)
2K views3 pages

ss7 Installation CP

Uploaded by

Hari
The document describes the author's attempts to configure Asterisk with SS7 signaling by loading the libss7 module. Several issues were encountered: 1) Libss7.so failed to load into Asterisk due to registration errors 2) Editing the chan_dahdi.conf file to configure SS7 parameters was ignored on reload 3) Attempts to compile and load alternative SS7 modules like chan_ss7.so were unsuccessful due to undefined symbols 4) Downgrading DAHDI version caused kernel compatibility problems during compilation So in summary, the author was unable to successfully load an SS7 module into Asterisk to enable SS7 signaling functionality after encountering various errors.

Copyright:

© All Rights Reserved

Available Formats

Download as TXT, PDF, TXT or read online on Scribd
Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1/ 3

First I installed dahdi,libss7 and asterisk 13 in my fc32 setup - Installations

were successful but unable to load the libss7.so into the asterisk
I searched the internet and found that editing chan_dahdi.conf file (adding
signnalling =ss7 to that file) but the same error :

Command 'module load libss7.so ' failed.


[May 5 05:46:45] ERROR[554705]: loader.c:578 load_dlopen: Module 'libss7.so' did
not register itself during load
[May 5 05:46:45] WARNING[554705]: loader.c:1184 load_resource: Module 'libss7.so'
could not be loaded.

i tried to modify chan_dahdi.conf file (because in some sites they said that libss7
is loaded through chan_dahdi )

I added these in chan_dahdi.conf


signalling = ss7
; Variant of SS7 signaling:
; Options are itu and ansi
ss7type = itu
; All settings apply to linkset 1
linkset = 1
; Point code of the linkset
pointcode = 2
; Point code of node adjacent to this signaling link
; (Possibly the STP between you and your destination)
adjpointcode = 1
; Default point code that you would like to assign to
; outgoing messages (in case of routing through STPs,
; or using A links)
defaultdpc = 1
; What the MTP3 network indicator bits should be set to.
; Choices are national, national_spare, international,
; international_spare
networkindicator=international
; First signaling channel
sigchan = 16
; Begin CIC (Circuit indication codes) count with this number
cicbeginswith = 1
; Channels to associate with CICs on this linkset
channel = 1-15
; another cicbeginwith, so channel 16 is used for signalling

and got ::

localhost*CLI> core reload


[May 5 05:53:41] NOTICE[554746]: cdr.c:4494 cdr_toggle_runtime_options: CDR simple
logging enabled.
[May 5 05:53:41] WARNING[554746]: chan_dahdi.c:19382 process_dahdi: Ignoring any
changes to 'signalling' (on reload) at line 57.
[May 5 05:53:41] WARNING[554746]: chan_dahdi.c:19382 process_dahdi: Ignoring any
changes to 'ss7type' (on reload) at line 60.
[May 5 05:53:41] WARNING[554746]: chan_dahdi.c:19382 process_dahdi: Ignoring any
changes to 'linkset' (on reload) at line 62.
[May 5 05:53:41] WARNING[554746]: chan_dahdi.c:19382 process_dahdi: Ignoring any
changes to 'pointcode' (on reload) at line 64.
[May 5 05:53:41] WARNING[554746]: chan_dahdi.c:19382 process_dahdi: Ignoring any
changes to 'adjpointcode' (on reload) at line 67.
[May 5 05:53:41] WARNING[554746]: chan_dahdi.c:19382 process_dahdi: Ignoring any
changes to 'defaultdpc' (on reload) at line 71.
[May 5 05:53:41] WARNING[554746]: chan_dahdi.c:19382 process_dahdi: Ignoring any
changes to 'networkindicator' (on reload) at line 75.
[May 5 05:53:41] WARNING[554746]: chan_dahdi.c:19382 process_dahdi: Ignoring any
changes to 'sigchan' (on reload) at line 77.
[May 5 05:53:41] WARNING[554746]: chan_dahdi.c:19382 process_dahdi: Ignoring any
changes to 'cicbeginswith' (on reload) at line 79.
[May 5 05:53:41] ERROR[554746]: chan_dahdi.c:17857 build_channels: Unable to
reconfigure channel '1-15'
[May 5 05:53:41] WARNING[554746]: chan_dahdi.c:18064 process_dahdi: Channel '1-15'
failure ignored: ignore_failed_channels.
[May 5 05:53:41] WARNING[554746]: chan_dahdi.c:19382 process_dahdi: Ignoring any
changes to 'userbase' (on reload) at line 23.
[May 5 05:53:41] WARNING[554746]: chan_dahdi.c:19382 process_dahdi: Ignoring any
changes to 'vmsecret' (on reload) at line 31.
[May 5 05:53:41] WARNING[554746]: chan_dahdi.c:19382 process_dahdi: Ignoring any
changes to 'hassip' (on reload) at line 35.
[May 5 05:53:41] WARNING[554746]: chan_dahdi.c:19382 process_dahdi: Ignoring any
changes to 'hasiax' (on reload) at line 39.
[May 5 05:53:41] WARNING[554746]: chan_dahdi.c:19382 process_dahdi: Ignoring any
changes to 'hasmanager' (on reload) at line 47.
localhost*CLI> module load libss7.so
Unable to load module libss7.so
Command 'module load libss7.so ' failed.
[May 5 05:54:11] ERROR[554746]: loader.c:578 load_dlopen: Module 'libss7.so' did
not register itself during load
[May 5 05:54:11] WARNING[554746]: loader.c:1184 load_resource: Module 'libss7.so'
could not be loaded.

obs : for some reason loader is not registering the module


I tried the same with asterisk 11
I had problem in installing dahdi i downgraded the dahdi version and tried I had
some kernel compatibility issues

[root@localhost dahdi-linux-complete-2.1.0+2.1.0]# make


make -C linux all
make[1]: Entering directory '/home/Asterisk/dahdi-linux-complete-2.1.0+2.1.0/linux'
make -C /lib/modules/5.6.6-300.fc32.x86_64/build ARCH=x86_64
SUBDIRS=/home/Asterisk/dahdi-linux-complete-2.1.0+2.1.0/linux/drivers/dahdi
DAHDI_INCLUDE=/home/Asterisk/dahdi-linux-complete-2.1.0+2.1.0/linux/include
DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
make[2]: Entering directory '/usr/src/kernels/5.6.6-300.fc32.x86_64'
scripts/kconfig/conf --syncconfig Kconfig
Kconfig:34: can't open file "Documentation/Kconfig"
make[4]: *** [scripts/kconfig/Makefile:75: syncconfig] Error 1
make[3]: *** [Makefile:568: syncconfig] Error 2
make[2]: *** [Makefile:678: include/config/auto.conf.cmd] Error 2
make[2]: Leaving directory '/usr/src/kernels/5.6.6-300.fc32.x86_64'
make[1]: *** [Makefile:92: modules] Error 2
make[1]: Leaving directory '/home/Asterisk/dahdi-linux-complete-2.1.0+2.1.0/linux'
make: *** [Makefile:9: all] Error 2

I could not solve the problem

then i tried to install chan_ss7 in asterisk 13


chan_ss7 after changing some headers it installed with some warnings and created a
chan_ss7.so
when i tried to load that the asterisk crashed
then instead of compiling seperately I copied the chan_ss7 directly into the
channels folder and tried to compile
the asterisk itself did the compilation and gave a chan_ss7.so I tried to load it i
got this error

Unable to load module chan_ss7.so


Command 'module load chan_ss7.so ' failed.
[May 5 05:12:48] ERROR[362350]: loader.c:283 module_load_error: Error loading
module 'chan_ss7.so': /usr/lib/asterisk/modules/chan_ss7.so: undefined symbol:
n_links

then i tried to install libss7 as the same as chan_ss7 it didnot compile so i tried
to change the ss7.c (the main c file) chan_ss7.c and tried it compiled and created
a chan_ss7.so
but when i tried to load it showed the error:

localhost*CLI> module load chan_ss7.so


Unable to load module chan_ss7.so
Command 'module load chan_ss7.so ' failed.
[May 5 08:41:58] WARNING[612582]: loader.c:581 load_dlopen: Error loading module
'chan_ss7.so': /usr/lib/asterisk/modules/chan_ss7.so: undefined symbol:
mtp2_transmit
[May 5 08:41:58] WARNING[612582]: loader.c:1184 load_resource: Module
'chan_ss7.so' could not be loaded.

You might also like