mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-02-22 19:06:37 +00:00
Update cidlookup.conf.xml
This commit is contained in:
@@ -17,9 +17,9 @@
|
||||
|
||||
<!-- comment out sql to not setup a database (directory) lookup -->
|
||||
<param name="sql" value="
|
||||
SELECT trim(v_contacts.contact_name_given || ' ' || v_contacts.contact_name_family || ' (' || v_contacts.contact_organization || ')') AS name, v_contact_phones.phone_number AS number
|
||||
SELECT trim(concat(v_contacts.contact_name_given, ' ',v_contacts.contact_name_family,' (',v_contacts.contact_organization,')')) AS name, v_contact_phones.phone_number AS number
|
||||
FROM v_contacts, v_contact_phones
|
||||
WHERE v_contact_phones.contact_uuid = v_contacts.contact_uuid AND (v_contact_phones.phone_number = '${caller_id_number}' OR v_contact_phones.phone_number = '1${caller_id_number}')
|
||||
WHERE v_contact_phones.contact_uuid = v_contacts.contact_uuid AND v_contact_phones.phone_number = '${caller_id_number}'
|
||||
LIMIT 1
|
||||
"/>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user