<div dir="ltr"><div>I tried a multiline phone with your B&#39;s role.<br></div><div>if B accepts the 2nd call (answering, with 200 OK sent back to FS), B will be able to put <b>either</b> 1st call with C <b>OR</b> 2nd call A on hold, using its own MOH. B also has ability switching hold/unhold calls, but only 1 call active and 1 call inactive at a time.<br></div><div>By active, I mean normal RTP with user&#39;s voice, inactive means B playing MOH to FS.<br><br></div><div>FS has no idea if RTP is user voice, or B&#39;s MOH.<br></div><div><br></div><div>There is a case may help you achieve what you&#39;re trying to accomplish: B answer the 2nd call (sent 200 OK back to FS, as normal), then immediately modify the session with a re-INVITE, say to FS that 2nd call is put on-hold. Then FS can choose what to do since it knows what B&#39;s trying to do.<br><br></div><div>Again, it&#39;s B&#39;s function<br><br></div><div>rgds,<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div>Loi Dang Thanh<br></div>Phone : +84.1224.735.448<br></div>Email : <a href="mailto:loi.dangthanh@gmail.com" target="_blank">loi.dangthanh@gmail.com</a><br></div></div></div></div></div>
<br><div class="gmail_quote">On Wed, Dec 21, 2016 at 6:59 PM, Bipin Patel <span dir="ltr">&lt;<a href="mailto:bipin@xbipin.com" target="_blank">bipin@xbipin.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <font size="-1"><font face="Arial">hi,<br>
        <br>
        its a multi line phone so i guess B is accepting the call like a
        normal call which it should with call waiting enabled on it, if
        it sent busy then A would simply hear busy tone which i dont
        want, i want to make A hear a different ringtone while call is
        waiting so A can know using the tone that B is on another call
        and might or might not answer<br>
        <br>
        <br>
      </font></font>
    <div class="m_711019008265524296moz-signature">
      Regards,<br>
      Bipin<br>
      <br>
      <br>
      <hr>
    </div><div><div class="h5">
    <div class="m_711019008265524296moz-cite-prefix">-------- Original Message --------<br>
      Subject: Re: [Freeswitch-users] different ringtone when called
      party is already busy on another call<br>
      From: Lợi Đặng <a class="m_711019008265524296moz-txt-link-rfc2396E" href="mailto:loi.dangthanh@gmail.com" target="_blank">&lt;loi.dangthanh@gmail.com&gt;</a><br>
      To: FreeSWITCH Users Help
      <a class="m_711019008265524296moz-txt-link-rfc2396E" href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">&lt;freeswitch-users@lists.<wbr>freeswitch.org&gt;</a><br>
      Date: 12/21/2016, 2:22:11 PM<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>
              <div>guess It is the B&#39;s function, B is able to put the
                call in waiting instead of respond 486 to FS, when B is
                already a call with another party.<br>
              </div>
              in this case, I&#39;m afraid FS will have no idea about what
              is happening in B. <br>
            </div>
            what branch B is? did you try B&#39;s role with another phone?<br>
            <br>
          </div>
          rgds,<br>
        </div>
        <div class="gmail_extra"><br clear="all">
          <div>
            <div class="m_711019008265524296gmail_signature" data-smartmail="gmail_signature">
              <div dir="ltr">
                <div>
                  <div dir="ltr">
                    <div>
                      <div>Loi Dang Thanh<br>
                      </div>
                      Phone : +84.1224.735.448<br>
                    </div>
                    Email : <a href="mailto:loi.dangthanh@gmail.com" target="_blank">loi.dangthanh@gmail.com</a><br>
                  </div>
                </div>
              </div>
            </div>
          </div>
          <br>
          <div class="gmail_quote">On Wed, Dec 21, 2016 at 3:40 PM,
            Bipin Patel <span dir="ltr">&lt;<a href="mailto:bipin@xbipin.com" target="_blank">bipin@xbipin.com</a>&gt;</span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div bgcolor="#FFFFFF" text="#000000"> hi,<br>
                <br>
                i have been using FS in product on many raspberry pi&#39;s
                and other machines in PBX environment and everything
                works well except im stuck with a requirement which i
                cant seem to be able to get over.<br>
                <br>
                party A calls party B but party B is already in call
                with party C, so party A gets normal ringtone and party
                B gets call waiting beeps, how do we detect in FS that
                party B is already busy on another call and generate a
                different ringtone for party A which he hears so
                indirectly party A knows that party B is already on
                another call?<span class="m_711019008265524296HOEnZb"><font color="#888888"><br>
                    <br>
                    <br>
                    <div class="m_711019008265524296m_6132622689648418768moz-signature">-- <br>
                      Regards,<br>
                      Bipin<br>
                      <br>
                      <br>
                      <hr> </div>
                  </font></span></div>
              <br>
              ______________________________<wbr>______________________________<wbr>_____________<br>
              Professional FreeSWITCH Consulting Services:<br>
              <a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
              <a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions<wbr>.com</a><br>
              <br>
              Official FreeSWITCH Sites<br>
              <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
              <a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.o<wbr>rg</a><br>
              <a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
              <br>
              FreeSWITCH-users mailing list<br>
              <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswi<wbr>tch.org</a><br>
              <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a><br>
              UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/<wbr>freeswitch-users</a><br>
              <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
      <br>
      <fieldset class="m_711019008265524296mimeAttachmentHeader"></fieldset>
      <br>
      <pre>______________________________<wbr>______________________________<wbr>_____________
Professional FreeSWITCH Consulting Services: 
<a class="m_711019008265524296moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a class="m_711019008265524296moz-txt-link-freetext" href="http://www.freeswitchsolutions.com" target="_blank">http://www.<wbr>freeswitchsolutions.com</a>

Official FreeSWITCH Sites
<a class="m_711019008265524296moz-txt-link-freetext" href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a class="m_711019008265524296moz-txt-link-freetext" href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.<wbr>org</a>
<a class="m_711019008265524296moz-txt-link-freetext" href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>

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



<br>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" 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.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div></div>