I am trying to get CID lookup to display on the phone’s display. I am using this code in the beginning of the public.xml dialplan:
<extension name="cid_number_cleanup" continue="true">
<condition field="caller_id_number" expression="^(?:\+)(\d+)$">
<action application="set" data="effective_caller_id_number=$1" inline="true"/>
</condition>
</extension>
<extension name="cid_name_cleanup" continue="true">
<condition field="caller_id_name" expression="^(?:\+)(\d+)$">
<action application="set" data="effective_caller_id_name=$1" inline="true"/>
</condition>
</extension>
<extension name="cid_lookup-country_code_1" continue="true">
<condition field="${module_exists(mod_cidlookup)}" expression="true"/>
<condition field="caller_id_name" expression="^(?:\+)(\d+)$|^$"/>
<condition field="caller_id_number" expression="^(?:\+1|1)?([2-9]\d\d[2-9]\d{6})$">
<action application="cidlookup" data="$1"/>
</condition>
</extension>
The lookup works – I can see the result in the cdr records. But it does not display on the phone’s display. When we get a call in with actual cnam info, that does display on the phone. The difference I think is when we get a cnam call, sip_from_display is filled with the name. When we do the cid lookup, it is not filled. I tried to set sip_from_display myself through channel variables in the bridge string as well as export but it is not working. Any ideas on how I can do this? Being able to control what is displayed on the screen would be ideal so I can let users know when they are getting a call direct to their extension or an ACD call.
TIA.
*******************************************
Brett Wilson
IT Department
Launch 3 Ventures, LLC
134 Myer Street
Hackensack, NJ 07601
Phone: 877.878.9134
Fax: 646.536.3866
Email: Brett.Wilson@launch3.net
AOL IM: Brett.Wilson@launch3.net
www.Launch3.net
www.Launch3telecom.com
******************************************* ![]()
![]()
![]()
![]()