I've been trying to fix this one last thing in our Odoo 10 telephony, but can't get the get_cid_name_timeout.sh to work.
If I execute the script manually (execute get_cid_name_timeout.sh with parameters) with a phone number - it parses all correctly and the number lookup is successful. If I then call with the same phone number, the CallerID isn't sent to the phones.
So the get_cid_name_timeout.sh script seems to return '0' for some reason. I do need to mention that if I use the set_name_agi.py as-is, it throws an error on the 'epilog' section. If I use:
Hi all,
I've been trying to fix this one last thing in our Odoo 10 telephony, but can't get the get_cid_name_timeout.sh to work.
If I execute the script manually (execute get_cid_name_timeout.sh with parameters) with a phone number - it parses all correctly and the number lookup is successful. If I then call with the same phone number, the CallerID isn't sent to the phones.
Traceback of asterisk:
So the get_cid_name_timeout.sh script seems to return '0' for some reason. I do need to mention that if I use the set_name_agi.py as-is, it throws an error on the 'epilog' section. If I use:
parser = OptionParser(usage=usage, description=description)
instead of
parser = OptionParser(usage=usage, epilog=epilog, description=description)
...it executes ok.
Any help is greatly appreciated. Kind of in the dark here.