I tried a multiline phone with your B's role.
if B accepts the 2nd call (answering, with 200 OK sent back to FS), B will be able to put either 1st call with C OR 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.
By active, I mean normal RTP with user's voice, inactive means B playing MOH to FS.

FS has no idea if RTP is user voice, or B's MOH.

There is a case may help you achieve what you'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's trying to do.

Again, it's B's function

rgds,

Loi Dang Thanh
Phone : +84.1224.735.448
Email : loi.dangthanh@gmail.com

On Wed, Dec 21, 2016 at 6:59 PM, Bipin Patel <bipin@xbipin.com> wrote:
hi,

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


Regards,
Bipin



-------- Original Message --------
Subject: Re: [Freeswitch-users] different ringtone when called party is already busy on another call
From: Lợi Đặng <loi.dangthanh@gmail.com>
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Date: 12/21/2016, 2:22:11 PM
guess It is the B'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.
in this case, I'm afraid FS will have no idea about what is happening in B.
what branch B is? did you try B's role with another phone?

rgds,

Loi Dang Thanh
Phone : +84.1224.735.448
Email : loi.dangthanh@gmail.com

On Wed, Dec 21, 2016 at 3:40 PM, Bipin Patel <bipin@xbipin.com> wrote:
hi,

i have been using FS in product on many raspberry pi'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.

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?


--
Regards,
Bipin




_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



_________________________________________________________________________
Professional FreeSWITCH Consulting Services: 
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org