Thank you all for your replies<div><br></div><div>So if I understand well, for now, I have two solutions:</div><div><br></div><div>1/ check when the state is "answered" with events thrown by FS</div><div>2/ check the country code of the bleg and apply the correct ringtone</div>
<div><br></div><div>So, as Michael said, if you have any ideas, I'll be glad to test them.</div><div><br></div><div>Thanks a lot Michael and all of you for your efficiency :-)</div><div><br></div><div>Best regards<br>
<br><div class="gmail_quote">2011/7/11 Michael Collins <span dir="ltr"><<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br><br><div class="gmail_quote"><div class="im">On Mon, Jul 11, 2011 at 2:01 PM, Steven Ayre <span dir="ltr"><<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The issue isn't that you can't do that, you can.<br><br>The issue is that you can't do that at the same time as passing back the ringback from a bleg to an aleg, unless you generate the ringback yourself (you can't both handle the 18x and ignore it at the same time).<br>
</blockquote><div><br></div></div><div>Agreed, which is where we're currently stuck. The question is exactly *how* to generate ringback to the A leg when his B leg could be call anywhere in the world. The OP said he wanted the appropriate ringback. I suggested that he look at the target phone number, parse out the country code, and then supply the appropriate ringback value for that country. </div>
<div><br></div><div>If there are alternate solutions to this then by all means present them so that Mathieu can test drive them.</div><div>-MC</div><div><br></div></div>
<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></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>