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: <mailto:Brett.Wilson@launch3.net> Brett.Wilson@launch3.net AOL IM: <mailto:Brett.Wilson@launch3.net> Brett.Wilson@launch3.net <http://www.launch3.net/> www.Launch3.net <http://www.launch3telecom.com/> www.Launch3telecom.com ******************************************* <http://launch3telecom.blogspot.com/> Description: Description: Description: Blogger-logo <http://www.facebook.com/pages/Launch-3-Telecom/165610820178720> Description: Description: Description: FaceBook-Logo <https://twitter.com/launch3telecom> Description: Description: Description: Twitter-Logo <https://plus.google.com/102713212642017290959> Description: Description: Description: GPlus-Logo
participants (1)
-
Brett Wilson