Update cidlookup.conf.xml
This commit is contained in:
parent
06bbc223fc
commit
f3cf2979ab
|
|
@ -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
|
||||
"/>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue