Alexis de Lattre
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
13 years ago
Alexis de Lattre
a6c2095d41
Update translation file.
Update French translation.
Update module description.
13 years ago
Alexis de Lattre
5b5ae883b0
Works even if national_prefix is empty.
13 years ago
Alexis de Lattre
b3d0b3d24d
Convert the phone number to international format before writing it on the new partner.
Factorize code.
13 years ago
Alexis de Lattre
f49a94d14e
Add logo that will appear in the list of modules in web client
13 years ago
Alexis de Lattre
192fee1b00
Add user-specific alert-info option.
Ability to have multiple alert-info options (separate them with '|').
13 years ago
Alexis de Lattre
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.
13 years ago
Alexis de Lattre
a4d2a0caed
Add 2 screenshots.
13 years ago
Alexis de Lattre
8d0cc9c431
Improve (and fixes) the 'Open calling partner' function : better usability and less clicks
Update the description.
13 years ago
Alexis de Lattre
a1327e3b6d
Update the module description to add the new feature "open calling partner".
Code clean-up.
13 years ago
Alexis de Lattre
8e18303c24
Remove purchase menu entry, because it would require a dependancy on the 'purchase' module.
13 years ago
Alexis de Lattre
b1da5449be
New feature : add wizard that opens the partner form of the calling party
13 years ago
Alexis de Lattre
366e33437f
[IMP] Better AGI script :
- cleaner code
- should avoid these Asterisk errors :
utils.c ast_carefulwrite: write() returned error: Broken pipe
13 years ago
Alexis de Lattre
a418836638
[FIX] Fix issue in constraint function for res_users.
13 years ago
Alexis de Lattre
ecc838c39f
Add translations from extra-trunk
13 years ago
Alexis de Lattre
2bacbe5af7
Convert to new logger API of OpenERP 6.1
Remove print
13 years ago
Alexis de Lattre
2bf74f63e1
Cosmetic changes.
13 years ago
Alexis de Lattre
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
13 years ago
Alexis de Lattre
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.
13 years ago
Alexis de Lattre
233aa43769
Create a dedicated Tab in the res_users view.
Larger phone field in res_partner_address (smaller 'dial' button)
13 years ago
Alexis de Lattre
b594b084dd
Fallback to utf-8 if sys.stdout.encoding fails.
13 years ago
Alexis de Lattre
c80995b336
Add support for XML-RPC secure with SSL.
13 years ago
Alexis de Lattre
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.
14 years ago
Alexis de Lattre
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.
14 years ago
Alexis de Lattre
afa2462a4e
[FIX] Wrong if condition fixed
Thanks to Todd Johnson for pointing out this mistake.
14 years ago
Alexis de Lattre
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.
14 years ago
Alexis de Lattre
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.
14 years ago
Alexis de Lattre
b8d0baa473
Networking code is now IPv6-ready
14 years ago
Alexis de Lattre
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
14 years ago
Alexis de Lattre
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 !
14 years ago
Alexis de Lattre
7d2bdabf80
Update URL of the module documentation.
14 years ago
Alexis de Lattre
27e9117c83
Better context handling
Update in comments
14 years ago
Alexis de Lattre
3f5715cb91
Add a group "Asterisk CallerID" decidated to the CallerID name lookup feature
Update module description.
14 years ago
Alexis de Lattre
252b52f8a6
Don't put the admin user by default, it's not a good example.
Added a comment about the user rights.
14 years ago
Alexis de Lattre
f77d86d593
Add AGI script and its wrapper to manage timeout.
14 years ago
Alexis de Lattre
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
14 years ago
Alexis de Lattre
8957a378bf
First implementation of get_name_from_phone_number function
Make phone and mobile fields searchable
Took into account some pylint coding convention suggestions
14 years ago
Alexis de Lattre
d4f1a5f7a0
Check that the user has a callerID.
Thanks to Bernat Brunet from NaN for pointing this out.
14 years ago
Alexis de Lattre
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.
14 years ago
Alexis de Lattre
9f9d8a6021
- Add copyright headers in XML files
- Convert the comments for the functions to the standard style
14 years ago
Alexis de Lattre
e6ff4c1d88
Make error messages displayed on screen translatable.
Add French translation for these messages.
14 years ago
Alexis de Lattre
8e1e375b8b
[FIX] WaitTime parameter is now really taken into account
In fact, it corresponds to the 'Timeout' instruction for the Asterisk Manager
14 years ago
Alexis de Lattre
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.
14 years ago
Alexis de Lattre
83b1881ee1
Solved conflict.
14 years ago
Alexis de Lattre
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
14 years ago
vianneydc
55b7d66b25
[REF] changed alert-info column into alter_info as Postgres might not accept it else
14 years ago
Alexis de Lattre
760f4387c0
Initial import.
Long life to the asterisk_click2dial module for OpenERP !
14 years ago