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