Have you tried setting this variable for the leg in question? http://wiki.freeswitch.org/wiki/Variable_ignore_display_updates -MC On Fri, Feb 22, 2013 at 5:41 PM, Steven Schoch < schoch+freeswitch.org@xwin32.com> wrote:
On Thu, Feb 21, 2013 at 3:27 PM, Brian West <brian@freeswitch.org> wrote:
You know you can do CNAM lookups while dialing and set those values and update the phone during the ringing phase. It puts Outgoing Call in there when it has no other information.
I tried the following:
<extension name="local 7-digit"> <condition field="destination_number" expression="^([2-9]\d\d\d{4})$"> <action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/> <action application="set" data="effective_caller_id_name=${outbound_caller_name}"/> <action application="set" data="effective_callee_id_number=$1"/> <action application="set" data="effective_callee_id_name=${cidlookup(1${default_areacode}$1)}"/> <action application="bridge" data="sofia/gateway/flowroute/1${default_areacode}$1"/> </condition> </extension>
This had one intended consequence in that it left the 7-digit number in the display, rather than replacing it with the 11-digit number, like it usually does, but setting the effective_called_id_name did not behave as expected.
What it did was change the name on the display to the CNAM, as expected, while it was ringing, but as soon as the remote party answered, the display changed again to "Outbound Call".
-- Steve
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org