treveradams / openerp-freeswitch-connector

A connector to integrate FreeSWITCH and OpenERP/Odoo
GNU Affero General Public License v3.0
13 stars 11 forks source link

Outbound Click2Dial Timing Out and No Automatic Popup for Incoming Calls #2

Open abrownjr opened 9 years ago

abrownjr commented 9 years ago

Trever,

Thank you very much for creating this functionality. It's something I've been seeking for many months (particularly because I'm not a developer) so I'm very grateful.

I was able to get the various modules installed and when I made incoming calls, I was able to click the "Open Caller" link and see the popup window with the caller's information. However, I'm having two issues:

  1. When I click on "Dial" link for a contact, my desk phone rings but the external call is never made. It just times out (the OpenERP windows goes grey with a timer icon). Do you know what might be causing this?
  2. I'm having trouble getting the automatic pop-up to work for incoming calls. Would you be willing to provide step-by-step instructions on how to get that to work? I've testing the functionality without the "patches-for-external" as well as with them and neither works for me. I'm using Apache 2.2 with the mod_proxy_wstunnel but I'm not too sure that's working. What version of Apache did you use to get this working? I've also tried the apache config the way you specified it as well as the way the developer of the web_socketio program, Jean-Sebastien recommended it and nothing is working for me.

Any help you can give would be greatly appreciated.

Alex

I live to serve

abrownjr commented 9 years ago

Trever,

I was able to resolve issue number 1. I had the wrong context in the FreeSWITCH server configuration. Once I put the right context in, click2dial worked perfectly.

Still need help with issue number 2.

Thanks again!

treveradams commented 9 years ago

On 2/13/2015 3:25 PM, abrownjr wrote:

Trever,

I was able to resolve issue number 1. I had the wrong context in the FreeSWITCH server configuration. Once I put the right context in, click2dial worked perfectly.

Still need help with issue number 2.

Thanks again!

— Reply to this email directly or view it on GitHub https://github.com/treveradams/openerp-freeswitch-connector/issues/2#issuecomment-74338000.

I am sorry for the very belated response. I have been out of communication for a while.

The popup doesn't work out of the box. Two of the scripts, I believe, are the original asterisk versions. There is an EXAMPLE script that isn't what I want it to be yet.

I am starting to look at this again, but the truth is the asterisk version authors are reworking theirs and have version 8 support working. I will be trying to get them to merge my code or help me rework it so that they can merge. If you are still interested, I will help you get up with the example.

Trever

treveradams commented 9 years ago

The last few commits should fix all of your issues.

jacksolutions commented 9 years ago

i have installed this this repo all the modules on odoo v8, i have freeswitch running fine and python ESL installed and when i test the connection it says "connection successful" but i dont see any "dial" button anywhere not in CRM or HR or anywhere.. all the settings are enabled.

can you please help what i am doing wrong?

treveradams commented 9 years ago

I am afraid I don't have Odoo setup (only OpenERP). It either sounds like you don't have the click2dial modules installed or that they are somehow incompatible with Odoo v8. Do the logs show anything about any of the modules?

jacksolutions commented 9 years ago

i have checked the logs but it doesn’t show or throw any errors, it just doesnt show the "dial" button. what could be wrong? any suggession? solution?

jacksolutions commented 9 years ago

it seems to me this repo is not made for "Automatic Popup for Incoming Calls" yet, how the sip extensions that we add in to odoo users will get register in freeswitch? 2) under the scripts folder file name "get_caller_name.py" we have set it up accordingly, even mod_cidlookup is calling that script but that script is just for "getting caller id name" it is not notifying anything for the popup. 3) socket io is not supported in odoo so i think we dont need the patch for it for the phone popup. even asterisk repo is not using any web socket io.

so now my question, for the phone popup to automatically trigger, do we need to do any extra development, is those modules are half implemented? or are we missing something here? cause freeswitch logs says "user not registered" when we do inbound call to odoo. let me know if i am not clear yet!

treveradams commented 8 years ago

I am curious if you have tried the latest version. This should be fixed.

treveradams commented 8 years ago

jacksolutions I do have a version that may fix your problem. Can you try the freeswitch 8.0 branch at https://github.com/treveradams/connector-telephony/? I am trying to get the modules cleaned up and merged with the original (connector-telephony), so most of my work is being done on those branches. I would like to know if you have tried that and if it fixes the problem.

treveradams commented 8 years ago

Alex, can you also try the latest code in https://github.com/treveradams/connector-telephony/ freeswitch 7.0 or 8.0 (the version is the version of Odoo/OpenERP). I am very sorry for the late response. The last year has kept me away from this project.