Have you tried setting this variable for the leg in question?<br><a href="http://wiki.freeswitch.org/wiki/Variable_ignore_display_updates">http://wiki.freeswitch.org/wiki/Variable_ignore_display_updates</a><br><br>-MC<br><br>
<div class="gmail_quote">On Fri, Feb 22, 2013 at 5:41 PM, Steven Schoch <span dir="ltr"><<a href="mailto:schoch+freeswitch.org@xwin32.com" target="_blank">schoch+freeswitch.org@xwin32.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">On Thu, Feb 21, 2013 at 3:27 PM, Brian West <span dir="ltr"><<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">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.</blockquote>
<div><br></div><div>I tried the following:</div><div><br></div><div> <extension name="local 7-digit"></div><div> <condition field="destination_number" expression="^([2-9]\d\d\d{4})$"></div>
<div> <action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/></div><div> <action application="set" data="effective_caller_id_name=${outbound_caller_name}"/></div>
<div> <action application="set" data="effective_callee_id_number=$1"/></div><div> <action application="set" data="effective_callee_id_name=${cidlookup(1${default_areacode}$1)}"/></div>
<div> <action application="bridge" data="sofia/gateway/flowroute/1${default_areacode}$1"/></div><div> </condition></div><div> </extension></div><div><br></div><div>
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.</div>
<div><br></div><div>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".</div><span class="HOEnZb"><font color="#888888">
<div><br></div><div>-- </div><div>Steve</div></font></span></div></div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br><a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br><br>