Hello,
I followed your youtube video to set up caller ID from freepbx by sending query to odoo server
Everything is working properly, but when I have multiple DBs, I get db_not_specified as caller ID. What exactly could I be doing Wrong. Thanks in Advance
2 Answers
Hi!
asterisk_common/get_caller_name controller supports the following parameters:
number: calling number, strip + if comes with +;
db: Odoo's database name, can be omitted if you have one db or use dbfilter;
country: 2 letters country code, see https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
For Freepbx external callerid source you should specify the following:
Path: asterisk_common/get_caller_name
Query: number=[NUMBER]&db=your_db
Hope this helps.