<div dir="ltr">If this is still an issue, please paste a log of FS going over this extension. This entire thread has been only speculation.<div><br clear="all"><div dir="ltr"><span style="font-family:Verdana,Arial,Helvetica,sans-serif"><span style="font-size:small">-Avi</span></span></div>


<br><br><div class="gmail_quote">On Fri, Jul 27, 2012 at 11:09 AM, Peter Olsson <span dir="ltr">&lt;<a href="mailto:peter.olsson@visionutveckling.se" target="_blank">peter.olsson@visionutveckling.se</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Is fix_cidnam_plus setting it&#39;s data inline? I think it must update the caller_id_name var inline, to make it possible to do a regex on that variable right afterwards in the dialplan.<br>


<br>
/Peter<br>
<br>
26 jul 2012 kl. 23:51 skrev &quot;Phil Quesinberry&quot; &lt;<a href="mailto:philq@qsystemsengineering.com">philq@qsystemsengineering.com</a>&lt;mailto:<a href="mailto:philq@qsystemsengineering.com">philq@qsystemsengineering.com</a>&gt;&gt;:<br>


<div class="im"><br>
<br>
If you put the $ at the end then it will try to match the entire string instead of just the beginning of it, which won’t work in this case.  Is there a way to match just the beginning of the string in FS?<br>
<br>
Thanks,<br>
<br>
- Phil<br>
<br>
You need a $ after &#39;lookup&#39; for it to be a regex.<br>
<br>
Brian Foster<br>
<br>
Endigo Computer LLC<br>
<br>
_____________________________________________<br>
From: Phil Quesinberry<br>
Sent: Thursday, July 26, 2012 3:59 PM<br>
</div>To: &#39;<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>&lt;mailto:<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>&gt;&#39;<br>


<div class="im">Subject: Setting effecting_caller_id_name<br>
<br>
And while I’m asking dumb questions…<br>
<br>
</div>When doing CNAM dips from <a href="http://opencnam.com" target="_blank">opencnam.com</a>&lt;<a href="http://opencnam.com" target="_blank">http://opencnam.com</a>&gt;, often you get a result of “Currently running a lookup for phone ‘xxxxxxxxxx’… on incoming calls, typically for wireless or other unknown name callers and I wanted to change that to “Wireless/Unknown”  Since caller_id_name is apparently read-only, I am attempting to set effective_caller_id_name.  I put the following in public.xml right below the “fix_cidnam_plus” entry, in other words after a CNAM lookup has been performed.<br>


<div class="im"><br>
   &lt;extension name=&quot;fix_currently_running&quot; continue=&quot;true&quot;&gt;<br>
<br>
      &lt;condition field=&quot;caller_id_name&quot; expression=&quot;^Currently running a lookup&quot;&gt;<br>
<br>
        &lt;action application=&quot;set&quot; data=&quot;effective_caller_id_name=Wireless/Unknown&quot;/&gt;<br>
<br>
      &lt;/condition&gt;<br>
<br>
    &lt;/extension&gt;<br>
<br>
If I crafted my regex properly, then it should be matching on the first part of the string and setting the variable appropriately.  Is ‘effective_caller_id_name’ the variable I should be setting?<br>
<br>
Many thanks,<br>
<br>
Phil Quesinberry<br>
<br>
Q Systems Engineering, Inc.<br>
<br>
Electronic Controls and Embedded Systems Development<br>
<br>
<a href="tel:%28410%29%20969-8002" value="+14109698002">(410) 969-8002</a><br>
<br>
<a href="http://www.qsystemsengineering.com" target="_blank">http://www.qsystemsengineering.com</a><br>
<br>
</div>!DSPAM:5011b86432763191115303!<br>
<div class="im">_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
</div><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>&lt;mailto:<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>&gt;<br>
<div class="im"><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>
Join Us At ClueCon - Aug 7-9, 2012<br>
<br>
FreeSWITCH-users mailing list<br>
</div><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>&lt;mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>&gt;<br>
<div class="im"><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>
<br>
</div>!DSPAM:5011b86432763191115303!<br>
<div class="HOEnZb"><div class="h5"><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>
Join Us At ClueCon - Aug 7-9, 2012<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>
</div></div></blockquote></div><br></div></div>