As luck would have it, this exact issue is mentioned in chapter 1 of the FreeSWITCH Cookbook in the recipe entitled, "Advanced multiple endpoint routing with enterprise originate." While you click <a href="http://link.packtpub.com/nuIOlX">here</a> and pre-order your copy ;) I will give you the synopsis:<br>
<br>You MUST ignore early media when doing an enterprise originate. Therefore, to get ringback tone you'll need to set the ringback channel variable on the A leg. Your extension will end up looking something like this:<br>
<br><action application="set" data="ringback=${us-ring}"/><br><action application="bridge" data="<ignore_early_media=true>[leg_timeout=0][origination_caller_id_number=30]user/35@${domain_name}:_:[leg_timeout=0][origination_caller_id_number=30]user/31@${domain_name}"/><br>
<br>Note: when doing any kind of multiple endpoint originate, whether using the enterprise originate or just the comma-separated list of endpoints, it is 99.99% of the time necessary to ignore early media. Why? The answer to that question is eloquently stated in both chapters 5 and 8 of the first FreeSWITCH book. <a href="http://www.packtpub.com/freeswitch-1-0-6-build-robust-high-performance-telephony-systems/book">Check it out</a>. :)<br>
<br>-MC<br><br><div class="gmail_quote">On Wed, Feb 15, 2012 at 9:37 AM, Christian Benke <span dir="ltr"><<a href="mailto:benkokakao@gmail.com" target="_blank">benkokakao@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello!<br>
<br>
I have a question about ringback-tone when calling multiple<br>
destinations. When i call a single directory-user, i get a proper<br>
ringback-tone - but when i add a second user to the bridge-command,<br>
there's no more ringback-tone.<br>
<br>
This is not about early-media - the phones only send 180 Ringing and<br>
the ringtone is provided by FS.<br>
<br>
Shouldn't FS send a ringback-tone as soon as the first phone answers<br>
with 180? Or is this behaviour just as intended?<br>
<br>
I've attached sip-traces of both situations plus the respective extension.<br>
<br>
Best regards<br>
<span><font color="#888888">Christian</font></span><br>
</blockquote></div><br>