This question has been flagged
10 Replies
40034 Views

Hi Friends,

I would like to know, how we can connect Odoo to Asterisk Elastix IP PBX, & how we can configure to show incoming popup as per the DID we set.


Your help will be highly appreciated.


Thanks in Advance.

Samad


 

Avatar
Discard
Best Answer

Hi, Sam.

1) You should download asterisk connector from github: https://github.com/OCA/connector-telephony

2)unzip it and copy to your addons folder (for me it /usr/lib/python2.7/dist-packages/openerp/addons)

3) install pip (aptitude install python-pip for ubuntu)

4) pip install phonenumbers

5) pip install py-Asterisk

6) Configure AMI-user (in your case: /etc/asterisk/manager_custom.conf)


[click2dial] ; This is the AMI login

secret = mypassword ; This is the AMI password

; We deny AMI access for everybody

deny = 0.0.0.0/0.0.0.0

; We accept AMI access for OpenERP server (192.168.0.42)

permit = 192.168.0.42/255.255.255.255

; We give the minimum access rights required for the click2dial feature

; For Asterisk 1.4.x, you need the “call” rights (for both click2dial and the 'open calling party' feature)

;read =

;write = call

; For Asterisk 1.6.x and 1.8.x, you need the “originate” rights (for click2dial)

; and the 'reporting' rights (for the 'open calling party' feature)

read =

write = originate,reporting


Make sure that you have AMI version 1.1-1.3, 2.6 is not supported


7) navigate to Settings - Technical - Telephony 

Create new asterisk server, configure it. 

And configure users at settings - users - telephony tab.


Also you can see official manual here: http://www.akretion.com/open-source-contributions/openerp-asterisk-voip-connector

Avatar
Discard

Check this video instruction for windows: http://www.youtube.com/watch?v=zPMr0lEMqpo

Best Answer

Hi Mikhail Komov, 

Can you guide me in setting up the asterisk with odoo?

Avatar
Discard
Best Answer

We have integration of Asterisk based pbx like FreePBx, issabel etc with Odoo all version with advances features like click to call, call pp up , call reporting and auto dialers,predictive dialer, Voice Broadcasting for for free .

Check out : http://astercti.techextension.com
You can download it from here
https://astercti.techextension.com/installation
If you are interested than reply me.

Regards
TechExtension Team
skype: tech.extension
Email: astercti@techextension.com

#campaign #autodialer #marketing #free #asterisk #odoo

Avatar
Discard
Best Answer

Here is the the most complete Odoo and Asterisk integration - https://apps.odoo.com/apps/modules/17.0/asterisk_plus/

It works with any version of Asterisk, event proprietary ones like Kerio Operator, Granstream PBX, Yalink PBX, etc. It has a built in WebRTC SIP phone.

It uses AMI connection for everything.


Avatar
Discard
Best Answer

Please help


1)I downloaded asterisk connector from github: https://github.com/OCA/connector-telephony

2)copied to /home/username/odoo-10/openerp/addons/

3) aptitude install python-pip

4) pip install phonenumbers

5) pip install py-Asterisk

After above steps, there is no directory with name as;       /etc/asterisk/

Avatar
Discard
Best Answer

Hello,

Me I have AMI 2.7.0 so I would like to know what to do so that asterisk connector can work with Odoo 8 on Ubuntu 16.04 LTS.


Thanks ans regards,

Avatar
Discard
Best Answer

help me How to Install & Configure Asterisk -Elastix PBX to Odoo

2)unzip it and copy to your addons folder (for me it /usr/lib/python2.7/dist-packages/openerp/addons)

3) install pip (aptitude install python-pip for ubuntu)

4) pip install phonenumbers

5) pip install py-Asterisk

is setting in server of odoo? or is setting in server asterisk. please answer for me.

Avatar
Discard
Best Answer

to" Unable to install module "base_phone" because an external dependency is not met: No module named phonesnumbers"

:

pip install phonenumbers

then restart




Avatar
Discard
Best Answer

I got everything installed but ... i can't connect. All the time getting error 111

Problem in the request from OpenERP to Asterisk. Here is the error message: [Errno 111] Connection refused

Any suggestions ?


Avatar
Discard
Author Best Answer

Thanks for your Valuable quick response.


I have installed Odoo 8 on Windows Server. Is it possible to connect Odoo with Asterisk ?

 However, I have unzip folder into Add On, i try to click on install on Asterisk_Click2dial, it gives error

" Unable to install module "base_phone" because an external dependency is not met: No module named phonesnumbers"

 How can i install successfully, Any suggestion or solution will be highly appreciated. 


-Thanks,

 Samad

Avatar
Discard

the same error i facing now. Sam did you overcome that error? Can you help me?

before going to the installation you must have read the requirements.txt in the connector-telephony folder. Use sudo pip install phonenumbers