Hello, I am trying to setup the caller id lookup module. I have the mod enabled and edited the config file. However if I run cidlookup status the URL: says null. I did set the URL parameter to my CRM and tested the URL it does work. I disabled everything else. I have restarted freeswitch and the whole server. Double checked the conf file. /usr/share/freeswitch/conf/vanilla/autoload_configs/cidlookup.conf.xml
I dont have the SQL Module activated. This is the trivial example from free switch which is what I used with my own URL inserted.
Code:
+OK
url: (null)
cache: true
cache-expire: 86400
curl-timeout: 2000
curl-warn-duration: 1000
odbc-dsn:
sql: 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 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}') LIMIT 1
citystate-sql: (null)
I dont have the SQL Module activated. This is the trivial example from free switch which is what I used with my own URL inserted.
Code:
<configuration name="cidlookup.conf" description="cidlookup Configuration">
<settings>
<param name="url" value="https://api.opencnam.com/v2/phone/+${caller_id_number}"/>
<param name="cache" value="false"/>
</settings>
</configuration>