<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Michael,<br>
    <br>
    I'm using Lua as I want to extend this to do things such as pull a
    user's phone number from LDAP (with lualdap), wait a couple of
    seconds before placing the outbound call in case it hits voicemail
    on the Mitel (so we don't connect an internal extension's voicemail
    to an external party) etc.<br>
    <br>
    I also found a simple originate rings both endpoints at once. I
    don't want the second endpoint to be called until the first is
    answered.<br>
    <br>
    Regardless, the Lua should work but it doesn't for me, and I'd like
    to know if I'm doing something wrong.<br>
    <br>
    Cheers<br>
    <br>
    Alex<br>
    <br>
    On 14/12/11 23:01, Michael Collins wrote:
    <blockquote
cite="mid:CAKzWOxW6K=k2MgRFT6zp++OxZggz=EGUsOcRvD4Ku-_SXebA4w@mail.gmail.com"
      type="cite">Why are you using Lua at all? It looks like a simple
      originate that you should be able to do as an API call.
      <div><br>
      </div>
      <div>-MC<br>
        <br>
        <br>
      </div>
      <pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>