c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #11304
[Bug 697395] Re: set callerid agi need different quoting
By the way, I made the changes about UTF-8 in my dev branch :
lp:~akretion-team/+junk/asterisk_click2dial
I added a --ascii option for those who need to convert to ASCII, but it
shouldn't be necessary for Asterisk installations with SIP phones.
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/697395
Title:
set callerid agi need different quoting
Status in OpenObject Addons Modules:
New
Bug description:
We upgrade the module to the version which supports adaptation of the callerid (name, num) based upon data available in our OpenERP installation. We use asterisk 1.6 and had to change the script get_cid_name.py and replace the line:
sys.stdout.write('SET CALLERID "%s" <%s>\n' % (res_ascii, input_cid_number))
with
sys.stdout.write('SET CALLERID "%s<%s>"\n' % (res_ascii, input_cid_number))
Note the difference in the location of the quote. After that, everything works out pretty well.
Without this change the callerid (name) would be set properly, but the callerid(num) would be empty.
References