<div dir="ltr">On Tue, Mar 12, 2013 at 11:14 AM, Steven Ayre <span dir="ltr">&lt;<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>&gt;</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">Don&#39;t forget to find some way to handle the race condition of the bridge ending before the cidlookup has finished, and to add a note on that when putting the info on the wiki.</blockquote>
<div><br></div><div style>The script ends with these lines:</div><div style><br></div><div>number = api:executeString(&quot;uuid_getvar &quot; .. uuid .. &quot; caller_id_number&quot;);</div><div>name = api:executeString(&quot;cidlookup &quot; .. number);</div>
<div>api:executeString(&quot;uuid_setvar &quot; .. uuid .. &quot; effective_caller_id_name &quot; .. name);</div><div style><br></div><div style>I&#39;m assuming that if the channel is destroyed while in the middle of the cidlookup, that the uuid_setvar call will simply fail.  The script will exit in either case.  Am I missing something?</div>
<div style><br></div><div style>-- </div><div style>Steve</div></div></div></div>