Odoo Help


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.


Install Asterisk click2Dial and popup

on 5/16/15, 5:47 AM 1,105 views


I discover Odoo 8 !!

I installed the CRM Module on Odoo...

I have an Asterisk server and I would use the Click2Dial, the module to be used is this one ?? : https://www.odoo.com/apps/modules/8.0/asterisk_click2dial_crm/

Is that when an incoming call popup is displayed ? (Which module to be installed ?)

thank you :)

Shawn Varghese
On 5/16/15, 7:44 AM

The code for popup is in the base_phone_popup module


I used to get bundled as a dependency when I downloaded it from Odoo Apps page. But I guess you could get it from here as well: https://github.com/OCA/connector-telephony

Also, have a look at the documentation in the files. It has good detailed explanation of additional things you would require like the linux 'phonenumbers' package etc.


  1. The pip install commands are correct. Just fire them on the linux terminal on your Odoo server machine and the packages should get installed.

  2. Go to this path: https://github.com/OCA/connector-telephony

  3. On the right side, you will see a Download ZIP option. Click that to download all the required files onto your machine.

  4. Then just copy all the folders (asterisk_click2dial,base_phone_popup etc.) to your odoo/openerp/addons folder. 

  5. On your browser, navigate to Odoo, go to Settings and click on 'Update Modules List'. You should see all the modules now.

  6. Install base_phone_popup

I hope this helps. Let me know if you need more details.

hiii shawn i installed phonenumber library in my server. but when "Reformat Phone Numbers" wizard open and i click on reformat it gives me error like "Cannot reformat the phone number '+43 (0)1 - 60 123 55' to international format. Error message: global name 'phonenumbers' is not defined" i got this error even if i set right phonenumber. Please help me if you have any idea about my problem. Thanks, virali

on 1/1/16, 6:24 AM
On 5/16/15, 10:44 AM


I am a beginner ...

To install it :

pip install phonenumbers

pip install py-asterisk

Installing in Odoo the module "Click2Dial"

Git "base_phone_popup" on /openerp/addons/ folder ??


OK I have installed the addons. I have an error when I click on a phone number :

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 530, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 567, in dispatch
    result = self._call_function(**self.params)
  File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 303, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/openerp/service/model.py", line 113, in wrapper
    return f(dbname, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 300, in checked_call
    return self.endpoint(*a, **kw)
  File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 796, in __call__
    return self.method(*args, **kw)
  File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 396, in response_wrap
    response = f(*args, **kw)
  File "/var/lib/odoo/.local/share/Odoo/addons/8.0/base_phone/controller.py", line 33, in click2dial
    'click2dial_id': click2dial_id,
  File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 901, in proxy
    result = meth(cr, request.uid, *args, **kw)
  File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 241, in wrapper
    return old_api(self, *args, **kwargs)
  File "/var/lib/odoo/.local/share/Odoo/addons/8.0/asterisk_click2dial/asterisk_click2dial.py", line 408, in click2dial
    cr, uid, erp_number, context=context)
  File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 241, in wrapper
    return old_api(self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 336, in old_api
    result = method(recs, *args, **kwargs)
  File "/var/lib/odoo/.local/share/Odoo/addons/8.0/base_phone/base_phone.py", line 233, in convert_to_dial_number
    assert(country_code), 'Missing country on company'
AssertionError: Missing country on company


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)


Asked: 5/16/15, 5:47 AM
Seen: 1105 times
Last updated: 5/17/15, 11:52 AM