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

Click2dial module installation

By
Dries Coeman
on 2/19/13, 3:44 AM 6,215 views

Hi, i just installed openerp on a windows 7 machine for testing. I would like to install the click2dial module but there is no import button.

How do i import this module?

1
Yaroslav
On 2/19/13, 4:33 AM

On the site of the module author you have detailed step-by-step instructions on how to install it.

You can download the module from the OpenERP Apps site. Then install it using bazaar.

In case the link is broken here is a copy/paste from the site:

The OpenERP-Asterisk connector is made of 2 modules :

  • asterisk_click2dial : this is the main module, that everybody should install. This module has been fully developped by Akretion.

  • asteriskclick2dialcrm : an additionnal module that you should install only if you are interested in the additionnal CRM-specific features. This module has initially been developped by the Spanish company Zikzakmedia and later enhanced by Akretion.

These modules should be installed on OpenERP just like any OpenERP module. The source code of the module is available on the dedicated project OpenERP-Asterisk connector on Launchpad :

The version of OpenERP 6.1 is currently the main focus of development ; some features are only available in this version.

These modules require two additional Python libraries : phonenumbers and py-Asterisk. To install the library phonenumbers, run:

% sudo pip install phonenumbers

The pip command is the successor of easy_install and is the official tool to install Python libraries. If you don't have this tool on your system, install the corresponding package (package python-pip on Debian/Ubuntu systems).

To install the library py-Asterisk, you can't use the pip install command because you need a very recent version which is not yet in Pypi. In fact, you need to have this commit which is dated November 20th, 2012. So you should get the source from the project py-asterisk on Google code :

% hg clone https://code.google.com/p/py-asterisk/
% cd py-asterisk
% sudo python ./setup.py install

The hg command is part of the Mercurial version control system. If you don't have this tool on your system, install the corresponding package (package mercurial on Debian/Ubuntu systems).

Note : the module named asterisk in the extra-addons repository is not related to this connector. The asterisk_click2dial module doesn’t depend on it.

0
John Antasouras
On 2/26/14, 2:49 PM

Hi,

you can use ActiveState ActivePython for windows, to install py-asterisk. Download and install ActivePython2.7 community edition.

Run PyPM as administrator. In the command prompt, execute:

pip install phonenumbers

and

pip install py-asterisk

to install phonenumbers and Asterisk

Then, go to ActivePython installation directory, in /Lib/site-packages, and copy Asterisk and phonenumbers folders to OpenERP directory under /Server/server/

From the OpenERP install the 3 phonenumbers modules and then install Click2dial and click2dailCRM.

They should install without issues.

0
Mikael Bellina
On 8/8/13, 1:26 PM

Hello,

Could someone please explain step by step how to install theses two libraries on Windows.

Please !!!! I found how to install the module with bazaar but I'm stuck with the libraries !

Thanks

hi Mickael, Where are you stuck exactly ?

NIcolas Plée
on 8/8/13, 1:30 PM

Hello Nicolas, I have two problems.

First : I don’t know if I install a new version of Python, how to use it in OpenErp. Because there is some tuto (not a lot) on how to install librairies with python.

Second : I don’t khow to install theses two libraries with the existing python environment of OpenErp. I’m on windows 64. Thanks

Mikael Bellina
on 8/8/13, 1:32 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

1 follower(s)

Stats

Asked: 2/19/13, 3:44 AM
Seen: 6215 times
Last updated: 3/16/15, 8:10 AM