<div dir="ltr">On Sat, Sep 7, 2013 at 4:08 PM, Markus Müller <span dir="ltr">&lt;<a href="mailto:freeswitchdev@priv.de" target="_blank">freeswitchdev@priv.de</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">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <div>Hi all,<br>
    </div><div class="im">
    <blockquote type="cite">
      <div style="font-size:10pt;font-family:arial,helvetica,sans-serif">hi Markus,<br>
        how do you determine if it&#39;s a complete number? Do you expect
        the outgoing ISDN channel to tell you that?<br>
      </div>
    </blockquote></div>
    Sorry that I don&#39;t have all details; I am not as familary as I want
    to with the ISDN protocols. But I know that each number goes one by
    one to the outgoing ISDN and then outgoint ISDN tells you back when
    you have reached a destination. If needed I can make a log when I
    have my Siemens Hipath placed behind my Freeswitch in NT mode; there
    you can see the numbers comming one by one.<div class="im"><br>
    <blockquote type="cite">
      <div style="font-size:10pt;font-family:arial,helvetica,sans-serif"><br>
        I also wonder what happens if you attach an ISDN-SIP gateway,
        like Patton. Will you have a new SIP message (which?) on every
        dialed digit?<br>
      </div>
    </blockquote></div>
    Normaly all the products do the &quot;overlap dialing&quot; crap, as mentioned
    in my first email. I don&#39;t know for sure but I think there is no
    alternative, especially if you make only SIP and not ISDN.<br>
    <br>
    No comments about my design suggestion?<br>
    <br></div></blockquote><div><br></div><div>Your design suggestion is pretty thin on details, so is hard to comment on that.</div><div><br></div><div>However, overall it does not sound like a good idea to me to try to bridge a call without going through the FreeSWITCH core.</div>
<div><br></div><div>I believe your best shot at getting this done and integrated would be to make it work with the existing bridge() application. This is a rough description of how to do it:</div><div><br></div><div>1. Send the call up from the signaling stack to FreeSWITCH immediately so the call is sent to the routing engine and you can call the bridge() application on an outbound FreeTDM channel.</div>
<div><br></div><div>2. The outbound channel sends the first call message (ie SETUP)</div><div><br></div>3. Relay the following digits as subsequent signaling messages from the inbound leg to the outbound leg. On the FreeTDM side using FTDM_SIGEVENT_COLLECTED_DIGIT, then enqueuing a freeswitch message such as SWITCH_MESSAGE_INDICATE_INFO, on the outgoing leg you would receive the indication and send the digits to the upstream provider.</div>
<div class="gmail_quote"><br></div><div class="gmail_quote">Note you described some sort of pass-thru overlap functionality, if we wanted to implement overlap dialing where FreeSWITCH takes the routing decision based on digits as received some extra effort is required to have XML re-evaluated for each digit received.<br class="">
<br>Cheers,</div><div class="gmail_quote"><br></div><div class="gmail_quote">Moy</div><div class="gmail_quote"><br clear="all"><div><table border="0" cellspacing="0" cellpadding="0" width="648" style="width:486.3pt;border-collapse:collapse">
<tbody><tr style="height:60.55pt"><td style="border-style:dotted none none;border-top-color:rgb(128,176,214);border-top-width:1pt;padding:1.45pt 5.75pt;height:60.55pt"><p style="margin:0px;line-height:15px"><b><span lang="PT-BR" style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(14,93,167)">Moises Silva<br>
</span></b><b><i><span lang="EN-CA" style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)">Manager, Software Engineering</span></i></b><b><span lang="PT-BR" style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(14,93,167)"></span></b></p>
<p style="margin:0px;line-height:15px"><span lang="EN-CA" style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(0,92,165)"><a href="mailto:msilva@sangoma.com" target="_blank">msilva@sangoma.com</a></span></p>
<p style="margin:0px;line-height:15px"><span lang="EN-CA" style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(0,92,165)">Sangoma Technologies</span></p><p style="margin:0px;line-height:15px"><span lang="EN-CA" style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(0,92,165)">100 Renfrew Drive, Suite 100, Markham, ON L3R 9R6 Canada</span><span lang="EN-CA" style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(255,192,0)"></span></p>
</td><td width="187" style="width:140.45pt;border-style:dotted none none;border-top-color:rgb(128,176,214);border-top-width:1pt;padding:1.45pt 5.75pt;height:60.55pt"><p style="margin:0px;line-height:15px"><span lang="EN-CA" style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(0,92,165)"><br>
t.   +1 800 388 2475 (N. America)</span></p><p style="margin:0px;line-height:15px"><span lang="EN-CA" style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(0,92,165)">t.   +1 905 474 1990 x128</span></p>
<p style="margin:0px;line-height:15px"><span lang="EN-CA" style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(0,92,165)">f.   +1 905 474 9223</span></p><p style="margin:0px;line-height:15px"><span lang="EN-CA" style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(31,73,125)"> </span></p>
</td><td width="149" rowspan="2" style="width:111.55pt;border-style:dotted none;border-top-color:rgb(128,176,214);border-top-width:1pt;border-bottom-color:rgb(128,176,214);border-bottom-width:1pt;padding:1.45pt 5.75pt;height:60.55pt">
<p style="margin:0px;line-height:15px"><a href="http://www.sangoma.com/contact?utm_source=signature&amp;utm_medium=email&amp;utm_campaign=email+signatures" target="_blank"><b><span style="color:rgb(31,73,125);text-decoration:none"><img border="0" width="96" height="15"></span></b></a><span style="color:rgb(31,73,125)"></span></p>
</td></tr><tr><td width="500" colspan="2" style="width:374.75pt;border-style:none none dotted;border-bottom-color:rgb(128,176,214);border-bottom-width:1pt;padding:1.45pt 5.75pt"><p style="margin:0px;line-height:15px"><a href="http://sangoma.com/products?utm_source=signature&amp;utm_medium=email&amp;utm_campaign=email%2Bsignatures" target="_blank"><span lang="PT-BR" style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)">Products</span></a><span lang="PT-BR" style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)"> | </span><a href="http://sangoma.com/solutions?utm_source=signature&amp;utm_medium=email&amp;utm_campaign=email%2Bsignatures" target="_blank"><span lang="PT-BR" style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)">Solutions</span></a><span lang="PT-BR" style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)"> | </span><a href="http://sangoma.com/about_us/events?utm_source=signature&amp;utm_medium=email&amp;utm_campaign=email%2Bsignatures" target="_blank"><span lang="PT-BR" style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)">Events</span></a><span lang="PT-BR" style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)"> | </span><a href="http://www.sangoma.com/contact?utm_source=signature&amp;utm_medium=email&amp;utm_campaign=email%2Bsignatures" target="_blank"><span lang="PT-BR" style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)">Contact</span></a><span lang="PT-BR" style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)"> | </span><a href="http://wiki.sangoma.com/?utm_source=signature&amp;utm_medium=email&amp;utm_campaign=email%2Bsignatures" target="_blank"><span lang="PT-BR" style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)">Wiki</span></a><span lang="PT-BR" style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)"> | </span><a href="http://www.facebook.com/pages/Sangoma-VoIP-Cards/43578453335?utm_source=signature&amp;utm_medium=email&amp;utm_campaign=email%2Bsignatures" target="_blank"><span lang="PT-BR" style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)">Facebook</span></a><span lang="PT-BR" style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)"> | </span><a href="http://www.twitter.com/sangoma?utm_source=signature&amp;utm_medium=email&amp;utm_campaign=email%2Bsignatures" target="_blank"><span lang="PT-BR" style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)">Twitter</span></a><span lang="PT-BR" style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)">`| | </span><a href="http://www.youtube.com/sangomatechnologies?utm_source=signature&amp;utm_medium=email&amp;utm_campaign=email%2Bsignatures" target="_blank"><span lang="PT-BR" style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)">YouTube</span></a><span style="font-size:8pt;line-height:12px;color:rgb(31,73,125)"></span></p>
</td></tr></tbody></table><p style="margin:0px"><br></p></div></div></div></div>