Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

openerp-freeswitch-connector missing dependency ESL

By
James Utru
on 1/2/15, 8:06 PM 1,906 views

Has anyone here used the Openerp Freeswitch Connector. I am unable to locate a dependency called ESL. 

It appears it is dependent on an ESL module. The problem I am seeing is that I can't find any such module out there unless I install Freeswitch on the same server that Odoo is running on. I currently have FS on another server and Odoo on a separate one.

Can anyone assist me in this?

Thanks!

0
Zahin
On 2/1/16, 1:14 PM

Best to follow first

 apt-get install python-dev 

then 

git clone http://git@github.com/gurteshwar/freeswitch-esl-python

Cloning into 'freeswitch-esl-python'...

remote: Counting objects: 54, done.

remote: Total 54 (delta 0), reused 0 (delta 0)

Unpacking objects: 100% (54/54), done.

Checking connectivity... done.

root@solengize:~# cd freeswitch-esl-python

root@solengize:~/freeswitch-esl-python# python setup.py install


then

pip install gevent

ip install gevent_socketio.


All package works fine.

0

Med Said BARA

--Med Said BARA--
2664
| 5 5 7
Algeria
--Med Said BARA--
Med Said BARA
On 1/3/15, 7:20 AM

Here is the link to install ESL: https://github.com/gurteshwar/freeswitch-esl-python

0
James Utru
On 1/14/15, 1:20 AM

Thank you very much Med. Would you happen to know how to get it installed on Ubuntu 14.04? For some reason it refuses to install.

Here's the error below:

root@solengize:~# git clone http://git@github.com/gurteshwar/freeswitch-esl-python
Cloning into 'freeswitch-esl-python'...
remote: Counting objects: 54, done.
remote: Total 54 (delta 0), reused 0 (delta 0)
Unpacking objects: 100% (54/54), done.
Checking connectivity... done.
root@solengize:~# cd freeswitch-esl-python
root@solengize:~/freeswitch-esl-python# python setup.py install
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'pymodules'
  warnings.warn(msg)
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/freeswitchESL
copying freeswitchESL/__init__.py -> build/lib.linux-x86_64-2.7/freeswitchESL
copying freeswitchESL/ESL.py -> build/lib.linux-x86_64-2.7/freeswitchESL
running build_ext
building '_ESL' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/swig
creating build/temp.linux-x86_64-2.7/src
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -Iinclude/ -I/usr/include/python2.7 -c swig/esl_wrap.cpp -o build/temp.linux-x86_64-2.7/swig/esl_wrap.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
swig/esl_wrap.cpp:141:20: fatal error: Python.h: No such file or directory
 #include <Python.h>
                    ^
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
root@solengize:~/freeswitch-esl-python#

 

What is the error message ?

Med Said BARA
on 1/14/15, 8:11 AM

apt-get install python-dev, Add this resolve your problem

Zahin
on 2/1/16, 1:11 PM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

Asked: 1/2/15, 8:06 PM
Seen: 1906 times
Last updated: 2/1/16, 1:14 PM