<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">This sounds like something very similar
      to RFC5898 (pre-connection testing) but I don't think it's
      implemented in sofia.<br>
      <br>
      John<br>
      <br>
      On 24/09/13 23:33, David Villasmil wrote:<br>
    </div>
    <blockquote
cite="mid:CAFGRPVp0TkjA2RY=AnJZDw-CEYk9cibKc8KA3QHctB1XGo6Sug@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hello,
        <div><br>
        </div>
        <div>I don't think this is something FS can do. Let me explain:</div>
        <div><br>
        </div>
        <div>We have FS-A and FS-B, between which are multiple SIP
          providers. We are checking that the providers between A and B
          don't divert calls to non-approved vendors. So what I'm doing
          is:</div>
        <div><br>
        </div>
        <div>When relaying the call from FS-A to the provider, I'm
          adding a SIP header with a unique ID, which is inserted into a
          DB table.&nbsp;</div>
        <div>When FS-B receives the call, i retrieve the header ID and
          look it up in the table and mark it as answered.</div>
        <div>On FS-A, when the call is answered, it looks up the ID and
          makes sure it has been marked as "answered" by FS-B.</div>
        <div>If it is NOT marked, FS-A MUST disconnect the call.</div>
        <div><br>
        </div>
        <div>I hope the explanation was clear, and if anyone has a
          better idea of how to do this, I'm all ears :)</div>
        <div><br>
        </div>
        <div>Thanks</div>
        <div><br>
        </div>
        <div>David</div>
        <div><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Tue, Sep 24, 2013 at 5:12 PM, Brian
          West <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Maybe if
            we understood more we could probably guide the end user in a
            better way to accomplish their goals!<br>
            <span class="HOEnZb"><font color="#888888"><br>
                /b<br>
              </font></span>
            <div class="HOEnZb">
              <div class="h5"><br>
                On Sep 24, 2013, at 9:46 AM, Michael Collins &lt;<a
                  moz-do-not-send="true"
                  href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>&gt;
                wrote:<br>
                <br>
                &gt; I'm with Brian on this one. The bridge app is epic.
                So the question is this: what are you trying to
                accomplish with all this Lua stuff that you can't do
                with a simple bridge?<br>
                &gt;<br>
                &gt; -MC<br>
                &gt;<br>
                <br>
              </div>
            </div>
            <br>
_________________________________________________________________________<br>
            Professional FreeSWITCH Consulting Services:<br>
            <a moz-do-not-send="true"
              href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
            <a moz-do-not-send="true"
              href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
            <br>
            FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
            <a moz-do-not-send="true" href="http://www.cudatel.com"
              target="_blank">http://www.cudatel.com</a><br>
            <br>
            Official FreeSWITCH Sites<br>
            <a moz-do-not-send="true" href="http://www.freeswitch.org"
              target="_blank">http://www.freeswitch.org</a><br>
            <a moz-do-not-send="true" href="http://wiki.freeswitch.org"
              target="_blank">http://wiki.freeswitch.org</a><br>
            <a moz-do-not-send="true" href="http://www.cluecon.com"
              target="_blank">http://www.cluecon.com</a><br>
            <br>
            FreeSWITCH-users mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
            <a moz-do-not-send="true"
              href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
              target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
            UNSUBSCRIBE:<a moz-do-not-send="true"
              href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
              target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
            <a moz-do-not-send="true" href="http://www.freeswitch.org"
              target="_blank">http://www.freeswitch.org</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_________________________________________________________________________
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>