I&#39;ve already tried those parameters and it doesn&#39;t work.<div>I can use ignore_early_medi=true and ringback=${us-ring} but what if my B leg is in France? Or in England?</div><div>The schema is like that:</div><div><br>

</div><div>France:</div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div>A leg have to hear the ringtone of France</div></blockquote>US:<blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;">

<div>A leg have to hear the ringtone of the US</div></blockquote>England:<blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><meta http-equiv="content-type" content="text/html; charset=utf-8">A leg have to hear the ringtone of England</div>

</blockquote>Other countries:<blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div>same thing</div><div><br></div></blockquote>Have I to check the destination to apply the correct ringtone or is there an other solution to let A leg hear the ringtone of the correct country?<div>

Is Freeswitch allow me to know if the call to the B leg is successful for a &quot;connecting&quot; state (and not &quot;attempting&quot; state) with ignore_early_media set to false?</div><div><br></div><div>Best regards<br>

<div><div><div><div><br><div class="gmail_quote">2011/7/7 Anthony Minessale <span dir="ltr">&lt;<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

try ignore_early_media=ring_ready or set ringback on a to ${us-ring}<br>
and ignore_early_media=true<br>
<br>
On Wed, Jul 6, 2011 at 6:44 PM, Mathieu Lautram<br>
<div><div></div><div class="h5">&lt;<a href="mailto:lautram.mathieu@gmail.com">lautram.mathieu@gmail.com</a>&gt; wrote:<br>
&gt; I know that when I&#39;m using ignore early media the A leg can&#39;t hear ringing.<br>
&gt; But the fact is when I set ignore early media to false, I don&#39;t know if the<br>
&gt; call is successful for the attempting or for the connecting. What I would<br>
&gt; like to have is the state &quot;successful&quot; but only for the connecting (that&#39;s<br>
&gt; why I set ignore early media to true).<br>
&gt; The originate string I am using is:<br>
&gt; bgapi originate {ignore_early_media=true}sofia/external/12345@XXXXXX<br>
&gt; &#39;&amp;bridge( {ignore_early_media=true}sofia/external/2468@XXXXXXX&#39;<br>
&gt; Thank you for your answer<br>
&gt;<br>
&gt; 2011/7/7 Michael Collins &lt;<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt; What is the originate string you are using? Also, if you are ignoring<br>
&gt;&gt; early media then how is the A leg supposed to hear ringing unless you<br>
&gt;&gt; specify the ringback tone to use?<br>
&gt;&gt; -MC<br>
&gt;&gt;<br>
&gt;&gt; On Wed, Jul 6, 2011 at 9:52 AM, Mathieu Lautram<br>
&gt;&gt; &lt;<a href="mailto:lautram.mathieu@gmail.com">lautram.mathieu@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Hi all<br>
&gt;&gt;&gt; I&#39;m facing an issue with originate. Here is the case:<br>
&gt;&gt;&gt; I do an originate to bridge A leg to B leg using bridge application.<br>
&gt;&gt;&gt; The A leg works perfectly but, when the B leg is called, I can&#39;t hear<br>
&gt;&gt;&gt; ringtone in the A leg.<br>
&gt;&gt;&gt; I set ignore_early_media to true.<br>
&gt;&gt;&gt; I would like to hear a ringtone without setting the ringback variable<br>
&gt;&gt;&gt; with the tone of my country.<br>
&gt;&gt;&gt; Is it possible to do that?<br>
&gt;&gt;&gt; Thank you in advance.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; --<br>
&gt;&gt;&gt; Mathieu LAUTRAM<br>
&gt;&gt;&gt; Application developer<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; BJT Partners - FRANCE<br>
&gt;&gt;&gt; +33 1 79 75 99 60<br>
&gt;&gt;&gt; +33 6 61 59 07 25<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; Join us at ClueCon 2011, Aug 9-11, Chicago<br>
&gt;&gt;&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; FreeSWITCH-users mailing list<br>
&gt;&gt;&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;&gt;&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;&gt;&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;&gt;&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Join us at ClueCon 2011, Aug 9-11, Chicago<br>
&gt;&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<br>
&gt;&gt;<br>
&gt;&gt; FreeSWITCH-users mailing list<br>
&gt;&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Mathieu LAUTRAM<br>
&gt; Application developer<br>
&gt;<br>
&gt; BJT Partners - FRANCE<br>
&gt; +33 1 79 75 99 60<br>
&gt; +33 6 61 59 07 25<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Join us at ClueCon 2011, Aug 9-11, Chicago<br>
&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
</div></div>--<br>
Anthony Minessale II<br>
<br>
FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br>
<br>
AIM: anthm<br>
<a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
<br>
FreeSWITCH Developer Conference<br>
<a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900<br>
<div><div></div><div class="h5"><br>
_______________________________________________<br>
Join us at ClueCon 2011, Aug 9-11, Chicago<br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Mathieu LAUTRAM<br>Application developer<br><br>BJT Partners - FRANCE<br>+33 1 79 75 99 60<br>+33 6 61 59 07 25<br>
</div></div></div></div></div>