<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. </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"><<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>></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 <<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>> wrote:<br>
<br>
> 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>
><br>
> -MC<br>
><br>
<br>
</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></div>