Asterisk 13 with chan_motif & XMPP helping

Hello folks
I’m trying to have asterisk 13 to be built with chan_motif & XMMP for google voice .

for some reason i built asterisk many times but couldnt get those as modules loaded on asterisk .

0 modules loaded
ip-172-30-2-237CLI> module show like motif
Module Description Use Count Status Support Level
0 modules loaded
ip-172-30-2-237
CLI> module show like xmmp
Module Description Use Count Status Support Level
0 modules loaded
ip-172-30-2-237*CLI>

I’m wondering what packages needed pre installed before i do that

kind regards

They require the iksemel development library in order to be built.

I TRIED THIS :slight_smile:

cd /usr/src
wget https://iksemel.googlecode.com/files/iksemel-1.4.tar.gz
tar xf iksemel-.tar.gz
cd iksemel-

./configure
make
make install

but no luck ??!!

any help ?

i have centos 7

cheers

[root@ip-172-30-2-237 asterisk-13.7.0]# rpm -ql iksemel
/usr/lib64/libiksemel.so.3
/usr/lib64/libiksemel.so.3.1.1
/usr/share/doc/iksemel-1.4
/usr/share/doc/iksemel-1.4/AUTHORS
/usr/share/doc/iksemel-1.4/COPYING
/usr/share/doc/iksemel-1.4/ChangeLog
/usr/share/doc/iksemel-1.4/HACKING
/usr/share/doc/iksemel-1.4/NEWS
/usr/share/doc/iksemel-1.4/README
/usr/share/doc/iksemel-1.4/TODO
[root@ip-172-30-2-237 asterisk-13.7.0]# 
[root@ip-172-30-2-237 asterisk-13.7.0]# 
[root@ip-172-30-2-237 asterisk-13.7.0]#   yum remove iksemel
Loaded plugins: fastestmirror, langpacks
Resolving Dependencies
--> Running transaction check
---> Package iksemel.x86_64 0:1.4-2.el7.centos will be erased
--> Processing Dependency: iksemel = 1.4-2.el7.centos for package: iksemel-utils-1.4-2.el7.centos.x86_64
--> Processing Dependency: iksemel = 1.4-2.el7.centos for package: iksemel-devel-1.4-2.el7.centos.x86_64
--> Processing Dependency: libiksemel.so.3()(64bit) for package: iksemel-utils-1.4-2.el7.centos.x86_64
--> Processing Dependency: libiksemel.so.3()(64bit) for package: iksemel-devel-1.4-2.el7.centos.x86_64
--> Running transaction check
---> Package iksemel-devel.x86_64 0:1.4-2.el7.centos will be erased
---> Package iksemel-utils.x86_64 0:1.4-2.el7.centos will be erased
--> Finished Dependency Resolution

Dependencies Resolved

=======================================================================================================================
 Package               Arch           Version                    Repository                                       Size
=======================================================================================================================
Removing:
 iksemel               x86_64         1.4-2.el7.centos           @/iksemel-1.4-2.el7.centos.x86_64               112 k
Removing for dependencies:
 iksemel-devel         x86_64         1.4-2.el7.centos           @/iksemel-devel-1.4-2.el7.centos.x86_64          54 k
 iksemel-utils         x86_64         1.4-2.el7.centos           @/iksemel-utils-1.4-2.el7.centos.x86_64          73 k

Transaction Summary
=======================================================================================================================
Remove  1 Package (+2 Dependent packages)

Installed size: 239 k
Is this ok [y/N]: ^C^Cn
Exiting on user command

even the packages are installed but still i don’t see Xmpp & motif as modules ??!!

If you installed the development library after installing Asterisk, then the res_xmpp and chan_motif modules will not have been built.

You can see if Asterisk will build the module by running make menuselect and viewing the module dependencies.

Have you re-run the configure script after installing the dependencies?

Jinx! (and now there’s 20 characters)

hi guys indeed i have old asterisk installed .

then i installed the dependancies .

and now i installed asterisk other time
extracted it
and ran the commands for compilation from scratch like

cd /usr/src
tar xvfz asterisk-13-current.tar.gz
rm -f asterisk-13-current.tar.gz
cd asterisk-*
contrib/scripts/install_prereq install
./configure --libdir=/usr/lib64
contrib/scripts/get_mp3_source.sh
make menuselect

but still i see the motif & xmpp as (* ) not as XXX

thats mean not as module

I’m wondering if any other settings do i need ?

yes i did , but still give me those options as (*) not as (XXX)
!!

(*) means that the dependencies are met and it can be built. If you then do “make” and “make install” does it then build and install as expected?

no the modules are not exist in asterisk if it want XXX

any help ?

I don’t understand, in “make menuselect” are res_xmpp and chan_motif listed as (*) or (XXX)?

they are as *** not XXX

the problem is i have other server with centos 7 and asterisk 13 and i see it as XXX

i don’t remember what did i do to get it as XXX

thanks

(XXX) means dependencies are not met and it can’t be built. If it is XXX then you can’t use it.
(*) means that it can be built and used.

seems i was misunderstanding .

thanks for the clarification .

now i will build again the server .

just wondering how can i completely remove asterisk 13 and start asterisk compilation from scratch

cheers.

The “make uninstall” command will remove Asterisk.

well i had a fresh install setup
and here is result after the installation :slight_smile:
localhostCLI> module load chan_motif.so
Unable to load module chan_motif.so
Command ‘module load chan_motif.so’ failed.
[2016-08-28 12:25:01] ERROR[32687]: config_options.c:652 aco_process_config: Unable to load config file ‘motif.conf’
[2016-08-28 12:25:01] ERROR[32687]: chan_motif.c:2758 load_module: Unable to read config file motif.conf. Module loaded but not running.
localhost
CLI> module load res_xmpp.so
Unable to load module res_xmpp.so
Command ‘module load res_xmpp.so’ failed.
[2016-08-28 12:25:03] ERROR[32687]: config_options.c:652 aco_process_config: Unable to load config file 'xmpp.conf’
localhost*CLI>

i still cant load them

on the menuselct it was * not XX

not sure what is missing ??!!

localhostCLI> module show like xmp
Module Description Use Count Status Support Level
res_xmpp.so Asterisk XMPP Interface 0 Not Running core
1 modules loaded
localhost
CLI> module show like mot
Module Description Use Count Status Support Level
chan_motif.so Motif Jingle Channel Driver 0 Not Running core
1 modules loaded
localhost*CLI>

The error messages tell you why they can’t be loaded. The config files xmpp.conf and motif.conf could not be loaded. Have you copied them into place and configured them?

1 Like