I've already tried those parameters and it doesn'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 "connecting" state (and not "attempting" 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"><<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>></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"><<a href="mailto:lautram.mathieu@gmail.com">lautram.mathieu@gmail.com</a>> wrote:<br>
> I know that when I'm using ignore early media the A leg can't hear ringing.<br>
> But the fact is when I set ignore early media to false, I don't know if the<br>
> call is successful for the attempting or for the connecting. What I would<br>
> like to have is the state "successful" but only for the connecting (that's<br>
> why I set ignore early media to true).<br>
> The originate string I am using is:<br>
> bgapi originate {ignore_early_media=true}sofia/external/12345@XXXXXX<br>
> '&bridge( {ignore_early_media=true}sofia/external/2468@XXXXXXX'<br>
> Thank you for your answer<br>
><br>
> 2011/7/7 Michael Collins <<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>><br>
>><br>
>> What is the originate string you are using? Also, if you are ignoring<br>
>> early media then how is the A leg supposed to hear ringing unless you<br>
>> specify the ringback tone to use?<br>
>> -MC<br>
>><br>
>> On Wed, Jul 6, 2011 at 9:52 AM, Mathieu Lautram<br>
>> <<a href="mailto:lautram.mathieu@gmail.com">lautram.mathieu@gmail.com</a>> wrote:<br>
>>><br>
>>> Hi all<br>
>>> I'm facing an issue with originate. Here is the case:<br>
>>> I do an originate to bridge A leg to B leg using bridge application.<br>
>>> The A leg works perfectly but, when the B leg is called, I can't hear<br>
>>> ringtone in the A leg.<br>
>>> I set ignore_early_media to true.<br>
>>> I would like to hear a ringtone without setting the ringback variable<br>
>>> with the tone of my country.<br>
>>> Is it possible to do that?<br>
>>> Thank you in advance.<br>
>>><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>
>>><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>
>>><br>
>><br>
>><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>
>><br>
><br>
><br>
><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>
><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>
><br>
><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>