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

France:
A leg have to hear the ringtone of France
US:
A leg have to hear the ringtone of the US
England:
A leg have to hear the ringtone of England
Other countries:
same thing

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?
Is Freeswitch allow me to know if the call to the B leg is successful for a "connecting" state (and not "attempting" state) with ignore_early_media set to false?

Best regards

2011/7/7 Anthony Minessale <anthony.minessale@gmail.com>
try ignore_early_media=ring_ready or set ringback on a to ${us-ring}
and ignore_early_media=true

On Wed, Jul 6, 2011 at 6:44 PM, Mathieu Lautram
<lautram.mathieu@gmail.com> wrote:
> I know that when I'm using ignore early media the A leg can't hear ringing.
> But the fact is when I set ignore early media to false, I don't know if the
> call is successful for the attempting or for the connecting. What I would
> like to have is the state "successful" but only for the connecting (that's
> why I set ignore early media to true).
> The originate string I am using is:
> bgapi originate {ignore_early_media=true}sofia/external/12345@XXXXXX
> '&bridge( {ignore_early_media=true}sofia/external/2468@XXXXXXX'
> Thank you for your answer
>
> 2011/7/7 Michael Collins <msc@freeswitch.org>
>>
>> What is the originate string you are using? Also, if you are ignoring
>> early media then how is the A leg supposed to hear ringing unless you
>> specify the ringback tone to use?
>> -MC
>>
>> On Wed, Jul 6, 2011 at 9:52 AM, Mathieu Lautram
>> <lautram.mathieu@gmail.com> wrote:
>>>
>>> Hi all
>>> I'm facing an issue with originate. Here is the case:
>>> I do an originate to bridge A leg to B leg using bridge application.
>>> The A leg works perfectly but, when the B leg is called, I can't hear
>>> ringtone in the A leg.
>>> I set ignore_early_media to true.
>>> I would like to hear a ringtone without setting the ringback variable
>>> with the tone of my country.
>>> Is it possible to do that?
>>> Thank you in advance.
>>>
>>> --
>>> Mathieu LAUTRAM
>>> Application developer
>>>
>>> BJT Partners - FRANCE
>>> +33 1 79 75 99 60
>>> +33 6 61 59 07 25
>>>
>>> _______________________________________________
>>> Join us at ClueCon 2011, Aug 9-11, Chicago
>>> http://www.cluecon.com 877-7-4ACLUE
>>>
>>> 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
>>>
>>
>>
>> _______________________________________________
>> Join us at ClueCon 2011, Aug 9-11, Chicago
>> http://www.cluecon.com 877-7-4ACLUE
>>
>> 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
>>
>
>
>
> --
> Mathieu LAUTRAM
> Application developer
>
> BJT Partners - FRANCE
> +33 1 79 75 99 60
> +33 6 61 59 07 25
>
> _______________________________________________
> Join us at ClueCon 2011, Aug 9-11, Chicago
> http://www.cluecon.com 877-7-4ACLUE
>
> 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
>
>



--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
googletalk:conf+888@conference.freeswitch.org
pstn:+19193869900

_______________________________________________
Join us at ClueCon 2011, Aug 9-11, Chicago
http://www.cluecon.com 877-7-4ACLUE

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



--
Mathieu LAUTRAM
Application developer

BJT Partners - FRANCE
+33 1 79 75 99 60
+33 6 61 59 07 25