Commit Graph

  • 48205f7b70 Add read rights on asterisk.server for group "Asterisk CallerID" Patch courtesy of Marcel van der Boom (HS-Development BV) Convert ACLs from XML format to CSV format. Alexis de Lattre 2013-05-05 02:42:38 +0200
  • b78b5436af Backport the 6.0 branch to OpenERP 5.0 and keep all features (I had to use several hacks !) Alexis de Lattre 2013-04-30 00:04:50 +0200
  • 23e6fa7427 Add encoding in the shell script get_cid_name_timeout.sh Remove an unused line of code. Move a line of code at the right place ! Alexis de Lattre 2013-04-17 09:32:49 +0200
  • 640cddab34 Add encoding in the shell script get_cid_name_timeout.sh Remove an unused line of code. Alexis de Lattre 2013-04-17 09:31:42 +0200
  • b2d701b32b [FIX] Forgot to remove a debug line. Alexis de Lattre 2013-04-15 17:12:55 +0200
  • 961c2a85c5 [FIX] error message when catching an exception from py-Asterisk... still have to fully understand this... Alexis de Lattre 2013-04-15 17:07:46 +0200
  • ec5d70238c Backport all new features/enhancements of the trunk branch to OpenERP 6.0. Alexis de Lattre 2013-04-15 17:01:48 +0200
  • 0c8a186f36 Remove Local/ from the list of chan types, because Originate doesn't work with Local/phonenumber. Alexis de Lattre 2013-04-15 08:46:08 +0200
  • 785cd21cf2 Update version number of the script get_cid_name.py, to make it easier to identify people who forgot to update it. Update year in copyright Alexis de Lattre 2013-04-12 22:10:51 +0200
  • b26a411541 Country prefix now has an intelligent default value. Just for fun, because I love the phonenumbers lib ! Alexis de Lattre 2013-04-12 22:01:13 +0200
  • 9e52016e20 The number of digits to match from the end of the phone number is now configurable. This code is now fully located in the asterisk_click2dial module (removed from the "get_cid_name.py" script). WARNING : if you upgrade your asterisk_click2dial module to this version, you should also update the script "get_cid_name.py" on your Asterisk server to this version. The imports now use the new openerp paths. Convert self.pool.get('obj') to self.pool['obj'] so that it crashes exactly where it should. Alexis de Lattre 2013-04-12 21:09:24 +0200
  • 7ee977832f Cosmetic changes. Alexis de Lattre 2013-03-21 22:08:24 +0100
  • 36a6909d0d Remove <field name="type">form/tree</field> in `ir.ui.view` model (deprecated in OpenERP 7.0) Alexis de Lattre 2013-02-06 13:42:51 +0100
  • d069452dab Add new module "asterisk_click2dial_crm_claim". This module adds a button "Open Related CRM Claims" on the "Open Calling Partner" wizard. Alexis de Lattre 2013-01-01 23:19:17 +0100
  • c6a7271def Update views to take advantage of the new styles provided by OpenERP 7.0. Alexis de Lattre 2013-01-01 22:46:04 +0100
  • 38c3ccb672 [FIX] res.partner.address -> res.partner Alexis de Lattre 2013-01-01 21:17:12 +0100
  • e8603f1b34 Add a country to "Your company" in demo data (required for this module). Alexis de Lattre 2013-01-01 15:35:22 +0100
  • 280709534d Add a country to "Your company" in demo data (required for this module). Alexis de Lattre 2013-01-01 15:22:37 +0100
  • 6465a0f345 In the wizards, Instead of creating a new record and opening it, I open a new form with the values. It's better when using the Web interface, because it avoids a click on "Edit". Alexis de Lattre 2013-01-01 15:01:21 +0100
  • db5a428277 In the wizards, Instead of creating a new record and opening it, I open a new form with the values. It's better when using the Web interface, because it avoids a click on "Edit". Alexis de Lattre 2013-01-01 12:54:30 +0100
  • 7855302227 Oups, fix my previous commit. Alexis de Lattre 2013-01-01 11:51:58 +0100
  • e7ae3d865d Add "resource" to demo data Add logo for asterisk_click2dial_crm Alexis de Lattre 2013-01-01 11:49:58 +0100
  • df1d12e643 Port to OpenERP 7.0 Add logo for the module asterisk_click2dial_crm Alexis de Lattre 2013-01-01 11:34:45 +0100
  • 3b135715d7 Remove the import of the socket lib, that we don't use any more. Alexis de Lattre 2012-12-23 23:33:16 +0100
  • 89aea17fe9 Add some exclusion on CallerID for which we don't query openerp or try to geolocate. Alexis de Lattre 2012-11-26 16:12:26 +0100
  • 602abe0639 Use py-asterisk from http://code.google.com/p/py-asterisk/ (up-to-date mercurial version required) instead of our own code Add a field 'resource' on res.users, which is used in "SIP/resource", instead of "SIP/internal_number", which was not correct. YOU NEED TO UPDATE YOUR DATA ! Alexis de Lattre 2012-11-20 23:08:00 +0100
  • b08fbfe04b Now use a PATH variable in get_cid_name_timeout.sh get_cid_name.py : don't update the CallerID name if there is already one present. Alexis de Lattre 2012-11-20 23:06:52 +0100
  • 36432f2c1a [FIX] open calling partner should work again. Alexis de Lattre 2012-10-04 16:35:59 +0200
  • be2d36c817 More debug and warning messages, to help a user in its debug. Alexis de Lattre 2012-10-04 10:13:22 +0200
  • 0343cc55e0 Add debug log, to help a user. Small code clean-up. Alexis de Lattre 2012-10-03 21:51:10 +0200
  • 66610e43c7 Display the country name only when it's not my own country. This make the option to display only the city useless IMHO, so I removed this option. Alexis de Lattre 2012-09-23 01:15:13 +0200
  • d907ba2e72 Add support for geolocalisation via the phonenumbers lib in the get_cid_name.py script. If you add --geoloc, the numbers that are not found in OpenERP will be geolocalized. Alexis de Lattre 2012-09-23 00:08:08 +0200
  • 94269758c5 Now uses the phonenumber lib to reformat numbers in "clean" format and store them in E.164 format. Start to modify the code to take advantage of this great lib. Thanks to Ludovic Gasc for pointing this lib to me during PyconFR 2012 in Paris ! Alexis de Lattre 2012-09-22 00:34:27 +0200
  • 299563f431 Add Local/ as possible channel type Alexis de Lattre 2012-09-14 10:43:50 +0200
  • 3007465487 Add Local/ as possible channel type Alexis de Lattre 2012-09-14 10:43:50 +0200
  • e0659b3cee Don't set readonly fields in the "open calling partner" wizard, to avoid calling default_get twice (and thus connect to asterisk twice) Make "open calling partner" work with Asterisk 1.4 (or it is IAX trunk ?) Alexis de Lattre 2012-07-31 13:03:58 +0200
  • 47a5ce21fa Fix crahes when using the Web interface (these crashes did not occur with the Gtk Client) Alexis de Lattre 2012-06-22 18:13:24 +0200
  • d0a008beb9 Patch courtesy of daemon dog : - add support for SCCP phones - adds dial_suffix to allow some tweaking for SCCP phones - move menu entry of asterisk servers to Settings >Configuration > Asterisk servers - strip (0) from phone number in all scenarios nodenet-1 2012-06-05 23:27:42 +0200
  • 4d246794bf Rename field propose_creation_crm_phonecall to context_propose_creation_crm_call in order to allow modification via the user's preferences. Alexis de Lattre 2012-06-04 00:37:33 +0200
  • 2545c13286 asterisk_click2dial_crm : - when you do a click2dial, it now triggers a wizard that proposes to create a CRM phone call (instead of directly creating the CRM phone call) - Add option on res_users for users who don't want to trigger the wizard when they do a click2dial - Add FR translation - update module description and module category Alexis de Lattre 2012-06-03 01:59:26 +0200
  • f369629f4c Port asterisk_click2dial_crm to version 6.1 : - code re-factoring - add "open CRM call" from the "open calling partner" wizard Alexis de Lattre 2012-06-02 09:57:44 +0200
  • 09018c30c1 Port the fix that I made in extra-6.0 revno 5804. Alexis de Lattre 2012-06-01 12:16:53 +0200
  • 7ec3d004df Port the fix that I made in extra-6.0 revno 5804. Alexis de Lattre 2012-06-01 12:16:53 +0200
  • df20123e89 [ADD] asterisk_click2dial_crm Raimon Esteve 2012-06-01 11:06:59 +0200
  • d57b50992b [ADD] asterisk_click2dial_crm Raimon Esteve 2012-06-01 11:06:59 +0200
  • 8257572891 Better error message. Alexis de Lattre 2012-05-28 23:24:58 +0200
  • 320d8de274 [FIX] avoid a crash when emptying "contact to update" Fix typo Alexis de Lattre 2012-05-28 22:58:50 +0200
  • d872a4fdbb Add 'variable' field on res.users New design of the pop-up "open calling partner" when the calling number is not found When calling number is not found, now also proposes to update an existing contact Update French translation Update module description Alexis de Lattre 2012-05-28 22:44:28 +0200
  • a6c2095d41 Update translation file. Update French translation. Update module description. Alexis de Lattre 2012-05-27 21:54:53 +0200
  • 5b5ae883b0 Works even if national_prefix is empty. Alexis de Lattre 2012-05-27 14:33:52 +0200
  • b3d0b3d24d Convert the phone number to international format before writing it on the new partner. Factorize code. Alexis de Lattre 2012-05-27 09:57:53 +0200
  • f49a94d14e Add logo that will appear in the list of modules in web client Alexis de Lattre 2012-05-27 00:08:34 +0200
  • 192fee1b00 Add user-specific alert-info option. Ability to have multiple alert-info options (separate them with '|'). Alexis de Lattre 2012-05-26 23:25:23 +0200
  • 3a01e63f36 For the feature "Open calling party", if the phone number is not in OpenERP, he proposes to create a new partner with this phone or mobile number. Alexis de Lattre 2012-05-24 23:50:37 +0200
  • a4d2a0caed Add 2 screenshots. Alexis de Lattre 2012-05-14 00:26:13 +0200
  • 8d0cc9c431 Improve (and fixes) the 'Open calling partner' function : better usability and less clicks Update the description. Alexis de Lattre 2012-05-14 00:07:36 +0200
  • a1327e3b6d Update the module description to add the new feature "open calling partner". Code clean-up. Alexis de Lattre 2012-05-10 00:58:49 +0200
  • 8e18303c24 Remove purchase menu entry, because it would require a dependancy on the 'purchase' module. Alexis de Lattre 2012-05-07 19:04:53 +0200
  • b1da5449be New feature : add wizard that opens the partner form of the calling party Alexis de Lattre 2012-05-07 02:46:41 +0200
  • 366e33437f [IMP] Better AGI script : - cleaner code - should avoid these Asterisk errors : utils.c ast_carefulwrite: write() returned error: Broken pipe Alexis de Lattre 2012-05-07 02:43:08 +0200
  • edcac477f5 [FIX] Fix issue in constraint function for res_users. Alexis de Lattre 2012-04-27 19:08:37 +0200
  • 18bd9cd847 [IMP] Better AGI script : - cleaner code - should avoid these Asterisk errors : utils.c ast_carefulwrite: write() returned error: Broken pipe Alexis de Lattre 2012-05-07 02:43:08 +0200
  • a418836638 [FIX] Fix issue in constraint function for res_users. Alexis de Lattre 2012-04-27 19:08:37 +0200
  • 2fd0523a76 Remove print. Alexis de Lattre 2012-04-18 10:11:38 +0200
  • ecc838c39f Add translations from extra-trunk Alexis de Lattre 2012-04-17 23:53:59 +0200
  • 2bacbe5af7 Convert to new logger API of OpenERP 6.1 Remove print Alexis de Lattre 2012-04-17 23:28:31 +0200
  • 2bf74f63e1 Cosmetic changes. Alexis de Lattre 2012-04-17 21:57:33 +0200
  • 5655017698 Large code cleanup : - now parses answers received from Asterisk and display errors to the user - now properly encodes the requests sent to Asterisk in ASCII (AMI doesn't support other charsets unfortunately) - required fields are now required=True - Single constraint function for all asterisk.server fields - Fields that shouldn't have non-ascii caracters are not validated if they have non-ASCII caracters (including CallerID) - clean-up error message code - if no Asterisk server is defined for a user, it takes the first Asterisk serve r defined - methods now always return something Alexis de Lattre 2012-04-17 00:14:20 +0200
  • 965389e5a9 Start to clean the networking code : . adds debug message . starts to better manage character encoding in the networking code... but I still need more info about AMI on this. Alexis de Lattre 2012-04-10 00:56:54 +0200
  • 233aa43769 Create a dedicated Tab in the res_users view. Larger phone field in res_partner_address (smaller 'dial' button) Alexis de Lattre 2012-04-06 01:15:26 +0200
  • b594b084dd Fallback to utf-8 if sys.stdout.encoding fails. Alexis de Lattre 2011-09-29 15:17:12 +0200
  • c80995b336 Add support for XML-RPC secure with SSL. Alexis de Lattre 2011-09-29 11:02:25 +0200
  • 5ab7197afe Changed author name to Akretion Changed view names Great solution (thanks to Sebastien for finding it !) to avoid having 2 different tree&form views for asterisk server. Alexis de Lattre 2011-05-02 16:57:37 +0200
  • 21435adf51 Avoid code duplication in views : the full tree/form view for Asterisk server now inherit from the tree/form view in the company form. Alexis de Lattre 2011-05-02 10:41:09 +0200
  • afa2462a4e [FIX] Wrong if condition fixed Thanks to Todd Johnson for pointing out this mistake. Alexis de Lattre 2011-04-03 00:03:54 +0200
  • b51f5b3476 [FIX] Base_contact also inherit the view base.view_partner_address_form1 and removes the "mobile" field, so I need to change the priority to this view too. Alexis de Lattre 2011-04-02 23:30:40 +0200
  • 60bacdda0a [FIX] Avoid a view conflict with the "base_contact" module by adding a priority on the res.partner view. Better handling of check functions when there are several ids. Alexis de Lattre 2011-04-02 22:57:59 +0200
  • b8d0baa473 Networking code is now IPv6-ready Alexis de Lattre 2011-01-13 01:19:51 +0100
  • ed232f3796 - Send CallerID to Asterisk as UTF-8 by default Accoring to my tests and the info I got, SIP phones support UTF-8 fine - Create a command line option to convert the name from UTF-8 to ASCII (-a) - add default parameter to the help message Alexis de Lattre 2011-01-07 00:04:04 +0100
  • 5ee8c2e585 [FIX] There shouldn't be any space between the name and the phone number in the callerID instruction to Asterisk. Patch courtesy of Marcel van der Boom. Thanks for your feedback ! Alexis de Lattre 2011-01-05 13:53:34 +0100
  • 7d2bdabf80 Update URL of the module documentation. Alexis de Lattre 2010-12-30 00:36:57 +0100
  • 27e9117c83 Better context handling Update in comments Alexis de Lattre 2010-12-29 19:43:08 +0100
  • 3f5715cb91 Add a group "Asterisk CallerID" decidated to the CallerID name lookup feature Update module description. Alexis de Lattre 2010-12-29 12:53:43 +0100
  • 252b52f8a6 Don't put the admin user by default, it's not a good example. Added a comment about the user rights. Alexis de Lattre 2010-12-29 12:19:38 +0100
  • f77d86d593 Add AGI script and its wrapper to manage timeout. Alexis de Lattre 2010-12-29 02:08:39 +0100
  • fdefb7b914 Much better function get_name_from_phone_number : - we now handle the fact that phone numbers may contain spaces or special chars such in OpenERP, which is often the case in real life - check input number Alexis de Lattre 2010-12-29 00:43:29 +0100
  • 8957a378bf First implementation of get_name_from_phone_number function Make phone and mobile fields searchable Took into account some pylint coding convention suggestions Alexis de Lattre 2010-12-28 22:58:56 +0100
  • d4f1a5f7a0 Check that the user has a callerID. Thanks to Bernat Brunet from NaN for pointing this out. Alexis de Lattre 2010-12-13 21:29:02 +0100
  • dde1a23510 Country_prefix is now a "required" field. Added "active" field on asterisk.server object. In order to access all the Asterisk servers, included the desactivated ones, I added a view dedicated to the object asterisk.server, which is accessible under Administration > Configuration. Alexis de Lattre 2010-11-15 16:44:45 +0100
  • 9f9d8a6021 - Add copyright headers in XML files - Convert the comments for the functions to the standard style Alexis de Lattre 2010-10-30 21:46:11 +0200
  • e6ff4c1d88 Make error messages displayed on screen translatable. Add French translation for these messages. Alexis de Lattre 2010-10-27 14:33:53 +0200
  • 8e1e375b8b [FIX] WaitTime parameter is now really taken into account In fact, it corresponds to the 'Timeout' instruction for the Asterisk Manager Alexis de Lattre 2010-10-07 19:39:23 +0200
  • 1aff391117 Vianney changed the name of the 'alert-info' field to 'alert_info'... but he also made the change in the name of the SIP header ! This commit reverts this mistake. Alexis de Lattre 2010-10-01 23:05:21 +0200
  • 83b1881ee1 Solved conflict. Alexis de Lattre 2010-10-01 22:53:22 +0200
  • d6db0aa211 - smaller "Dial" button on partner contact - option to allow the use of phone numbers in National format, as discussed with Albert. This option is on the definition of the server. -> required a large change of the reformat number process - added exact link to documentation in module description - some clean-up Alexis de Lattre 2010-10-01 22:44:14 +0200
  • 55b7d66b25 [REF] changed alert-info column into alter_info as Postgres might not accept it else vianneydc 2010-09-23 12:46:08 -0300
  • 760f4387c0 Initial import. Long life to the asterisk_click2dial module for OpenERP ! Alexis de Lattre 2010-09-22 21:42:48 +0200