Alexis de Lattre
6d92318bd0
Add support for update of the name on OUTGOING calls (for far, it was only possible on incoming calls).
10 years ago
Alexis de Lattre
09b4feacee
Very large changes in the structure of the project :
- move more asterisk-independant code to base_phone module and create new asterisk-independant modules
- rename module asterisk_popup to base_phone_popup
- add ability to get callerid names not only from partners, but also from leads, employees, applicants, etc...
- same for auto pop-up : not only for partners, but also for leads, employees, etc...
10 years ago
Alexis de Lattre
f34cf339cf
Long-awaited feature : automatic pop-up on incoming calls in the OpenERP Web interface. Special thank to Jean-Sébastien Suzanne for his collaboration on this new feature.
11 years ago
Alexis de Lattre
41fcd5f81c
Update my script to make it work with the latest versions of the phonenumbers lib.
11 years ago
Alexis de Lattre
4a0c55c400
FIX to make the script work with the latest version of the phonenumbers lib
11 years ago
Alexis de Lattre
640cddab34
Add encoding in the shell script get_cid_name_timeout.sh
Remove an unused line of code.
12 years ago
Alexis de Lattre
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
12 years ago
Alexis de Lattre
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.
12 years ago
Alexis de Lattre
38c3ccb672
[FIX] res.partner.address -> res.partner
12 years ago
Alexis de Lattre
89aea17fe9
Add some exclusion on CallerID for which we don't query openerp or try to geolocate.
12 years ago
Alexis de Lattre
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.
12 years ago
Alexis de Lattre
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.
12 years ago
Alexis de Lattre
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.
Thanks to Ludovic Gasc for making me discover this great "phonenumbers" lib.
12 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
2bf74f63e1
Cosmetic changes.
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
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
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